rust/src/librustc_codegen_llvm
Victor Ding 6a6ebb4403 Add -Z no-link flag
Adds a compiler option to allow rustc compile a crate without linking.
With this flag, rustc serializes codegen_results into a .rlink file.
2020-01-23 11:00:36 +11:00
..
back Change -Z time event naming scheme and make them generic activities 2020-01-09 07:06:40 +01:00
debuginfo Remove PlaceBase enum and make Place base field be local: Local 2020-01-10 09:08:25 +01:00
llvm Format the world 2019-12-22 17:42:47 -05:00
abi.rs Format the world 2019-12-22 17:42:47 -05:00
allocator.rs Format the world 2019-12-22 17:42:47 -05:00
asm.rs Remove rustc_hir reexports in rustc::hir. 2020-01-05 12:49:22 +01:00
attributes.rs Remove rustc_hir reexports in rustc::hir. 2020-01-05 12:49:22 +01:00
base.rs Compile some CGUs in parallel at the start of codegen 2020-01-09 22:36:15 +01:00
build.rs Remove licenses 2018-12-25 21:08:33 -07:00
builder.rs Remove rustc_hir reexports in rustc::hir. 2020-01-05 12:49:22 +01:00
callee.rs Rename Instance.ty to Instance.monomorphic_ty 2020-01-05 14:59:40 -05:00
Cargo.toml Add -Z no-link flag 2020-01-23 11:00:36 +11:00
common.rs Normalize syntax::symbol imports. 2020-01-02 13:57:04 +01:00
consts.rs Auto merge of #67886 - Centril:rustc_hir_canon_imports, r=nagisa 2020-01-06 12:55:40 +00:00
context.rs Remove support for datalayout upgrade 2020-01-07 21:28:22 +01:00
declare.rs Format the world 2019-12-22 17:42:47 -05:00
intrinsic.rs Apply review feedback 2020-01-11 10:18:44 +00:00
lib.rs Add -Z no-link flag 2020-01-23 11:00:36 +11:00
llvm_util.rs Actually pass target LLVM args to LLVM 2020-01-17 16:11:52 -08:00
metadata.rs tidy: change msdn links to newer locations 2019-12-25 15:35:54 +00:00
mono_item.rs Auto merge of #67886 - Centril:rustc_hir_canon_imports, r=nagisa 2020-01-06 12:55:40 +00:00
README.md rustc-guide has moved 2018-11-26 15:03:13 -06:00
type_.rs Format the world 2019-12-22 17:42:47 -05:00
type_of.rs Format the world 2019-12-22 17:42:47 -05:00
va_arg.rs Format the world 2019-12-22 17:42:47 -05: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 guide.