feat(util): Separate debug module with proper stacktrace printing

Because we are using mingw, we can't just use window's
dbghelp library as the symbols created are in dwarf format.

Fortunately, the dwarfstack library already provides all the
facilities to easily print very descriptive stacktraces,
including function names, file names and line numbers,
when dwarf symbols are available.

This moves the incomplete exception handling portion from
signal to a separate module as well to improve scoping.
This commit is contained in:
icex2
2024-01-28 21:53:08 +01:00
parent 4c9ed32997
commit a70f7c625a
10 changed files with 384 additions and 83 deletions
Binary file not shown.
Binary file not shown.
+1
View File
@@ -0,0 +1 @@
Version/release: https://github.com/ssbssa/dwarfstack/releases/tag/2.2