<html>
    <head>
      <base href="http://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 --- - win64 PECOFF .pdata unwind info generated incompatible with ms link.exe"
   href="http://llvm.org/bugs/show_bug.cgi?id=22001">22001</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>win64 PECOFF .pdata unwind info generated incompatible with ms link.exe
          </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>Object
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>humeafo@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=13585" name="attach_13585" title="reproduce using the ll file">attachment 13585</a> <a href="attachment.cgi?id=13585&action=edit" title="reproduce using the ll file">[details]</a></span>
reproduce using the ll file

This has been once reported, but was considered to be the same as <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Win64 binaries are undebuggable due to lack of pdata unwind info"
   href="show_bug.cgi?id=19667">bug 19667</a>,
after the fix, I still encounter the same problem. Following steps can
reproduce the problem:

using msvc2013 x64 environment to build the llvm/clang trunk and then:

vcvars.bat  //for x64 msvc tools env such as link.exe

llvm-as b.ll
clang b.bc

then ms link.exe complains:

b-1e6a24.o : fatal error LNK1223: invalid or corrupt file: file contains
invalid .pdata contributions
clang.exe: error: linker command failed with exit code 1223 (use -v to see
invocation)


see attachment for sample file.</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>