rust/src/librustc_codegen_llvm
Alex Crichton f0bceba669 rustc: Handle linker diagnostic from LLVM
Previously linker diagnostic were being hidden when two modules were linked
together but failed to link. This commit fixes the situation by ensuring that we
have a diagnostic handler installed and also adds support for handling linker
diagnostics.
2018-07-31 10:47:27 -07:00
..
back rustc: Handle linker diagnostic from LLVM 2018-07-31 10:47:27 -07:00
debuginfo rustc_codegen_llvm: fix ownership of DIBuilder. 2018-07-30 20:35:14 +03:00
llvm rustc: Handle linker diagnostic from LLVM 2018-07-31 10:47:27 -07:00
mir rustc_codegen_llvm: fix tidy errors. 2018-07-30 20:35:08 +03:00
abi.rs rustc_codegen_llvm: use safe references for Value. 2018-07-30 19:49:18 +03:00
allocator.rs rustc_codegen_llvm: use safe references for Context and Module. 2018-07-30 18:27:52 +03:00
asm.rs rustc_codegen_llvm: use safe references for Value. 2018-07-30 19:49:18 +03:00
attributes.rs rustc_codegen_llvm: use safe references for Value. 2018-07-30 19:49:18 +03:00
base.rs rustc_codegen_llvm: fix tidy errors. 2018-07-30 20:35:08 +03:00
build.rs Rename trans to codegen everywhere. 2018-05-17 15:08:30 +03:00
builder.rs rustc_codegen_llvm: fix ownership of Builder. 2018-07-30 20:35:11 +03:00
callee.rs rustc_codegen_llvm: use safe references for Value. 2018-07-30 19:49:18 +03:00
Cargo.toml Replace tempdir by tempfile in librustc_trans 2018-06-20 19:28:27 +02:00
common.rs rustc_codegen_llvm: fix tidy errors. 2018-07-30 20:35:08 +03:00
consts.rs rustc_codegen_llvm: use safe references for Value. 2018-07-30 19:49:18 +03:00
context.rs rustc_codegen_llvm: fix tidy errors. 2018-07-30 20:35:08 +03:00
declare.rs rustc_codegen_llvm: fix tidy errors. 2018-07-30 20:35:08 +03: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 rustc_codegen_llvm: use safe references for Value. 2018-07-30 19:49:18 +03:00
lib.rs rustc_codegen_llvm: use safe references for Context and Module. 2018-07-30 18:27:52 +03:00
llvm_util.rs rustc_llvm: move to rustc_codegen_llvm::llvm. 2018-07-30 18:03:50 +03:00
metadata.rs rustc_codegen_llvm: use safe references for MemoryBuffer and ObjectFile. 2018-07-30 20:10:28 +03:00
meth.rs rustc_codegen_llvm: use safe references for Value. 2018-07-30 19:49:18 +03:00
mono_item.rs rustc: Use link_section, not wasm_custom_section 2018-07-16 09:40:45 -07:00
README.md Rename trans to codegen everywhere. 2018-05-17 15:08:30 +03:00
type_.rs rustc_codegen_llvm: use safe references for Metadata and DI*. 2018-07-30 19:27:13 +03:00
type_of.rs rustc_codegen_llvm: use safe references for Type. 2018-07-30 18:36:29 +03: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.