rust/src/librustc_interface
Tyler Mandry 8f5f92a07a
Rollup merge of #64840 - michaelwoerister:self-profiling-raii-refactor, r=wesleywiser
SelfProfiler API refactoring and part one of event review

This PR refactors the `SelfProfiler` a little bit so that most profiling methods are RAII-based. The codegen backend code already had something similar, this refactoring pulls this functionality up into `SelfProfiler` itself, for general use.

The second commit of this PR is a review and update of the existing events we are already recording. Names have been made more consistent. CGU names have been removed from event names. They will be added back in when function parameter recording is implemented.

There is still some work to be done for adding new events, especially around trait resolution and the incremental system.

r? @wesleywiser
2019-10-01 23:06:16 -07:00
..
profile Remove redundant imports 2019-03-30 22:37:02 +01:00
build.rs Locate rustc binary similarly to codegen backend loading 2019-09-10 16:57:14 -04:00
Cargo.toml Remove librustc_ast_borrowck from driver & interface. 2019-09-27 19:48:06 +02:00
interface.rs Make the default parallelism 1 2019-09-30 16:49:19 -04:00
lib.rs Deny unused_lifetimes through rustbuild 2019-07-28 18:47:02 +03:00
passes.rs Rollup merge of #64840 - michaelwoerister:self-profiling-raii-refactor, r=wesleywiser 2019-10-01 23:06:16 -07:00
proc_macro_decls.rs rename hir::map::local_def_id_from_hir_id to local_def_id 2019-07-04 12:53:12 +02:00
queries.rs Remove tx_to_llvm_workers from TyCtxt 2019-09-25 16:57:27 -04:00
util.rs Rollup merge of #64722 - Mark-Simulacrum:alt-parallel, r=alexcrichton 2019-10-01 23:06:11 -07:00