Chromium Code Reviews
DescriptionAdd pnacl-translate --sz flag to enable Subzero.
Some pnacl-translate arguments are unsuitable for Subzero, such as:
-sfi-*
--allow-llvm-bitcode-input
-fPIC
-arch specifying non-x86-32
This triggers a fallback to pnacl-llc. No special warnings are issued on a fallback, but one can run with --pnacl-driver-verbose and look for pnacl-llc in the output as a fallback indication.
This has been tested manually by setting default USE_SZ to 1 and running the LLVM test suite and the gcc torture tests. (Also tested on the scons smoke_tests, revealing one unresolved bug at this writing.) A follow-on CL will enable Subzero tests on the bots.
BUG= https://code.google.com/p/nativeclient/issues/detail?id=4091
R=dschuff@chromium.org, jfb@chromium.org, jvoung@chromium.org
Committed: https://chromium.googlesource.com/native_client/src/native_client/+/bac8dff0bcf40b76d96576880f68d63c173501d1
Patch Set 1 #
Total comments: 15
Patch Set 2 : Code review changes #Patch Set 3 : Fail on unsupported arch #
Messages
Total messages: 13 (1 generated)
|
||||||||||||||||||||||||||||