<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </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 --- - tpi hash verification fails on enums"
   href="https://llvm.org/bugs/show_bug.cgi?id=28437">28437</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>tpi hash verification fails on enums
          </td>
        </tr>

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

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

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows NT
          </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>zturner@google.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>D:\>dir foo.*
 Volume in drive D is New Volume
 Volume Serial Number is 2EC5-6F01

 Directory of D:\

03/31/2016  10:21 AM    <DIR>          foo
06/03/2016  12:22 PM               181 foo.c
               1 File(s)            181 bytes
               1 Dir(s)  259,980,681,216 bytes free

D:\>cl /Zi foo.c
Microsoft (R) C/C++ Optimizing Compiler Version 19.00.23918 for x86
Copyright (C) Microsoft Corporation.  All rights reserved.

foo.c
Microsoft (R) Incremental Linker Version 14.00.23918.0
Copyright (C) Microsoft Corporation.  All rights reserved.

/out:foo.exe
/debug
foo.obj

D:\>d:\src\llvmbuild\ninja\bin\llvm-pdbdump.exe raw -tpi-records foo.pdb
llvm-pdbdump: Native PDB Error: The Type record has an invalid hash value. 
Type index is 0x2917


D:\>type foo.c
typedef unsigned short wchar_t;

static unsigned short MyUShort = 7;
static wchar_t MyWchart = 7;

int main(int argc, char **argv) {
  return (int)MyUShort + (int)MyWchart;
}</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>