rust/src/librustc_codegen_llvm
Yuki Okushi 0b471bffc3
Rollup merge of #67033 - cuviper:ValueName2, r=rkruppe
Migrate to LLVM{Get,Set}ValueName2

The deprecated `LLVM{Get,Set}ValueName` only work with NUL-terminated
strings, but the `2` variants use explicit lengths, which fits better
with Rust strings and slices. We now use these in new helper functions
`llvm::{get,set}_value_name` that convert to/from `&[u8]`.

Closes #64223.
r? @rkruppe
2019-12-07 00:10:02 +09:00
..
back Rollup merge of #67033 - cuviper:ValueName2, r=rkruppe 2019-12-07 00:10:02 +09:00
debuginfo Migrate to LLVM{Get,Set}ValueName2 2019-12-04 12:00:28 -08:00
llvm Rollup merge of #67033 - cuviper:ValueName2, r=rkruppe 2019-12-07 00:10:02 +09:00
abi.rs rustc_target: add abi::call::Conv::Rust distinct from Conv::C. 2019-12-03 15:55:21 +02:00
allocator.rs rustc, rustc_passes: don't depend on syntax_expand. 2019-10-27 17:05:57 +01:00
asm.rs reduce size of hir::ExprKind 2019-11-21 01:23:29 +01:00
attributes.rs rustc_target: add abi::call::Conv::Rust distinct from Conv::C. 2019-12-03 15:55:21 +02:00
base.rs Use Symbol for codegen unit names. 2019-10-21 18:30:40 +11:00
build.rs Remove licenses 2018-12-25 21:08:33 -07:00
builder.rs Store ptr_width as u32 on Config 2019-11-24 16:32:07 -05:00
callee.rs rustc_target: add abi::call::Conv::Rust distinct from Conv::C. 2019-12-03 15:55:21 +02:00
Cargo.toml Remove src/llvm-emscripten submodule 2019-10-21 13:05:31 -07:00
common.rs Panicking infra uses &core::panic::Location. 2019-10-27 12:50:58 -07:00
consts.rs Migrate to LLVM{Get,Set}ValueName2 2019-12-04 12:00:28 -08:00
context.rs rustc: take a PolyFnSig instead of an FnSig in FnAbi::of_fn_ptr. 2019-12-03 15:55:14 +02:00
declare.rs Migrate to LLVM{Get,Set}ValueName2 2019-12-04 12:00:28 -08:00
intrinsic.rs Auto merge of #65947 - eddyb:fn-abi, r=oli-obk,nagisa 2019-12-04 08:22:05 +00:00
lib.rs Move cgu_reuse_tracker to librustc_session 2019-12-03 12:18:32 -05:00
llvm_util.rs Rollup merge of #66918 - makotokato:aarch32-crc-crypto, r=petrochenkov 2019-12-02 04:09:06 +01:00
metadata.rs format a bit 2019-07-07 09:32:36 +02:00
mono_item.rs rustc_target: add abi::call::Conv::Rust distinct from Conv::C. 2019-12-03 15:55:21 +02:00
README.md rustc-guide has moved 2018-11-26 15:03:13 -06:00
type_.rs rustc_codegen_ssa: rename FnTypeLlvmExt to FnAbiLlvmExt. 2019-11-03 09:23:50 +02:00
type_of.rs rustc: take a PolyFnSig instead of an FnSig in FnAbi::of_fn_ptr. 2019-12-03 15:55:14 +02: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.