mirror of
https://github.com/rust-lang/rust
synced 2024-09-19 16:32:34 +00:00
rustc: Disable frame pointer omission
This commit is contained in:
parent
a5ccead3fd
commit
f969b227c1
|
@ -55,6 +55,7 @@ extern "C" void LLVMRustWriteOutputFile(LLVMPassManagerRef PMR, LLVMModuleRef M,
|
|||
|
||||
// Set compilation options.
|
||||
llvm::UnwindTablesMandatory = true;
|
||||
llvm::NoFramePointerElim = true;
|
||||
|
||||
InitializeAllTargets();
|
||||
InitializeAllAsmPrinters();
|
||||
|
|
Loading…
Reference in a new issue