OSDN Git Service

Update Subzero to start parsing PNaCl bitcode files.
authorKarl Schimpf <kschimpf@google.com>
Mon, 7 Jul 2014 21:50:30 +0000 (14:50 -0700)
committerKarl Schimpf <kschimpf@google.com>
Mon, 7 Jul 2014 21:50:30 +0000 (14:50 -0700)
commit8d7abae9a466e2dfdbca9fef69311e07c7e3690f
tree8269385a997c80be637d1874ddfde0699c5872ca
parentde4ca71ec8aa03420d0fd8506fcec3420d4f5305
Update Subzero to start parsing PNaCl bitcode files.

This patch only handles global addresses in PNaCl bitcode files.
Function blocks are still not parsed. Also, factors out a common API
for translation, so that generated ICE can always be translated using
the same code.

BUG= https://code.google.com/p/nativeclient/issues/detail?id=3892
R=jvoung@chromium.org, stichnot@chromium.org

Review URL: https://codereview.chromium.org/361733002
Makefile.standalone
src/IceClFlags.h [new file with mode: 0644]
src/IceConverter.cpp
src/IceConverter.h
src/IceTranslator.cpp [new file with mode: 0644]
src/IceTranslator.h [new file with mode: 0644]
src/PNaClTranslator.cpp [new file with mode: 0644]
src/PNaClTranslator.h [new file with mode: 0644]
src/llvm2ice.cpp