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

Unified Diff: crosstest/crosstest.py

Issue 444443002: Subzero: Align the stack at the point of function calls. (Closed) Base URL: https://gerrit.chromium.org/gerrit/p/native_client/pnacl-subzero.git@master
Patch Set: Comments round 3 Created 6 years, 4 months 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
« no previous file with comments | « no previous file | crosstest/runtests.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: crosstest/crosstest.py
diff --git a/crosstest/crosstest.py b/crosstest/crosstest.py
index 9b64399074021059df6e3d372f929cfb45dd19ed..89124d6c26c52f219a1d3a37c2f93fea563fb07a 100755
--- a/crosstest/crosstest.py
+++ b/crosstest/crosstest.py
@@ -134,7 +134,6 @@ if __name__ == '__main__':
objs.append(bitcode)
linker = 'clang' if os.path.splitext(args.driver)[1] == '.c' else 'clang++'
- # TODO: Remove -mstackrealign after Subzero supports stack alignment.
- shellcmd([os.path.join(llvm_bin_path, linker), '-g', '-m32',
- '-mstackrealign', args.driver] + objs +
+ shellcmd([os.path.join(llvm_bin_path, linker), '-g', '-m32', args.driver] +
+ objs +
['-lm', '-lpthread', '-o', os.path.join(args.dir, args.output)])
« no previous file with comments | « no previous file | crosstest/runtests.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698