On Saturday, 9 November 2013 at 23:48:54 UTC, Martin Nowak wrote:
On Saturday, 9 November 2013 at 23:39:45 UTC, Timothee Cour wrote:
And yet lldb *can* display line numbers so the info is there.

Yes, in the debug info. Also look at deadalnix reply.

I've implemented a simple thing using addr2line. It uses dwarf debug information to resolve the addresses provided by the backtrace to line numbers.

https://github.com/yazd/backtrace-d

I also have some code that reads elf and dwarf, but it isn't pretty. It can do the same thing that addr2line does.

Reply via email to