diff options
| author | Nilstrieb <48135649+Nilstrieb@users.noreply.github.com> | 2024-02-16 22:11:19 +0100 |
|---|---|---|
| committer | Nilstrieb <48135649+Nilstrieb@users.noreply.github.com> | 2024-02-18 22:23:09 +0100 |
| commit | 09e60434830d4b6387df03ee54cfb5207a06a1ff (patch) | |
| tree | 37233abd73fb29fa8b988677d448c4b4f744cb5a /config.example.toml | |
| parent | 8a497723e311a62fccb1f0bf40e79c6519744a12 (diff) | |
| download | rust-09e60434830d4b6387df03ee54cfb5207a06a1ff.tar.gz rust-09e60434830d4b6387df03ee54cfb5207a06a1ff.zip | |
Add `rust.frame-pointers` config option
This is very helpful for profiling. I've hacked this in many times, so let's add it properly.
Diffstat (limited to 'config.example.toml')
| -rw-r--r-- | config.example.toml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/config.example.toml b/config.example.toml index 975fcd71fc9..cef33a7905a 100644 --- a/config.example.toml +++ b/config.example.toml @@ -612,6 +612,10 @@ # Indicates whether symbols should be stripped using `-Cstrip=symbols`. #strip = false +# Forces frame pointers to be used with `-Cforce-frame-pointers`. +# This can be helpful for profiling at a small performance cost. +# frame-pointers = false + # Indicates whether stack protectors should be used # via the unstable option `-Zstack-protector`. # |
