Skip to content

Commit f969b22

Browse files
committed
rustc: Disable frame pointer omission
1 parent a5ccead commit f969b22

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/rustllvm/RustWrapper.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ extern "C" void LLVMRustWriteOutputFile(LLVMPassManagerRef PMR, LLVMModuleRef M,
5555

5656
// Set compilation options.
5757
llvm::UnwindTablesMandatory = true;
58+
llvm::NoFramePointerElim = true;
5859

5960
InitializeAllTargets();
6061
InitializeAllAsmPrinters();

0 commit comments

Comments
 (0)