[llvm-bugs] [Bug 37735] New: partial linking results in corrupt debug info
llvm-bugs at lists.llvm.org
Thu Jun 7 08:06:33 PDT 2018
Bug ID: 37735
Summary: partial linking results in corrupt debug info
Assignee: unassignedbugs at nondot.org
Reporter: markj at FreeBSD.org
CC: llvm-bugs at lists.llvm.org
lld doesn't appear to do any processing of relocations when performing partial
linking. This causes concrete problems with, e.g., debug info.
I'll attach a couple of sample object files in a follow-up comment. The gist
of the problem is that both object files contain DIEs with a DW_AT_stmt_list
attribute, and their values are relocated against the address of the
.debug_line section. When the .debug_line sections are concatenated in the
output object file, the attribute values don't get updated accordingly.
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-bugs