rust/compiler/rustc_codegen_llvm
Sebastian Poeplau b4d923cea0 Embed GDB pretty printers in rlibs and dylibs
Instead of collecting pretty printers transitively when building
executables/staticlibs/cdylibs, let the debugger find each crate's
pretty printers via its .debug_gdb_scripts section. This covers the case
where libraries defining custom pretty printers are loaded dynamically.
2025-08-06 13:24:43 +02:00
..
src Embed GDB pretty printers in rlibs and dylibs 2025-08-06 13:24:43 +02:00
Cargo.toml Rollup merge of #144726 - jdonszelmann:move-attr-data-structures, r=lcnr 2025-07-31 17:19:40 +02:00
messages.ftl Use the object crate rather than LLVM for extracting bitcode sections 2025-07-25 11:21:28 +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.