rust/compiler/rustc_codegen_llvm
Zalathar 6da319f635 coverage: Store all of a function's mappings in function coverage info
Previously, mappings were attached to individual coverage statements in MIR.
That necessitated special handling in MIR optimizations to avoid deleting those
statements, since otherwise codegen would be unable to reassemble the original
list of mappings.

With this change, a function's list of mappings is now attached to its MIR
body, and survives intact even if individual statements are deleted by
optimizations.
2023-10-18 23:42:39 +11:00
..
src coverage: Store all of a function's mappings in function coverage info 2023-10-18 23:42:39 +11:00
Cargo.toml Upgrade Object and related deps 2023-08-14 23:05:45 +08:00
messages.ftl allow LTO on proc-macro crates with -Zdylib-lto 2023-09-23 17:08:43 +03:00
README.md

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.