<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - llvm-pdbutil crashes on stripped PDB"
   href="https://bugs.llvm.org/show_bug.cgi?id=38943">38943</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>llvm-pdbutil crashes on stripped PDB
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>DebugInfo
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>nico.rieck@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=20879" name="attach_20879" title="Stripped PDB sample">attachment 20879</a> <a href="attachment.cgi?id=20879&action=edit" title="Stripped PDB sample">[details]</a></span>
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;
    }</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>