Skip to content

Commit 3434469

Browse files
committed
rollup merge of rust-lang#24762: nrc/mod-debug-2
Closes rust-lang#20780 r? @michaelwoerister I'm sure this could be done better with deeper knowledge of debuginfo, but this seems like a good start.
2 parents e14af08 + 7bfb5ed commit 3434469

File tree

10 files changed

+3424
-3234
lines changed

10 files changed

+3424
-3234
lines changed

src/librustc_trans/trans/base.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2182,7 +2182,7 @@ pub fn create_entry_wrapper(ccx: &CrateContext,
21822182
unsafe {
21832183
llvm::LLVMPositionBuilderAtEnd(bld, llbb);
21842184

2185-
debuginfo::insert_reference_to_gdb_debug_scripts_section_global(ccx);
2185+
debuginfo::gdb::insert_reference_to_gdb_debug_scripts_section_global(ccx);
21862186

21872187
let (start_fn, args) = if use_start_lang_item {
21882188
let start_def_id = match ccx.tcx().lang_items.require(StartFnLangItem) {

0 commit comments

Comments
 (0)