rust/compiler/rustc_codegen_llvm
Manish Goregaokar 1781e4b81a
Rollup merge of #89376 - andjo403:selfProfileUseAfterDropFix, r=Mark-Simulacrum
Fix use after drop in self-profile with llvm events

self-profile with `-Z self-profile-events=llvm` have failed with a segmentation fault due to this use after drop.
this type of events can be more useful now that the new passmanager is the default.
2021-10-01 14:46:49 -07:00
..
src Rollup merge of #89376 - andjo403:selfProfileUseAfterDropFix, r=Mark-Simulacrum 2021-10-01 14:46:49 -07:00
Cargo.toml Migrate to 2021 2021-09-20 22:21:42 -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.