Why are we not using libbacktrace for backtrace?
Joakim
dlang at joakim.fea.st
Thu Jun 14 05:42:22 UTC 2018
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
More information about the Digitalmars-d
mailing list