We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 28407b6 commit 98fff20Copy full SHA for 98fff20
src/librustc/middle/trans/debuginfo.rs
@@ -738,12 +738,6 @@ pub fn finalize(cx: &CrateContext) {
738
cx.sess().targ_cfg.os == abi::OsiOS {
739
"Dwarf Version".with_c_str(
740
|s| llvm::LLVMRustAddModuleFlag(cx.llmod(), s, 2));
741
- } else if cx.sess().targ_cfg.os == abi::OsLinux {
742
- // FIXME(#13611) this is a kludge fix because the Linux bots have
743
- // gdb 7.4 which doesn't understand dwarf4, we should
744
- // do something more graceful here.
745
- "Dwarf Version".with_c_str(
746
- |s| llvm::LLVMRustAddModuleFlag(cx.llmod(), s, 3));
747
}
748
749
// Prevent bitcode readers from deleting the debug info.
0 commit comments