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

Unified Diff: tools/pnacl-llc/pnacl-llc.cpp

Issue 1129013004: Use -mc-relax-all flag for sandboxed translator (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-llvm.git@master
Patch Set: Created 5 years, 7 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/pnacl-llc/pnacl-llc.cpp
diff --git a/tools/pnacl-llc/pnacl-llc.cpp b/tools/pnacl-llc/pnacl-llc.cpp
index cc0ee94bd0cad6a3d3fdbfdb36a1e731e9f5f32d..9b44758d6af612ce5a4f4757e467023e5b8a4871 100644
--- a/tools/pnacl-llc/pnacl-llc.cpp
+++ b/tools/pnacl-llc/pnacl-llc.cpp
@@ -705,6 +705,9 @@ static int compileModule(StringRef ProgramName) {
TargetOptions Options = InitTargetOptionsFromCodeGenFlags();
Options.DisableIntegratedAS = NoIntegratedAssembler;
+#if defined(__native_client__)
+ Options.MCOptions.MCRelaxAll = true;
Mark Seaborn 2015/05/15 14:03:42 Can you add a comment explaining that this reduces
Petr Hosek 2015/05/15 19:27:39 Done.
+#endif
if (GenerateSoftFloatCalls)
FloatABIForCalls = FloatABI::Soft;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698