rust/src/librustc_codegen_llvm
Alex Crichton ed39cc074a wasm: Remove --strip-debug argument to LLD
Originally added in #52887 this commit disables passing `--strip-debug` to LLD
when optimized. This bring back the original bug of emitting broken debuginfo
but currently it *also* strips the `name` section which makes it very difficult
to inspect the final binary. A real fix is happening at
https://reviews.llvm.org/D50729 and we can reevaluate once we've updated LLD to
have that commit.
2018-08-16 10:17:06 -07:00
..
back wasm: Remove --strip-debug argument to LLD 2018-08-16 10:17:06 -07:00
debuginfo Introduce SmallCStr and use it where applicable. 2018-08-10 11:13:00 +02:00
llvm Rollup merge of #53290 - whitequark:fix-35741, r=nagisa 2018-08-14 23:59:16 +08:00
mir rustc_codegen_llvm: Restore the closure env alloca hack for LLVM 5. 2018-08-09 16:35:25 -07:00
abi.rs rustc_codegen_llvm: use safe references for Value. 2018-07-30 19:49:18 +03:00
allocator.rs rustc: Tweak visibility of some lang items 2018-08-07 08:42:38 -07:00
asm.rs rustc_codegen_llvm: use safe references for Value. 2018-07-30 19:49:18 +03:00
attributes.rs Introduce SmallCStr and use it where applicable. 2018-08-10 11:13:00 +02:00
base.rs Introduce SmallCStr and use it where applicable. 2018-08-10 11:13:00 +02:00
build.rs
builder.rs Introduce SmallCStr and use it where applicable. 2018-08-10 11:13:00 +02:00
callee.rs Move share_generics getter onto options directly 2018-08-04 06:54:36 -06:00
Cargo.toml Building librustc_codegen_llvm in a separate directory 2018-08-06 07:00:34 -06:00
common.rs rustc_codegen_llvm: fix tidy errors. 2018-07-30 20:35:08 +03:00
consts.rs Rollup merge of #53274 - bjorn3:remove_statics_field, r=nagisa 2018-08-14 23:59:15 +08:00
context.rs Rollup merge of #53274 - bjorn3:remove_statics_field, r=nagisa 2018-08-14 23:59:15 +08:00
declare.rs Introduce SmallCStr and use it where applicable. 2018-08-10 11:13:00 +02:00
diagnostics.rs Add backticks to E0558 2018-06-24 00:16:10 +01:00
glue.rs rustc_codegen_llvm: use safe references for Value. 2018-07-30 19:49:18 +03:00
intrinsic.rs Simplify some handling of target_pointer_width 2018-08-04 06:54:36 -06:00
lib.rs Rollup merge of #53230 - memoryruins:nll_bootstrap_4, r=nikomatsakis 2018-08-12 23:26:56 +02:00
llvm_util.rs Add wasm32 simd128 target feature 2018-08-08 01:39:52 +02:00
metadata.rs Move path2cstr to rustc_fs_util 2018-08-09 10:00:25 -06:00
meth.rs Make globals with private linkage unnamed. Fixes #50862. 2018-07-31 23:45:18 -04:00
mono_item.rs Remove statics field from CodegenCx 2018-08-11 18:54:36 +02:00
README.md
type_.rs Introduce SmallCStr and use it where applicable. 2018-08-10 11:13:00 +02:00
type_of.rs [nll] librustc_codegen_llvm: remove unused mut annotation 2018-08-10 06:31:40 -04:00
value.rs rustc_codegen_llvm: use safe references for Value. 2018-07-30 19:49:18 +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 guide.