[llvm-bugs] [Bug 38943] New: llvm-pdbutil crashes on stripped PDB

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Sep 13 14:46:55 PDT 2018


https://bugs.llvm.org/show_bug.cgi?id=38943

            Bug ID: 38943
           Summary: llvm-pdbutil crashes on stripped PDB
           Product: libraries
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: DebugInfo
          Assignee: unassignedbugs at nondot.org
          Reporter: nico.rieck at gmail.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 20879
  --> https://bugs.llvm.org/attachment.cgi?id=20879&action=edit
Stripped PDB sample

PDB files created with link.exe's -pdbstripped option cannot be fully inspected
with llvm-pdbutil. Such PDBS have no "/names" string (and thus no string table)
and modules have no module debug info stream (both are assumed always present
by llvm-pdbutil).

Minimal repro:

    // Compile with:
    //   cl -Zi test.cpp -link -dll -nodefaultlib -pdb:t.pdb -pdbstripped:s.pdb
    __declspec(noinline) unsigned _DllMainCRTStartup(void*, unsigned long,
void*)
    {
        return 1;
    }

-- 
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/20180913/7e259880/attachment.html>


More information about the llvm-bugs mailing list