Backtraces on Linux 64-bit
yazd
yazan.dabain at gmail.com
Sat Nov 9 23:01:52 PST 2013
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.
More information about the Digitalmars-d
mailing list