Hey all, I've been experimenting with Binny a pure Nim library for generating fast stack traces using SFrame. The big appeal of SFrame is that it doesn't require using a register to hold frame pointers to unwind (walk) the stack. Read more about SFrame on LWN.
Runtime stack traces with Nim executables compiled with SFrame data from GCC and ELF debug symbols is working on AMD64! I'm developing on FreeBSD but it should work on Linux.
I'm posting here in case others want to hack on it too. It's just a side project to scratch an itch. It's not ready for general usage yet!
I'm thinking about adding a DWARF to SFrame generator for MacOS, though MacOS'es built-in unwinding libs might be easier to add.
There's an initial parser for DWARF debug. Mainly to convert stack traces to line numbers. It's sorta working.