OSDN Git Service

Allow pnacl-sz to be compiled to textual bitcode records.
authorKarl Schimpf <kschimpf@google.com>
Mon, 22 Jun 2015 20:20:23 +0000 (13:20 -0700)
committerKarl Schimpf <kschimpf@google.com>
Mon, 22 Jun 2015 20:20:23 +0000 (13:20 -0700)
commit6f9ba115f546d0e3446f08bd6f4477d2b5645bd5
tree4d049aff010bf33849b045f1f2769f6286dfbaca
parentc8799688d288c9acd71f0b4f193f9b1beac751aa
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

Review URL: https://codereview.chromium.org/1190413004
Makefile.standalone
src/IceCompileServer.cpp