Index: src/IceCfg.cpp |
diff --git a/src/IceCfg.cpp b/src/IceCfg.cpp |
index bae6c7752942bccf939a7ecaf7edce19355fe0de..2900a764e1f98e1bc3d5cadfc9736378efb0f4fd 100644 |
--- a/src/IceCfg.cpp |
+++ b/src/IceCfg.cpp |
@@ -436,6 +436,8 @@ void Cfg::emitTextHeader(const IceString &MangledName, GlobalContext *Ctx, |
for (uint8_t I : Asm->getNonExecBundlePadding()) |
Str.write_hex(I); |
Str << "\n"; |
+ if (Ctx->getFlags().getUseSandboxing()) |
+ Str << "\t.bundle_align_mode " << Asm->getBundleAlignLog2Bytes() << "\n"; |
Str << MangledName << ":\n"; |
} |