Skip to content

Commit

Permalink
stop clamping the DWARF version to 3 on Linux
Browse files Browse the repository at this point in the history
Closes #13611
  • Loading branch information
thestinger committed Sep 18, 2014
1 parent 28407b6 commit 98fff20
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/librustc/middle/trans/debuginfo.rs
Expand Up @@ -738,12 +738,6 @@ pub fn finalize(cx: &CrateContext) {
cx.sess().targ_cfg.os == abi::OsiOS {
"Dwarf Version".with_c_str(
|s| llvm::LLVMRustAddModuleFlag(cx.llmod(), s, 2));
} else if cx.sess().targ_cfg.os == abi::OsLinux {
// FIXME(#13611) this is a kludge fix because the Linux bots have
// gdb 7.4 which doesn't understand dwarf4, we should
// do something more graceful here.
"Dwarf Version".with_c_str(
|s| llvm::LLVMRustAddModuleFlag(cx.llmod(), s, 3));
}

// Prevent bitcode readers from deleting the debug info.
Expand Down

5 comments on commit 98fff20

@bors
Copy link
Contributor

@bors bors commented on 98fff20 Sep 18, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors
Copy link
Contributor

@bors bors commented on 98fff20 Sep 18, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging thestinger/rust/debuginfo = 98fff20 into auto

@bors
Copy link
Contributor

@bors bors commented on 98fff20 Sep 18, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thestinger/rust/debuginfo = 98fff20 merged ok, testing candidate = d485e87

@bors
Copy link
Contributor

@bors bors commented on 98fff20 Sep 18, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors
Copy link
Contributor

@bors bors commented on 98fff20 Sep 18, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding master to auto = d485e87

Please sign in to comment.