| Index: src/IceCfg.cpp
|
| diff --git a/src/IceCfg.cpp b/src/IceCfg.cpp
|
| index eaebd1ea9b930894e6d8507abfcaa148d55a427b..d89fa49a0d02bc570cb8faf4e8c9a347b8668297 100644
|
| --- a/src/IceCfg.cpp
|
| +++ b/src/IceCfg.cpp
|
| @@ -743,6 +743,14 @@ void Cfg::emit() {
|
|
|
| emitTextHeader(MangledName, Ctx, Asm);
|
| deleteJumpTableInsts();
|
| + if (Ctx->getFlags().getDecorateAsm()) {
|
| + for (Variable *Var : getVariables()) {
|
| + if (Var->getStackOffset()) {
|
| + Str << "\t" << Var->getSymbolicStackOffset(this) << " = "
|
| + << Var->getStackOffset() << "\n";
|
| + }
|
| + }
|
| + }
|
| for (CfgNode *Node : Nodes) {
|
| if (NeedSandboxing && Node->needsAlignment()) {
|
| Str << "\t" << Asm->getAlignDirective() << " "
|
|
|