rust/src/librustc_codegen_llvm
bors 88953840ac Auto merge of #62460 - RalfJung:llvm-null, r=eddyb
Handle null from LLVMRustGetSectionName

As part of https://github.com/rust-lang/rust/pull/58783 and https://github.com/rust-lang/rust/pull/62103, this incorrect use of a NULL pointer was found in the interface to LLVM. That PR is stuck with some linker issues, but there is no reason the soundness fix should have to wait for that.
2019-07-09 06:20:44 +00:00
..
back Rollup merge of #62286 - petrhosek:rustc-no-duplicate-archives, r=cramertj 2019-07-07 17:00:20 +02:00
debuginfo Remove unnecessary .clone() 2019-06-15 20:46:00 +09:00
llvm Handle null from LLVMRustGetSectionName 2019-07-07 09:31:41 +02:00
abi.rs removes AbiMethods 2019-05-14 21:23:01 +05:30
allocator.rs Unify all uses of 'gcx and 'tcx. 2019-06-14 18:58:23 +03:00
asm.rs normalize use of backticks for compiler messages in librustc_codegen 2019-07-08 00:54:38 +02:00
attributes.rs Stabilize profile-guided optimization. 2019-06-21 09:54:58 +02:00
base.rs Remove needless lifetimes 2019-07-03 10:01:02 +02:00
build.rs
builder.rs normalize use of backticks for compiler messages in librustc_codegen 2019-07-08 00:54:38 +02:00
callee.rs remove reexport of rustc::ty::Instance 2019-06-02 22:32:42 -05:00
Cargo.toml Remove some dummy dependencies 2019-07-07 03:23:00 +02:00
common.rs Remove use of mem::uninitialized in code_gen crate 2019-07-06 03:27:05 +00:00
consts.rs Rollup merge of #61984 - ljedrz:more_node_id_pruning, r=Zoxc 2019-06-22 01:42:38 +02:00
context.rs rustc: remove 'x: 'y bounds (except from comments/strings). 2019-06-18 18:10:21 +03:00
declare.rs removes AbiMethods 2019-05-14 21:23:01 +05:30
error_codes.rs Rename diagnostics to error_codes 2019-04-17 18:19:14 +09:00
intrinsic.rs Implement mem::{zeroed,uninitialized} in terms of MaybeUninit. 2019-07-04 09:33:15 -04:00
lib.rs rustc: Remove dylib crate type from most rustc crates 2019-07-07 03:23:00 +02:00
llvm_util.rs Pass a Symbol to check_name, emit_feature_err, and related functions. 2019-05-13 09:29:22 +10:00
metadata.rs format a bit 2019-07-07 09:32:36 +02:00
mono_item.rs remove reexport of rustc::ty::Instance 2019-06-02 22:32:42 -05:00
README.md
type_.rs rustc_codegen_llvm: deny(unused_lifetimes). 2019-06-12 16:02:03 +03:00
type_of.rs rustc_codegen_llvm: deny(unused_lifetimes). 2019-06-12 16:02:03 +03:00
va_arg.rs Expose VaListImpl as the Rust equivalent of __va_list_tag and implement Clone for it. 2019-06-17 16:04:49 -07:00
value.rs librustc_codegen_llvm: deny(elided_lifetimes_in_paths) 2019-02-25 08:40:18 +01: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.