rust/compiler/rustc_codegen_llvm
Zalathar f877aa7d14 coverage: Enlarge empty spans during MIR instrumentation, not codegen
This allows us to assume that coverage spans will only be discarded during
codegen in very unusual situations.
2025-07-22 19:49:54 +10:00
..
src coverage: Enlarge empty spans during MIR instrumentation, not codegen 2025-07-22 19:49:54 +10:00
Cargo.toml Avoid building C++ for rustc_llvm with --compile-time-deps 2025-07-11 13:32:03 +00:00
messages.ftl Merge run_fat_lto, optimize_fat and autodiff into run_and_optimize_fat_lto 2025-07-03 16:22:32 +00: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.