This commit is contained in:
Jonas Schievink 2020-02-18 00:00:06 +01:00
parent c9b87ac4b3
commit 27cfb2b9c2
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ pub fn opts() -> TargetOptions {
// until we figure a way to add the pretty printers without requiring a volatile load cf.
// rust-lang/rust#44993.
emit_debug_gdb_scripts: false,
// LLVM is eager to trash the link register when calling `nounwind` functions, which
// LLVM is eager to trash the link register when calling `noreturn` functions, which
// breaks debugging. Preserve LR by default to prevent that from happening.
eliminate_frame_pointer: false,
..Default::default()