<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 --- - Assertion failed: Data.size() <= UINT16_MAX, file llvm\lib\DebugInfo\CodeView\MemoryTypeTableBuilder.cpp, line 17"
   href="https://llvm.org/bugs/show_bug.cgi?id=29098">29098</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Assertion failed: Data.size() <= UINT16_MAX, file llvm\lib\DebugInfo\CodeView\MemoryTypeTableBuilder.cpp, line 17
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </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>-New Bugs
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>mikhail.strelnikov@gmail.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>Created <span class=""><a href="attachment.cgi?id=17030" name="attach_17030" title="main-266263.cpp">attachment 17030</a> <a href="attachment.cgi?id=17030&action=edit" title="main-266263.cpp">[details]</a></span>
main-266263.cpp

I'm using LLVM-4.0.0-r277442-win64.exe (same for trunk) to compile attached
source file in "Release" mode ("Debug" does compile normally).

1>  Assertion failed: Data.size() <= UINT16_MAX, file
F:\llvm_package_HEAD\llvm\lib\DebugInfo\CodeView\MemoryTypeTableBuilder.cpp,
line 17
1>  Wrote crash dump file "F:\TEMP\CL.exe-a8e6f0.dmp"
1>  0x00007FF6554D6616 (0x0000000000000016 0x0000001E46F8BD88
0x00007FF6554D6610 0x00007FF656FA5583)
1>  0x00007FF656FA5926 (0x0000000000000001 0x0000001E00000000
0x00007FF600000000 0x0000000000000000)
1>  0x00007FF656F97E80 (0x00007FF657CEB500 0x0000000000000404
0x00007FF657AFEA7E 0x00007FF657AFE9E6)
1>  0x00007FF656F92B7E (0x0000000300000000 0x0000000000009521
0x0000015EBEF5A8F0 0x0000015EBEF50000)
1>  0x00007FF656F92C1A (0x0000015EBEB9DEC0 0x00000000BE870280
0x0000001E46F8C81C 0x0000000000000000)
1>  0x00007FF655BFBBCA (0x0000015EBEF5A900 0x00007FF6540B4BB5
0x0000001E46F8C560 0x00007FF655170B20)
1>  0x00007FF655BE707A (0x0000000000000000 0x0000015EBEE883B8
0x0000000000000000 0x0000015EBEE883A0)
1>  0x00007FF655B9FCE0 (0x0000015EBE875B30 0x0000001E46F8C840
0x0000015EBEBE0980 0x0000000000000000)
1>  0x00007FF655B9E024 (0x0000001E46F8C8D8 0x000000000000003F
0x0000015EBEB9E0A8 0x0000001E46F8C8B0)
1>  0x00007FF655B9604D (0x0000000000000000 0x0000000000000000
0x0000000000000000 0x0000000000000000)
1>  0x00007FF655BA1D04 (0x3231643230336131 0x7372617040333263
0x7261686355407265 0x407265737261705F)
1>  0x00007FF655BA2D87 (0x0000001E46F8CA18 0x0000000000000000
0x0000001E46F8C9E0 0x00007FF655B96FE3)
1>  0x00007FF655B99F91 (0x0000000000000009 0x0000000000000000
0x000000000000000F 0x000044555DDF9145)
1>  0x00007FF655B970CF (0x0000015EBE840F00 0x0000001E46F8CCB0
0x0000001E46F8CCE0 0x00007FF657D2077C)
1>  0x00007FF655B85A79 (0x0000015EBEE42E10 0x0000015EBCB4ABA0
0x0000015EBCB4ABA0 0x00007FF657D10B8E)
1>  0x00007FF6550C34F8 (0x000044555DDF9145 0x0000015EBEC66430
0x0000015EBEC66428 0x0000000000000000)
1>  0x00007FF6550C3A7F (0x0100015E00000000 0x0000001E46F8D2B8
0x0000000300000000 0x0000001E46F8D2F4)
1>  0x00007FF655720DB7 (0x0000015EBCBF94D0 0x000044555DDF9145
0x0000000000000000 0x0000000000000000)
1>  0x00007FF656F5CBE2 (0x0000015EBCB08EB0 0x0000000500000010
0x0000000800000000 0x0000015EBCB07150)
1>  0x00007FF6561696E2 (0x0000000000000000 0x0000000000000000
0x0000015EBCB43990 0x0000015EBCB0CF00)
1>  0x00007FF655B237C9 (0x0000000000000001 0x00007FF65773CD07
0x0000000000000004 0x00007FF600000013)
1>  0x00007FF655AD50B1 (0x0000000000000028 0x00007FF656F8B9D5
0x0000001E00000000 0x0000000000000010)
1>  0x00007FF655B6CCE2 (0x0000000000000D20 0x0000000000000001
0x00000031000000E5 0x0000000000000000)
1>  0x00007FF6540B6809 (0x000000000000005E 0x0000015EBCB244B0
0x0000001E46F8E620 0x00007FF9BB48BDFF)
1>  0x00007FF6540B42AD (0x0000000000000000 0x0000000000000000
0x0000000000000000 0x0000000000000000)
1>  0x00007FF656F8C1DD (0x0000000000000000 0x0000000000000000
0x0000000000000000 0x0000000000000000)
1>  0x00007FF9B9748364 (0x0000000000000000 0x0000000000000000
0x0000000000000000 0x0000000000000000), BaseThreadInitThunk() + 0x14 bytes(s)
1>  0x00007FF9BB4C5E91 (0x0000000000000000 0x0000000000000000
0x0000000000000000 0x0000000000000000), RtlUserThreadStart() + 0x21 bytes(s)
1>clang-cl.exe : error : clang frontend command failed due to signal (use -v to
see invocation)
1>  clang version 4.0.0 (trunk)
1>  Target: x86_64-pc-windows-msvc
1>  Thread model: posix</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>