Skip to content

Commit 14288fc

Browse files
committed
Auto merge of #145014 - bjorn3:revert_preserve_debug_gdb_scripts, r=lqd
Revert "Preserve the .debug_gdb_scripts section" rust-lang/rust#143679 introduces a significant build time perf regression for ripgrep. Let's revert it such that we can investigate it without pressure.
2 parents 6566e3d + 02b14bc commit 14288fc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/debuginfo.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,8 +254,7 @@ impl<'gcc, 'tcx> DebugInfoCodegenMethods<'tcx> for CodegenCx<'gcc, 'tcx> {
254254
// TODO(antoyo): implement.
255255
}
256256

257-
fn debuginfo_finalize(&mut self) {
258-
// TODO: emit section `.debug_gdb_scripts`.
257+
fn debuginfo_finalize(&self) {
259258
self.context.set_debug_info(true)
260259
}
261260

0 commit comments

Comments
 (0)