Enabling frame pointers across all toolchains #9984
mwcampbell
started this conversation in
Ideas
Replies: 2 comments
-
yes we probably should. |
Beta Was this translation helpful? Give feedback.
0 replies
-
The main area where omitting frame pointers is useful is on register starved architectures (e.g. x86-32). Wolfi only supports x86-64 and aarch64 which are not register starved. Wolfi should definitely just add frame pointers. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Following the lead of Fedora and now Ubuntu, I think it would be a good idea for Wolfi to enable frame pointers across all toolchains (for example, using
-fno-omit-frame-pointer
by default in GCC and clang). I don't think Wolfi's target audience would be particularly sensitive to the marginal performance hit that comes with this change, and it would enable sampling profilers, as well as other benefits for debugging and observability. More background, in the context of the recent Ubuntu announcement: https://www.polarsignals.com/blog/posts/2023/12/13/embracing-frame-pointers-in-ubuntu-24-04-ltsBeta Was this translation helpful? Give feedback.
All reactions