rust/compiler/rustc_llvm
Matthias Krüger aa78b4c368
Rollup merge of #115358 - durin42:compress-debuginfo, r=oli-obk
debuginfo: add compiler option to allow compressed debuginfo sections

LLVM already supports emitting compressed debuginfo. In debuginfo=full builds, the debug section is often a large amount of data, and it typically compresses very well (3x is not unreasonable.) We add a new knob to allow debuginfo to be compressed when the matching LLVM functionality is present. Like clang, if a known-but-disabled compression mechanism is requested, we disable compression and emit uncompressed debuginfo sections.

The API is different enough on older LLVMs we just pretend the support
is missing on LLVM older than 16.
2023-09-09 00:28:19 +02:00
..
llvm-wrapper Rollup merge of #115358 - durin42:compress-debuginfo, r=oli-obk 2023-09-09 00:28:19 +02:00
src add a csky-unknown-linux-gnuabiv2 target 2023-08-14 23:02:36 +08:00
build.rs Rollup merge of #114349 - inferiorhumanorgans:dragonfly-link-libz, r=cuviper 2023-09-02 07:48:21 +02:00
Cargo.toml Remove build_helper 2022-03-05 15:31:22 +01:00