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

Unified Diff: src/IceCfg.cpp

Issue 930733002: Subzero: Add sandboxing for x86-32. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix asm emission for %gs:0 . (Was just emitting "gs:".) Created 5 years, 10 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 | src/IceCfgNode.cpp » ('j') | src/IceCfgNode.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceCfg.cpp
diff --git a/src/IceCfg.cpp b/src/IceCfg.cpp
index bae6c7752942bccf939a7ecaf7edce19355fe0de..77c0aa59f173a33c23f5956d0bf5a39ba8bf67d0 100644
--- a/src/IceCfg.cpp
+++ b/src/IceCfg.cpp
@@ -436,6 +436,7 @@ void Cfg::emitTextHeader(const IceString &MangledName, GlobalContext *Ctx,
for (uint8_t I : Asm->getNonExecBundlePadding())
Str.write_hex(I);
Str << "\n";
+ Str << "\t.bundle_align_mode " << Asm->getBundleAlignLog2Bytes() << "\n";
jvoung (off chromium) 2015/02/19 21:01:47 Should this only be for getUseSandboxing()?
Jim Stichnoth 2015/02/19 23:17:38 Oops, done.
Str << MangledName << ":\n";
}
« no previous file with comments | « no previous file | src/IceCfgNode.cpp » ('j') | src/IceCfgNode.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698