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: unassignedb...@nondot.org
          Reporter: r...@google.com
                CC: amcca...@google.com, lab...@google.com,
                    llvm-bugs@lists.llvm.org, r...@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to