about summary refs log tree commit diff
path: root/compiler/rustc_interface/src/errors.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-09-09 00:28:19 +0200
committerGitHub <noreply@github.com>2023-09-09 00:28:19 +0200
commitaa78b4c36806c1e020607989c6ae9a48cff1b9b1 (patch)
tree8f9289ba9faa545212125cda394a1fc2c934c9b9 /compiler/rustc_interface/src/errors.rs
parent6b65d377c5f71d2022d03cc44051aacb81966f5c (diff)
parent78d805cd87f8d7500db841daa6fe24f77faff3ce (diff)
downloadrust-aa78b4c36806c1e020607989c6ae9a48cff1b9b1.tar.gz
rust-aa78b4c36806c1e020607989c6ae9a48cff1b9b1.zip
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.
Diffstat (limited to 'compiler/rustc_interface/src/errors.rs')
0 files changed, 0 insertions, 0 deletions