Displaying 1 result from an estimated 1 matches for "lc_data_in_code".
2018 Aug 23
2
How does LLDB locate the DWARF information stored inside MACH-O .o files produced by LLVM and LLD?
...therwise 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. So I can find the file that
way. Then I parse the MACH-O .o file, which also has the LC_SYMTAB, as well
as an LC_SEGMENT_64 and LC_DATA_IN_CODE, and then finally a LC_DYSYMTAB.
But I don't see where the address-to-line information is, or any DWARF
information.
Where is LLDB getting this address-to-line info?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/att...