Displaying 1 result from an estimated 1 matches for "samhuri".
2018 Aug 23
2
How does LLDB locate the DWARF information stored inside MACH-O .o files produced by LLVM and LLD?
When I make a simple test program and call abort() and use LLDB to debug
it, it has address-to-line mapping. If I then delete the .o file and run
LLDB again, it loses the address-to-line mapping. So there must be DWARF
info, or otherwise address-to-line info in the .o file.
I'm parsing the MACH-O executable, which has a LC_SYMTAB entry, and one of
the entries is the file path of the .o file.