<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 - Windows/x86_64: Assertion: HasWinCFI not set yet!"
href="https://bugs.llvm.org/show_bug.cgi?id=32912">32912</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Windows/x86_64: Assertion: HasWinCFI not set yet!
</td>
</tr>
<tr>
<th>Product</th>
<td>libraries
</td>
</tr>
<tr>
<th>Version</th>
<td>4.0
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</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>mail@timnn.me
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>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
}
```</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>