<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 - [Win64] EH frame emission fails"
   href="https://bugs.llvm.org/show_bug.cgi?id=32335">32335</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[Win64] EH frame emission fails
          </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>Linux
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>Backend: X86
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>david.majnemer@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org, rnk@google.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>The LDC folks hit an issue when updating to LLVM 4.0:
<a href="https://github.com/ldc-developers/ldc/pull/2036#issuecomment-287197760">https://github.com/ldc-developers/ldc/pull/2036#issuecomment-287197760</a>

$ cat ~/t.ll
target datalayout = "e-m:w-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-windows-msvc"

declare i32 @__CxxFrameHandler3(...)

define void @f1() #1 personality i32 (...)* @__CxxFrameHandler3 {
  ret void
}

define void @f2() {
  ret void
}

attributes #1 = { nounwind }
$ ~/llvm/Release+Asserts/bin/llc ~/t.ll
LLVM ERROR: No open Win64 EH frame function!


Reid, I believe you changed some of the MC stuff between 3.0 and 4.0, can you
take a look?</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>