On Thursday, 14 June 2018 at 05:42:22 UTC, Joakim wrote:
On Thursday, 14 June 2018 at 01:19:30 UTC, Yuxuan Shui wrote:
Just ran into a problem where program will crash during stack
trace. Turns out not only does druntime not support compressed
debug info, it cannot handle it at all.
So I was thinking why don't we use a existing and proven
library for this, instead of roll our own?
Druntime does use externally supplied backtrace, if available:
https://github.com/dlang/druntime/blob/master/src/core/runtime.d#L727
Hmm, but not on DWARF platforms like linux or macOS, I see what
you mean. Should be pretty easy for you to modify that code to do
what you want though.