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

Unified Diff: pydir/crosstest.py

Issue 1499983002: Subzero. ARM32. Implements sandboxing. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Beautifier pass. Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pydir/crosstest.py
diff --git a/pydir/crosstest.py b/pydir/crosstest.py
index bd1c89e38b10eb1728c7d3091120387a4fbd8362..67333de7a223446979800b495a019f9336168872 100755
--- a/pydir/crosstest.py
+++ b/pydir/crosstest.py
@@ -182,7 +182,7 @@ def main():
).format(root=nacl_root, sb='sb' if args.sandbox else 'native'))
pure_c = os.path.splitext(args.driver)[1] == '.c'
- # TargetX8664 is ilp32, but clang does not currently support such
+ # TargetX8664 is ilp32, but pnacl-clang does not currently support such
# configuration. In order to run the crosstests we play nasty, dangerous
# tricks with the stack pointer.
needs_stack_hack = (args.target == 'x8664')
@@ -202,7 +202,7 @@ def main():
bin=bindir, prefix='pnacl-' if args.sandbox else '',
cc='clang' if pure_c else 'clang++')
sb_native_args = (['-O0', '--pnacl-allow-native',
- '-arch', target_info.target,
+ '-arch', target_info.compiler_arch,
'-Wn,-defsym=__Sz_AbsoluteZero=0']
if args.sandbox else
['-g', '-target=' + triple,
« no previous file with comments | « Makefile.standalone ('k') | pydir/crosstest_generator.py » ('j') | pydir/crosstest_generator.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698