rust/src/librustc_codegen_llvm
Dylan DPC 24260e5bae
Rollup merge of #68932 - michaelwoerister:self-profile-generic-activity-args, r=wesleywiser
self-profile: Support arguments for generic_activities.

This PR adds support for recording arguments of "generic activities". The most notable use case is LLVM module names, which should be very interesting for `crox` profiles. In the future it might be interesting to add more fine-grained events for pre-query passes like macro expansion.

I tried to judiciously de-duplicate existing self-profile events with `extra_verbose_generic_activity`, now that the latter also generates self-profile events.

r? @wesleywiser
2020-02-10 17:28:57 +01:00
..
back self-profile: Support arguments for generic_activities. 2020-02-10 15:46:41 +01:00
debuginfo Rollup merge of #68881 - eddyb:always-preserve-dbg-vars, r=nagisa 2020-02-09 18:23:31 +01:00
llvm rustc_codegen_ssa: remove unnecessary source_locations_enabled. 2020-02-08 18:27:49 +02: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 Apply LLVM sanitize attributes to generated entry wrapper 2020-02-05 23:30:38 +01:00
base.rs Apply LLVM sanitize attributes to generated entry wrapper 2020-02-05 23:30:38 +01:00
build.rs Remove licenses 2018-12-25 21:08:33 -07:00
builder.rs rustc_codegen_ssa: split declare_local into create_dbg_var and dbg_var_addr. 2020-02-03 12:14:21 +02:00
callee.rs Add projection query for upstream drop-glue instances. 2020-01-23 16:56:59 +01:00
Cargo.toml Move builtin attribute logic to new rustc_attr crate. 2020-02-01 18:54:56 +01:00
common.rs rustc_codegen_ssa: split declare_local into create_dbg_var and dbg_var_addr. 2020-02-03 12:14:21 +02:00
consts.rs Auto merge of #67886 - Centril:rustc_hir_canon_imports, r=nagisa 2020-01-06 12:55:40 +00:00
context.rs Add support for Control Flow Guard on Windows. 2020-01-28 14:43:23 +00:00
declare.rs Selectively disable sanitizer instrumentation 2020-02-05 23:30:38 +01:00
intrinsic.rs Apply review feedback 2020-01-11 10:18:44 +00:00
lib.rs Auto merge of #68601 - 0dvictor:split, r=tmandry 2020-02-04 05:48:54 +00:00
llvm_util.rs Add support for enabling the LLVM time-trace feature 2020-02-01 14:19:17 -05: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.