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

            Bug ID: 32912
           Summary: Windows/x86_64: Assertion: HasWinCFI not set yet!
           Product: libraries
           Version: 4.0
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: X86
          Assignee: unassignedb...@nondot.org
          Reporter: m...@timnn.me
                CC: llvm-bugs@lists.llvm.org

I get the Assetion

llc:
/home/logic/build-tmp/rust-src/src/llvm/include/llvm/CodeGen/MachineFunction.h:452:
bool llvm::MachineFunction::hasWinCFI() const: Assertion `HasWinCFI.hasValue()
&& "HasWinCFI not set yet!"' failed.

```
Stack dump:
0.      Program arguments: llc naked.ll
1.      Running pass 'Function Pass Manager' on module 'naked.ll'.
2.      Running pass 'X86 Assembly Printer' on function
'@_ZN5naked2_f17h37d58925d66289bcE'
```

when attempting to compile the following IR with llc:

```
target datalayout = "e-m:w-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-windows-msvc"

define internal void @_ZN5naked2_f17h37d58925d66289bcE() naked {
start:
  ret void
}
```

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to