[llvm-bugs] [Bug 32335] New: [Win64] EH frame emission fails

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Mar 17 19:12:12 PDT 2017


            Bug ID: 32335
           Summary: [Win64] EH frame emission fails
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: X86
          Assignee: unassignedbugs at nondot.org
          Reporter: david.majnemer at gmail.com
                CC: llvm-bugs at lists.llvm.org, rnk at google.com

The LDC folks hit an issue when updating to LLVM 4.0:

$ 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?

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/20170318/9934b02a/attachment-0001.html>

More information about the llvm-bugs mailing list