Skip to content

Commit d485e87

Browse files
committed
auto merge of #17364 : thestinger/rust/debuginfo, r=pnkfelix
Closes #13611
2 parents 49dd8e8 + 98fff20 commit d485e87

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/librustc/middle/trans/debuginfo.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -738,12 +738,6 @@ pub fn finalize(cx: &CrateContext) {
738738
cx.sess().targ_cfg.os == abi::OsiOS {
739739
"Dwarf Version".with_c_str(
740740
|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));
747741
}
748742

749743
// Prevent bitcode readers from deleting the debug info.

0 commit comments

Comments
 (0)