News for hackers. Stuff that matters.
Re:Frame pointers vs. DWARF – my verdict by bregma on Wednesday February 15, 2023 @06:57AM (#34802646)
Big advantage for DWARF2 over frame pointers is that it actually works for unwinding on aarch64.
Re:Frame pointers vs. DWARF – my verdict by the_mitsuhiko on Wednesday February 15, 2023 @07:00AM (#34802665)
Apple's version of AARCH64 requires that the frame pointer register frame record. DWARF Information is not necessary to unwind there. It's lovely and I applaud Apple for that decision.
Re:Frame pointers vs. DWARF – my verdict by zznzz on Wednesday February 15, 2023 @10:09AM (#34804826)
Can you give more detail?

AFAIK frame pointers work fine for unwinding on aarch64. And on aarch64 the gcc default is not to omit frame pointers and IIRC when the default was switched at some point it was treated as a bug and reverted (not sure if required in the ABI or just strongly preferred by the community). So IME generally unwinding with frame pointers on aarch64 works more often than on amd64 since you don’t have to recompile the world.

Re:Frame pointers vs. DWARF – my verdict by jmrjmr on Wednesday February 15, 2023 @10:31AM (#34805087)
Why don't frame pointers work on aarch64?