ast icon indicating copy to clipboard operation
ast copied to clipboard

Add support for the libbacktrace library

Open krader1961 opened this issue 5 years ago • 0 comments

The libbacktrace library makes it possible to produce backtraces comparable to what you would see from gdb or lldb. Without having to shell out to commands like addr2line or atos like we currently do. This would make producing useful backtraces much more efficient. Not to mention make it possible to efficiently produce diagnostic output that needs to convert a pointer to a symbol name and file+line such as when printing a pointer to a ksh function that is embedded in a struct.

Only one of the distros I have setup for running ksh tests has that library installed by default. So we'll need to embed the libbacktrace source in this project.

krader1961 avatar Mar 04 '19 04:03 krader1961