rust/compiler/rustc_codegen_llvm
Augie Fackler af9e55068c 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-08 10:45:29 -04:00
..
src debuginfo: add compiler option to allow compressed debuginfo sections 2023-09-08 10:45:29 -04:00
Cargo.toml Upgrade Object and related deps 2023-08-14 23:05:45 +08:00
messages.ftl debuginfo: add compiler option to allow compressed debuginfo sections 2023-09-08 10:45:29 -04:00
README.md mv compiler to compiler/ 2020-08-30 18:45:07 +03:00

The codegen crate contains the code to convert from MIR into LLVM IR, and then from LLVM IR into machine code. In general it contains code that runs towards the end of the compilation process.

For more information about how codegen works, see the rustc dev guide.