granite-rust/compiler/rustc_session/src
Aman Arora fc273e9bf2 Introduce -Zprofile-closures to evaluate the impact of 2229
This creates a CSV with name "closure_profile_XXXXX.csv", where the
variable part is the process id of the compiler.

To profile a cargo project you can run one of the following depending on
if you're compiling a library or a binary:

```
cargo +stage1 rustc --lib -- -Zprofile-closures
cargo +stage1 rustc --bin -- -Zprofile-closures
```
2021-06-28 14:21:55 -04:00
..
cgu_reuse_tracker.rs Make Diagnostic::span_fatal unconditionally raise an error 2021-05-08 23:12:04 -04:00
code_stats.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
config.rs Only hash OutputTypes keys in non-crate-hash mode 2021-06-21 17:22:35 -07:00
filesearch.rs Adjust target search algorithm for rustlib path 2021-05-10 19:15:19 +03:00
lib.rs remove cfg(bootstrap) 2021-05-24 11:07:48 -04:00
options.rs Introduce -Zprofile-closures to evaluate the impact of 2229 2021-06-28 14:21:55 -04:00
output.rs Use command line metadata path if provided 2021-05-28 22:24:24 -07:00
parse.rs Implement span quoting for proc-macros 2021-05-12 00:51:31 -04:00
search_paths.rs use strip_prefix over starts_with and manual slicing based on pattern length (clippy::manual_strip) 2020-09-17 10:13:16 +02:00
session.rs Emit warnings for unused fields in custom targets. 2021-06-17 21:48:02 +02:00
utils.rs Implement RFC 2951: Native link modifiers 2021-05-05 16:04:25 -07:00