[llvm-bugs] [Bug 28437] New: tpi hash verification fails on enums

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Jul 6 09:59:52 PDT 2016


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

            Bug ID: 28437
           Summary: tpi hash verification fails on enums
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: DebugInfo
          Assignee: unassignedbugs at nondot.org
          Reporter: zturner at google.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

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;
}

-- 
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/20160706/f1c248b9/attachment.html>


More information about the llvm-bugs mailing list