[llvm-bugs] [Bug 42657] New: lld-link needs to copy .xdata into the PDB
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Jul 17 13:40:30 PDT 2019
https://bugs.llvm.org/show_bug.cgi?id=42657
Bug ID: 42657
Summary: lld-link needs to copy .xdata into the PDB
Product: lld
Version: unspecified
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: COFF
Assignee: unassignedbugs at nondot.org
Reporter: rnk at google.com
CC: amccarth at google.com, labath at google.com,
llvm-bugs at lists.llvm.org, ruiu at google.com
The use case is for the debugger to be able to load a minidump and unwind the
stack with just the PDB and without the images from the dump. To do that, the
debugger needs access to the unwind opcodes normally carried in the .xdata
section. This is analogous to copying the .eh_frame data from the main
executable into the stripped DWARF debug symbol object.
It looks like we would implement this by adding another "dbgstream" analogous
to the NewFPO data dbg stream. The DbiStreamBuilder::DbgStreams field is a list
of such streams.
We also, of course, need to dump this info.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190717/a9be1f64/attachment.html>
More information about the llvm-bugs
mailing list