rust/compiler/rustc_codegen_llvm
Zalathar 3920e07f0b Make coverage counter IDs count up from 0, not 1
Operand types are now tracked explicitly, so there is no need to reserve ID 0
for the special always-zero counter.

As part of the renumbering, this change fixes an off-by-one error in the way
counters were counted by the `coverageinfo` query. As a result, functions
should now have exactly the number of counters they actually need, instead of
always having an extra counter that is never used.
2023-08-01 11:29:55 +10:00
..
src Make coverage counter IDs count up from 0, not 1 2023-08-01 11:29:55 +10:00
Cargo.toml Revert "use new c literals instead of cstr! macro" 2023-07-05 13:11:27 +02:00
messages.ftl Better diagnostics for dlltool errors. 2023-07-17 20:20:01 +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.