Files
rust/compiler
bors 8fb40f798a Auto merge of #143679 - sebastianpoeplau:preserve-debug-gdb-scripts-section, r=bjorn3
Preserve the .debug_gdb_scripts section

Make sure that compiler and linker don't optimize the section's contents
away by adding the global holding the data to `llvm.used`. This
eliminates the need for a volatile load in the main shim; since the LLVM
codegen backend is the only implementer of the corresponding trait
function, remove it entirely.

Pretty printers in dylib dependencies are now emitted by the main crate
instead of the dylib; apart from matching how rlibs are handled, this
approach has the advantage that `omit_gdb_pretty_printer_section` keeps
working with dylib dependencies.

r? `@bjorn3`
2025-08-06 13:02:36 +00:00
..
2025-07-29 14:17:48 +00:00
2025-07-31 19:58:04 +10:00
2025-08-03 19:58:00 +10:00
2025-07-31 19:58:04 +10:00
2025-07-31 19:58:04 +10:00
2025-07-31 19:58:04 +10:00