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

Unified Diff: pnacl/driver/pnacl-translate.py

Issue 508823007: Expose LLC's -force-align-stack flag to pnacl-translate (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: review 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 | tests/toolchain/call_with_misaligned_stack.S » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pnacl/driver/pnacl-translate.py
diff --git a/pnacl/driver/pnacl-translate.py b/pnacl/driver/pnacl-translate.py
index b7a134a6a1ea7a7111a956bbbca6370d84aa111f..66705b7c6c80d316a17f62c08d0b00e1ab520392 100755
--- a/pnacl/driver/pnacl-translate.py
+++ b/pnacl/driver/pnacl-translate.py
@@ -154,6 +154,7 @@ TranslatorPatterns = [
# chromium/src/ppapi/native_client/src/trusted/plugin/pnacl_options.cc
( '(-sfi-.+)', "env.append('LLC_FLAGS_EXTRA', $0)"),
( '(-mtls-use-call)', "env.append('LLC_FLAGS_EXTRA', $0)"),
+ ( '(-force-align-stack)', "env.append('LLC_FLAGS_EXTRA', $0)"),
# These flags are usually used for linktime dead code/data
# removal but also help with reloc overflows on ARM
( '(-fdata-sections)', "env.append('LLC_FLAGS_EXTRA', $0)"),
« no previous file with comments | « no previous file | tests/toolchain/call_with_misaligned_stack.S » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698