rust/src/librustc_codegen_llvm
Felix S. Klock II e542f4fa59 If an LLVM module's exports change, cannot reuse its post-LTO object file in
incremental compilation.

This is symmetric to PR #67020, which handled the case where the LLVM module's
*imports* changed. This commit builds upon the infrastructure added there; the
export map is just the inverse of the import map, so we can build the export map
at the same time that we load the serialized import map.

Fix #69798
2020-04-14 09:47:03 -04:00
..
back If an LLVM module's exports change, cannot reuse its post-LTO object file in 2020-04-14 09:47:03 -04:00
debuginfo Fix performance regression in debuginfo file_metadata. 2020-04-05 01:43:44 -07:00
llvm Add hash of source files in debug info 2020-04-02 14:13:19 -07:00
abi.rs nix rustc_target::abi::* reexport in ty::layout 2020-04-02 13:40:43 +02:00
allocator.rs rustc -> rustc_middle part 3 (rustfmt) 2020-03-30 07:19:55 +02:00
asm.rs Rename asm! to llvm_asm! 2020-03-26 15:49:22 +00:00
attributes.rs Address review feedback 2020-03-31 21:02:51 -04:00
base.rs rustc -> rustc_middle part 3 (rustfmt) 2020-03-30 07:19:55 +02:00
build.rs Remove licenses 2018-12-25 21:08:33 -07:00
builder.rs nix rustc_target::abi::* reexport in ty::layout 2020-04-02 13:40:43 +02:00
callee.rs fix abuses of tykind::err 2020-04-07 22:47:25 -05:00
Cargo.toml rustc -> rustc_middle part 1 2020-03-30 07:02:56 +02:00
common.rs nix rustc_target::abi::* reexport in ty::layout 2020-04-02 13:40:43 +02:00
consts.rs Rollup merge of #70720 - ecstatic-morse:issue-70637, r=oli-obk 2020-04-03 22:55:12 +02:00
context.rs Remove Arcs in queries. 2020-04-05 15:21:08 +02:00
declare.rs rustc -> rustc_middle part 3 (rustfmt) 2020-03-30 07:19:55 +02:00
intrinsic.rs Stop importing int/float modules in librustc_* 2020-04-05 11:22:01 +02:00
lib.rs use direct import for ErrorReported 2020-04-02 13:40:43 +02:00
llvm_util.rs rustc -> rustc_middle part 3 (rustfmt) 2020-03-30 07:19:55 +02:00
metadata.rs rustc -> rustc_middle part 2 2020-03-30 07:16:56 +02:00
mono_item.rs fix abuses of tykind::err 2020-04-07 22:47:25 -05:00
README.md Fix broken link in README 2020-03-30 10:09:51 -04:00
type_.rs nix rustc_target::abi::* reexport in ty::layout 2020-04-02 13:40:43 +02:00
type_of.rs nix rustc_target::abi::* reexport in ty::layout 2020-04-02 13:40:43 +02:00
va_arg.rs nix rustc_target::abi::* reexport in ty::layout 2020-04-02 13:40:43 +02:00
value.rs Format the world 2019-12-22 17:42:47 -05: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.