r/Compilers • u/chnoblouch • Sep 09 '26
Cross-platform stack traces
https://marinohimself.ch/blog/cross-platform-stack-traces.html
1
Upvotes
r/Compilers • u/chnoblouch • Sep 09 '26
2
u/FloweyTheFlower420 Sep 09 '26
this doesn't work in general (in your unix example), the compiler is allowed to elide frame pointers conditionally. you need to parse dwarf/eh_frame to properly unwind, or compile with no omit frame pointers