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

Issue 14314016: Copy LLVM bitcode reader to generate a PNaCl wire format reader. (Closed)

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

Description

Copy LLVM bitcode reader to generate a PNaCl wire format reader. Copy classes for LLVM BitcodeReader into a NaCl subdirectory, to create a wire format version. Renames classes/functions to include NaCl prefix, so that they don't conflict with the LLVM Bitcode reader. Also implements pnacl-thaw, showing that we can read the PNaCl wire format files. BUG= https://code.google.com/p/nativeclient/issues/detail?id=3405 R=jvoung@chromium.org Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-llvm.git;a=commit;h=f42b26d

Patch Set 1 #

Total comments: 29

Patch Set 2 : #

Patch Set 3 : #

Total comments: 8

Patch Set 4 : #

Total comments: 6

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+813 lines, -684 lines) Patch
A + include/llvm/Bitcode/NaCl/NaClBitstreamReader.h View 1 2 3 12 chunks +53 lines, -51 lines 0 comments Download
A + include/llvm/Bitcode/NaCl/NaClLLVMBitCodes.h View 1 2 3 4 14 chunks +27 lines, -24 lines 0 comments Download
M include/llvm/Bitcode/NaCl/NaClReaderWriter.h View 1 2 1 chunk +121 lines, -1 line 0 comments Download
M lib/Bitcode/NaCl/CMakeLists.txt View 1 chunk +1 line, -0 lines 0 comments Download
M lib/Bitcode/NaCl/LLVMBuild.txt View 1 chunk +1 line, -1 line 0 comments Download
M lib/Bitcode/NaCl/Makefile View 1 chunk +1 line, -1 line 0 comments Download
A lib/Bitcode/NaCl/Reader/CMakeLists.txt View 1 1 chunk +6 lines, -0 lines 0 comments Download
A + lib/Bitcode/NaCl/Reader/LLVMBuild.txt View 2 chunks +2 lines, -2 lines 0 comments Download
A + lib/Bitcode/NaCl/Reader/Makefile View 2 chunks +2 lines, -2 lines 0 comments Download
A + lib/Bitcode/NaCl/Reader/NaClBitcodeReader.h View 1 2 3 8 chunks +22 lines, -21 lines 0 comments Download
A + lib/Bitcode/NaCl/Reader/NaClBitcodeReader.cpp View 1 2 133 chunks +322 lines, -334 lines 0 comments Download
A + lib/Bitcode/NaCl/Reader/NaClBitstreamReader.cpp View 1 12 chunks +27 lines, -25 lines 0 comments Download
M lib/Bitcode/NaCl/Writer/NaClBitcodeWriter.cpp View 1 2 3 80 chunks +201 lines, -201 lines 0 comments Download
M tools/CMakeLists.txt View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M tools/Makefile View 1 chunk +1 line, -1 line 0 comments Download
A tools/pnacl-thaw/CMakeLists.txt View 1 chunk +5 lines, -0 lines 0 comments Download
A + tools/pnacl-thaw/LLVMBuild.txt View 2 chunks +3 lines, -3 lines 0 comments Download
A + tools/pnacl-thaw/Makefile View 2 chunks +3 lines, -3 lines 0 comments Download
A + tools/pnacl-thaw/pnacl-thaw.cpp View 1 2 3 4 chunks +14 lines, -14 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Karl
Please review this CL. Thanks.
7 years, 8 months ago (2013-04-26 22:06:02 UTC) #1
jvoung (off chromium)
https://codereview.chromium.org/14314016/diff/1/include/llvm/Bitcode/NaCl/NaClBitstreamReader.h File include/llvm/Bitcode/NaCl/NaClBitstreamReader.h (right): https://codereview.chromium.org/14314016/diff/1/include/llvm/Bitcode/NaCl/NaClBitstreamReader.h#newcode131 include/llvm/Bitcode/NaCl/NaClBitstreamReader.h:131: /// BitstreamEntry - When advancing through a bitstream cursor, ...
7 years, 7 months ago (2013-04-29 18:02:08 UTC) #2
Derek Schuff
https://codereview.chromium.org/14314016/diff/1/include/llvm/Bitcode/NaCl/NaClReaderWriter.h File include/llvm/Bitcode/NaCl/NaClReaderWriter.h (right): https://codereview.chromium.org/14314016/diff/1/include/llvm/Bitcode/NaCl/NaClReaderWriter.h#newcode105 include/llvm/Bitcode/NaCl/NaClReaderWriter.h:105: /// ... potentially other gunk ... On 2013/04/29 18:02:08, ...
7 years, 7 months ago (2013-04-29 18:25:38 UTC) #3
Karl
https://codereview.chromium.org/14314016/diff/1/include/llvm/Bitcode/NaCl/NaClBitstreamReader.h File include/llvm/Bitcode/NaCl/NaClBitstreamReader.h (right): https://codereview.chromium.org/14314016/diff/1/include/llvm/Bitcode/NaCl/NaClBitstreamReader.h#newcode131 include/llvm/Bitcode/NaCl/NaClBitstreamReader.h:131: /// BitstreamEntry - When advancing through a bitstream cursor, ...
7 years, 7 months ago (2013-04-29 20:44:37 UTC) #4
jvoung (off chromium)
https://codereview.chromium.org/14314016/diff/1/lib/Bitcode/NaCl/Reader/NaClBitcodeReader.cpp File lib/Bitcode/NaCl/Reader/NaClBitcodeReader.cpp (left): https://codereview.chromium.org/14314016/diff/1/lib/Bitcode/NaCl/Reader/NaClBitcodeReader.cpp#oldcode3130 lib/Bitcode/NaCl/Reader/NaClBitcodeReader.cpp:3130: if (R->ParseTriple(Triple)) On 2013/04/29 20:44:37, Karl wrote: > On ...
7 years, 7 months ago (2013-04-29 21:49:34 UTC) #5
Karl
https://chromiumcodereview.appspot.com/14314016/diff/10001/include/llvm/Bitcode/NaCl/NaClBitCodes.h File include/llvm/Bitcode/NaCl/NaClBitCodes.h (right): https://chromiumcodereview.appspot.com/14314016/diff/10001/include/llvm/Bitcode/NaCl/NaClBitCodes.h#newcode79 include/llvm/Bitcode/NaCl/NaClBitCodes.h:79: enum NaCLAttributeCodes { On 2013/04/29 21:49:34, jvoung (cr) wrote: ...
7 years, 7 months ago (2013-05-01 16:23:23 UTC) #6
jvoung (off chromium)
lgtm https://codereview.chromium.org/14314016/diff/25001/include/llvm/Bitcode/NaCl/NaClLLVMBitCodes.h File include/llvm/Bitcode/NaCl/NaClLLVMBitCodes.h (right): https://codereview.chromium.org/14314016/diff/25001/include/llvm/Bitcode/NaCl/NaClLLVMBitCodes.h#newcode1 include/llvm/Bitcode/NaCl/NaClLLVMBitCodes.h:1: //===- NaClBitCodes.h -------------------------------------------*- C++ -*-===// NaClLLVMBitCodes.h https://codereview.chromium.org/14314016/diff/25001/include/llvm/Bitcode/NaCl/NaClLLVMBitCodes.h#newcode19 include/llvm/Bitcode/NaCl/NaClLLVMBitCodes.h:19: ...
7 years, 7 months ago (2013-05-01 17:33:36 UTC) #7
Karl
Committed patchset #5 manually as rf42b26d (presubmit successful).
7 years, 7 months ago (2013-05-01 17:42:42 UTC) #8
Karl
https://chromiumcodereview.appspot.com/14314016/diff/25001/include/llvm/Bitcode/NaCl/NaClLLVMBitCodes.h File include/llvm/Bitcode/NaCl/NaClLLVMBitCodes.h (right): https://chromiumcodereview.appspot.com/14314016/diff/25001/include/llvm/Bitcode/NaCl/NaClLLVMBitCodes.h#newcode1 include/llvm/Bitcode/NaCl/NaClLLVMBitCodes.h:1: //===- NaClBitCodes.h -------------------------------------------*- C++ -*-===// On 2013/05/01 17:33:36, jvoung ...
7 years, 7 months ago (2013-05-01 17:43:06 UTC) #9
jvoung (off chromium)
https://chromiumcodereview.appspot.com/14314016/diff/25001/include/llvm/Bitcode/NaCl/NaClLLVMBitCodes.h File include/llvm/Bitcode/NaCl/NaClLLVMBitCodes.h (right): https://chromiumcodereview.appspot.com/14314016/diff/25001/include/llvm/Bitcode/NaCl/NaClLLVMBitCodes.h#newcode19 include/llvm/Bitcode/NaCl/NaClLLVMBitCodes.h:19: #ifndef LLVM_BITCODE_NACL_NACLBITCODES_H On 2013/05/01 17:43:06, Karl wrote: > On ...
7 years, 7 months ago (2013-05-01 17:48:09 UTC) #10
Karl
7 years, 7 months ago (2013-05-01 17:57:35 UTC) #11
Message was sent while issue was closed.
Don't know what I did wrong. I thought it was added. Will create a CL to fix.

Powered by Google App Engine
This is Rietveld 408576698