We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0176a9e commit c9b87acCopy full SHA for c9b87ac
src/librustc_target/spec/thumb_base.rs
@@ -50,6 +50,9 @@ pub fn opts() -> TargetOptions {
50
// until we figure a way to add the pretty printers without requiring a volatile load cf.
51
// rust-lang/rust#44993.
52
emit_debug_gdb_scripts: false,
53
+ // LLVM is eager to trash the link register when calling `nounwind` functions, which
54
+ // breaks debugging. Preserve LR by default to prevent that from happening.
55
+ eliminate_frame_pointer: false,
56
..Default::default()
57
}
58
0 commit comments