Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(191)

Issue 14126011: Copy Bitwriter to generate PNaClBitwriter. (Closed)

Created:
7 years, 8 months ago by Karl
Modified:
7 years, 8 months ago
CC:
native-client-reviews_googlegroups.com
Base URL:
http://git.chromium.org/native_client/pnacl-llvm.git@master
Visibility:
Public.

Description

Copy Bitwriter to generate PNaClBitwriter. Copy classes for LLVM BitcodeWriter into a PNaCL subdirectory, to create a PNaCL version. Renames classes/methods to include PNaCl prefix so that they don't conflict with the LLVM BitcodeWriter. Also removed experimental support for use-list order preservation. BUG=https://code.google.com/p/nativeclient/issues/detail?id=3405 Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-llvm.git;a=commit;h=5712db9

Patch Set 1 #

Total comments: 8

Patch Set 2 : Change file names to use NaCl instead of PNaCl #

Total comments: 42

Patch Set 3 : Fixed nits suggested by dschuff #

Patch Set 4 : Add fixes suggested by Jan. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+256 lines, -222 lines) Patch
A + include/llvm/Bitcode/NaCl/NaClBitstreamWriter.h View 1 2 3 4 chunks +6 lines, -6 lines 0 comments Download
A include/llvm/Bitcode/NaCl/NaClReaderWriter.h View 1 2 3 1 chunk +29 lines, -0 lines 0 comments Download
M lib/Bitcode/CMakeLists.txt View 1 1 chunk +1 line, -0 lines 0 comments Download
M lib/Bitcode/LLVMBuild.txt View 1 1 chunk +1 line, -1 line 0 comments Download
M lib/Bitcode/Makefile View 1 1 chunk +1 line, -1 line 0 comments Download
A + lib/Bitcode/NaCl/CMakeLists.txt View 1 1 chunk +0 lines, -1 line 0 comments Download
A + lib/Bitcode/NaCl/LLVMBuild.txt View 1 2 3 2 chunks +4 lines, -4 lines 0 comments Download
A + lib/Bitcode/NaCl/Makefile View 1 2 3 2 chunks +3 lines, -2 lines 0 comments Download
A lib/Bitcode/NaCl/Writer/CMakeLists.txt View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
A + lib/Bitcode/NaCl/Writer/LLVMBuild.txt View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
A + lib/Bitcode/NaCl/Writer/Makefile View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
A + lib/Bitcode/NaCl/Writer/NaClBitcodeWriter.cpp View 1 2 27 chunks +44 lines, -150 lines 0 comments Download
A + lib/Bitcode/NaCl/Writer/NaClValueEnumerator.h View 1 2 7 chunks +12 lines, -11 lines 0 comments Download
A + lib/Bitcode/NaCl/Writer/NaClValueEnumerator.cpp View 1 2 18 chunks +27 lines, -26 lines 0 comments Download
M tools/CMakeLists.txt View 1 chunk +1 line, -0 lines 0 comments Download
M tools/LLVMBuild.txt View 1 chunk +1 line, -1 line 0 comments Download
M tools/Makefile View 1 chunk +1 line, -1 line 0 comments Download
A tools/pnacl-freeze/CMakeLists.txt View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
A + tools/pnacl-freeze/LLVMBuild.txt View 1 2 3 2 chunks +3 lines, -9 lines 0 comments Download
A + tools/pnacl-freeze/Makefile View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
A tools/pnacl-freeze/pnacl-freeze.cpp View 1 2 3 1 chunk +103 lines, -0 lines 2 comments Download

Messages

Total messages: 11 (0 generated)
Karl
Fixed version of cl https://codereview.chromium.org/13968008
7 years, 8 months ago (2013-04-23 21:37:05 UTC) #1
Karl
Here is a properly loaded version.
7 years, 8 months ago (2013-04-23 21:38:21 UTC) #2
Mark Seaborn
On 23 April 2013 14:37, <kschimpf@google.com> wrote: > Reviewers: , > > Message: > Fixed ...
7 years, 8 months ago (2013-04-23 21:44:44 UTC) #3
Karl
Updated file names to use NaCl instead of PNaCL, and responded to Mark's comments. https://codereview.chromium.org/14126011/diff/1/include/llvm/Bitcode/PNaCl/PNaClBitstreamWriter.h ...
7 years, 8 months ago (2013-04-24 18:25:59 UTC) #4
Derek Schuff
lgtm with nits https://codereview.chromium.org/14126011/diff/1/lib/Bitcode/PNaCl/Writer/CMakeLists.txt File lib/Bitcode/PNaCl/Writer/CMakeLists.txt (right): https://codereview.chromium.org/14126011/diff/1/lib/Bitcode/PNaCl/Writer/CMakeLists.txt#newcode4 lib/Bitcode/PNaCl/Writer/CMakeLists.txt:4: ) need add_dependencies(PNaClBitWrite intrinsics_gen) (this is ...
7 years, 8 months ago (2013-04-25 17:05:18 UTC) #5
Karl
https://codereview.chromium.org/14126011/diff/1/lib/Bitcode/PNaCl/Writer/CMakeLists.txt File lib/Bitcode/PNaCl/Writer/CMakeLists.txt (right): https://codereview.chromium.org/14126011/diff/1/lib/Bitcode/PNaCl/Writer/CMakeLists.txt#newcode4 lib/Bitcode/PNaCl/Writer/CMakeLists.txt:4: ) On 2013/04/25 17:05:18, Derek Schuff wrote: > need ...
7 years, 8 months ago (2013-04-25 17:39:31 UTC) #6
jvoung (off chromium)
https://codereview.chromium.org/14126011/diff/5001/include/llvm/Bitcode/NaCl/NaClReaderWriter.h File include/llvm/Bitcode/NaCl/NaClReaderWriter.h (right): https://codereview.chromium.org/14126011/diff/5001/include/llvm/Bitcode/NaCl/NaClReaderWriter.h#newcode1 include/llvm/Bitcode/NaCl/NaClReaderWriter.h:1: //===-- llvm/Bitcode/PNaCl/PNaClReaderWriter.h - ----------------*- C++ -*-===// Is the header ...
7 years, 8 months ago (2013-04-25 17:42:45 UTC) #7
jvoung (off chromium)
https://codereview.chromium.org/14126011/diff/5001/lib/Bitcode/NaCl/LLVMBuild.txt File lib/Bitcode/NaCl/LLVMBuild.txt (right): https://codereview.chromium.org/14126011/diff/5001/lib/Bitcode/NaCl/LLVMBuild.txt#newcode1 lib/Bitcode/NaCl/LLVMBuild.txt:1: ;===- ./lib/Bitcode/PNaCl/LLVMBuild.txt -----------------------*- Conf -*--===; PNaCl -> NaCl https://codereview.chromium.org/14126011/diff/5001/lib/Bitcode/NaCl/Makefile ...
7 years, 8 months ago (2013-04-25 17:49:06 UTC) #8
Karl
Changed sources (and class names) to use NaCl (instead of PNaCl), except for file defining ...
7 years, 8 months ago (2013-04-25 20:48:17 UTC) #9
jvoung (off chromium)
tabs =) otherwise lgtm https://codereview.chromium.org/14126011/diff/5001/tools/pnacl-freeze/CMakeLists.txt File tools/pnacl-freeze/CMakeLists.txt (right): https://codereview.chromium.org/14126011/diff/5001/tools/pnacl-freeze/CMakeLists.txt#newcode1 tools/pnacl-freeze/CMakeLists.txt:1: set(LLVM_LINK_COMPONENTS bitreader analysis asmparser bitwriter) ...
7 years, 8 months ago (2013-04-25 22:25:36 UTC) #10
Karl
7 years, 8 months ago (2013-04-26 19:54:27 UTC) #11
Message was sent while issue was closed.
Committed patchset #4 manually as r5712db9 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698