rust/compiler/rustc_session/src
Guillaume Gomez dfd30d7b70
Rollup merge of #86652 - nagisa:nagisa/non-leaf-fp, r=petrochenkov
Add support for leaf function frame pointer elimination

This PR adds ability for the target specifications to specify frame
pointer emission type that's not just “always” or “whatever cg decides”.

In particular there's a new mode that allows omission of the frame
pointer for leaf functions (those that don't call any other functions).

We then set this new mode for Aarch64-based Apple targets.

Fixes #86196
2021-07-01 11:15:41 +02: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 Add support for leaf fn frame pointer elimination 2021-06-30 19:45:17 +03:00
utils.rs Implement RFC 2951: Native link modifiers 2021-05-05 16:04:25 -07:00