[llvm-commits] [PATCH]: Fix for DW_at_stmt_list offset
Krister Wombell
kuwerty at gmail.com
Thu Aug 26 01:08:18 PDT 2010
In the compilation unit DIE, DW_at_stmt_list is supposed to be an offset
into the debug_line information where the line program for this compile unit
begins.
It needs to be a label so that a relocation is emitted and during final
linking the offset is adjusted. Without this all CUs contain offset 0 (and
only 1 of them will be correct)
Mostly been able to debug an ELF program under gdb now.
Krister
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20100826/cf71f5db/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stmt_list.patch
Type: text/x-patch
Size: 2250 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20100826/cf71f5db/attachment.bin>
More information about the llvm-commits
mailing list