File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
trunk/src/librustc/middle/trans Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: ad3de7fdb58cb2beb06780794006b4184807c75e
2
+ refs/heads/master: 426d701f8bbd22aa22fefb69d71eaa7dc8bbe170
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: b5dd3f05fe95168b5569d0f519636149479eb6ac
5
5
refs/heads/try: 38201d7c6bf0c32b0e5bdc8ecd63976ebc1b3a4c
Original file line number Diff line number Diff line change @@ -279,6 +279,12 @@ pub fn finalize(cx: &CrateContext) {
279
279
if cx. sess ( ) . targ_cfg . os == abi:: OsMacos {
280
280
"Dwarf Version" . with_c_str (
281
281
|s| llvm:: LLVMRustAddModuleFlag ( cx. llmod , s, 2 ) ) ;
282
+ } else {
283
+ // FIXME(#13611) this is a kludge fix because the linux bots have
284
+ // gdb 7.4 which doesn't understand dwarf4, we should
285
+ // do something more graceful here.
286
+ "Dwarf Version" . with_c_str (
287
+ |s| llvm:: LLVMRustAddModuleFlag ( cx. llmod , s, 3 ) ) ;
282
288
}
283
289
284
290
// Prevent bitcode readers from deleting the debug info.
You can’t perform that action at this time.
0 commit comments