Merged today into the upstream GNU C Library code ahead of next month’s Glibc 2.42 release is support for SFrame stack tracing with ELF binaries on x86 and AArch64 architectures.
SFrame is a stack trace format that is lightweight and can overcome the run-time performance cost of involving frame pointers and losing a general purpose register. Claudiu Zissulescu of Oracle today upstreamed the necessary Glibc-side patches ahead of the Glibc 2.42 release in August.
The patches merged today included SFrame support on x86-based CPUs, SFrame support on AArch64 CPUs, SFrame stack tracing for ELF files, the new –enable-sframe build option, and relevant tests.
This SFrame stack trace support goes along with the support found in GNU Binutils 2.41+ and further work to be found in Binutils 2.45.
More details on the SFrame work for those interested via the SourceWare.org Wiki and further useful information also available via the Gentoo Wiki.