[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


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

            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:
https://github.com/ldc-developers/ldc/pull/2036#issuecomment-287197760

$ 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