rust/compiler/rustc_codegen_llvm
Josh Stone ec1d458777 debuginfo: split method declaration and definition
When we're adding a method to a type DIE, we only want a DW_AT_declaration
there, because LLVM LTO can't unify type definitions when a child DIE is a
full subprogram definition. Now the subprogram definition gets added at the
CU level with a specification link back to the abstract declaration.

(cherry picked from commit 10b69dde3f)
2023-05-19 17:01:39 -07:00
..
src debuginfo: split method declaration and definition 2023-05-19 17:01:39 -07:00
Cargo.toml record llvm cgu instruction stats 2023-02-25 16:18:56 +08:00
messages.ftl Check for escape sequences in Fluent resources 2023-03-29 18:34:29 +01: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.