From 09e60434830d4b6387df03ee54cfb5207a06a1ff Mon Sep 17 00:00:00 2001 From: Nilstrieb <48135649+Nilstrieb@users.noreply.github.com> Date: Fri, 16 Feb 2024 22:11:19 +0100 Subject: 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. --- config.example.toml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'config.example.toml') 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`. # -- cgit 1.4.1-3-g733a5