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

Issue 1190413004: Allow pnacl-sz to be compiled to textual bitcode records. (Closed)

Created:
5 years, 6 months ago by Karl
Modified:
5 years, 6 months ago
CC:
native-client-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Allow pnacl-sz to be compiled to textual bitcode records. This has been added to allow fuzzing to be applied to textual bitcode records. When built with make option TEXTUAL_BITCODE=1, the corresponding generated pnacl-sz will preprocess the input file (containing the textual form of bitcode records) and generate a corresponding data stream with the binary form. Note that the texual form of bitcode records is not LLVM assembly (i.e. .ll files). Rather, it is sequences of texual integers corresponding to bitcode records. Dependent on: https://codereview.chromium.org/1191393004 BUG= https://code.google.com/p/nativeclient/issues/detail?id=4169 R=stichnot@chromium.org Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=6f9ba115f546d0e3446f08bd6f4477d2b5645bd5

Patch Set 1 #

Patch Set 2 : Fix nits. #

Total comments: 10

Patch Set 3 : Fix issues in patch set 2. #

Total comments: 8

Patch Set 4 : Fix nits. #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -3 lines) Patch
M Makefile.standalone View 1 2 3 4 chunks +19 lines, -2 lines 4 comments Download
M src/IceCompileServer.cpp View 1 2 3 3 chunks +52 lines, -1 line 0 comments Download

Messages

Total messages: 12 (1 generated)
Karl
5 years, 6 months ago (2015-06-19 20:01:03 UTC) #2
Jim Stichnoth
https://codereview.chromium.org/1190413004/diff/20001/Makefile.standalone File Makefile.standalone (right): https://codereview.chromium.org/1190413004/diff/20001/Makefile.standalone#newcode108 Makefile.standalone:108: TEXTBC_DEFS = -DINPUT_IS_TEXTUAL_BITCODE Do this like ALLOW_DUMP, i.e. -DINPUT_IS_TEXTUAL_BITCODE=1 ...
5 years, 6 months ago (2015-06-21 07:09:34 UTC) #3
Karl
Cleaned up macros as requested. https://codereview.chromium.org/1190413004/diff/20001/Makefile.standalone File Makefile.standalone (right): https://codereview.chromium.org/1190413004/diff/20001/Makefile.standalone#newcode108 Makefile.standalone:108: TEXTBC_DEFS = -DINPUT_IS_TEXTUAL_BITCODE On ...
5 years, 6 months ago (2015-06-22 19:52:02 UTC) #4
Jim Stichnoth
otherwise lgtm https://codereview.chromium.org/1190413004/diff/40001/Makefile.standalone File Makefile.standalone (right): https://codereview.chromium.org/1190413004/diff/40001/Makefile.standalone#newcode238 Makefile.standalone:238: # attributes were used to the build ...
5 years, 6 months ago (2015-06-22 20:02:48 UTC) #5
Karl
Committed patchset #4 (id:60001) manually as 6f9ba115f546d0e3446f08bd6f4477d2b5645bd5 (presubmit successful).
5 years, 6 months ago (2015-06-22 20:20:27 UTC) #6
Karl
https://codereview.chromium.org/1190413004/diff/40001/Makefile.standalone File Makefile.standalone (right): https://codereview.chromium.org/1190413004/diff/40001/Makefile.standalone#newcode238 Makefile.standalone:238: # attributes were used to the build pnacl-sz. On ...
5 years, 6 months ago (2015-06-22 20:20:37 UTC) #7
jvoung (off chromium)
https://codereview.chromium.org/1190413004/diff/60001/Makefile.standalone File Makefile.standalone (right): https://codereview.chromium.org/1190413004/diff/60001/Makefile.standalone#newcode92 Makefile.standalone:92: TEXTBC_LIBS = -LLVMNaClBitTestUtils Is this intended to be -LLVM... ...
5 years, 6 months ago (2015-06-23 22:17:36 UTC) #8
Karl
https://codereview.chromium.org/1190413004/diff/60001/Makefile.standalone File Makefile.standalone (right): https://codereview.chromium.org/1190413004/diff/60001/Makefile.standalone#newcode92 Makefile.standalone:92: TEXTBC_LIBS = -LLVMNaClBitTestUtils On 2015/06/23 22:17:35, jvoung wrote: > ...
5 years, 6 months ago (2015-06-23 22:49:52 UTC) #9
jvoung (off chromium)
https://codereview.chromium.org/1190413004/diff/60001/Makefile.standalone File Makefile.standalone (right): https://codereview.chromium.org/1190413004/diff/60001/Makefile.standalone#newcode92 Makefile.standalone:92: TEXTBC_LIBS = -LLVMNaClBitTestUtils On 2015/06/23 22:49:51, Karl wrote: > ...
5 years, 6 months ago (2015-06-24 01:30:59 UTC) #10
Karl
https://codereview.chromium.org/1190413004/diff/60001/Makefile.standalone File Makefile.standalone (right): https://codereview.chromium.org/1190413004/diff/60001/Makefile.standalone#newcode92 Makefile.standalone:92: TEXTBC_LIBS = -LLVMNaClBitTestUtils On 2015/06/24 01:30:59, jvoung wrote: > ...
5 years, 6 months ago (2015-06-24 15:11:50 UTC) #11
Karl
5 years, 6 months ago (2015-06-24 15:11:53 UTC) #12
Message was sent while issue was closed.

          

Powered by Google App Engine
This is Rietveld 408576698