4 ms·
Big advantage for DWARF2 over frame pointers is that it actually works for unwinding on aarch64.
by bregma 4y ago
Big advantage for DWARF2 over frame pointers is that it actually works for unwinding on aarch64.
- the_mitsuhiko 4y agoApple'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.
- zznzz 4y agoCan 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.
- jmrjmr 4y agoWhy don't frame pointers work on aarch64?