[llvm-bugs] [Bug 32912] New: Windows/x86_64: Assertion: HasWinCFI not set yet!
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed May 3 11:12:30 PDT 2017
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: unassignedbugs at nondot.org
Reporter: mail at timnn.me
CC: llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170503/88dcb6cf/attachment.html>
More information about the llvm-bugs
mailing list