diff options
| author | bors <bors@rust-lang.org> | 2025-08-07 07:47:18 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-08-07 07:47:18 +0000 |
| commit | 9b1a30e5e69e1537ef6eb6eb829eb47075206dea (patch) | |
| tree | 58efd6d8f35080bb0eb736ba03bcde25608ad0a8 /compiler/rustc_codegen_gcc/src | |
| parent | 61cb1e97fcf954c37d0a457a8084ed9ad8b3cb82 (diff) | |
| parent | e02cc40ec96457ab563273a69d314418cea7eb84 (diff) | |
| download | rust-9b1a30e5e69e1537ef6eb6eb829eb47075206dea.tar.gz rust-9b1a30e5e69e1537ef6eb6eb829eb47075206dea.zip | |
Auto merge of #145014 - bjorn3:revert_preserve_debug_gdb_scripts, r=lqd
Revert "Preserve the .debug_gdb_scripts section" https://github.com/rust-lang/rust/pull/143679 introduces a significant build time perf regression for ripgrep. Let's revert it such that we can investigate it without pressure.
Diffstat (limited to 'compiler/rustc_codegen_gcc/src')
| -rw-r--r-- | compiler/rustc_codegen_gcc/src/debuginfo.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/rustc_codegen_gcc/src/debuginfo.rs b/compiler/rustc_codegen_gcc/src/debuginfo.rs index 4c0b6439523..4c8585192a1 100644 --- a/compiler/rustc_codegen_gcc/src/debuginfo.rs +++ b/compiler/rustc_codegen_gcc/src/debuginfo.rs @@ -254,8 +254,7 @@ impl<'gcc, 'tcx> DebugInfoCodegenMethods<'tcx> for CodegenCx<'gcc, 'tcx> { // TODO(antoyo): implement. } - fn debuginfo_finalize(&mut self) { - // TODO: emit section `.debug_gdb_scripts`. + fn debuginfo_finalize(&self) { self.context.set_debug_info(true) } |
