<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 - Stack protector + coroutines + c++ exceptions causing `musttail call must precede a ret with an optional bitcast`"
href="https://bugs.llvm.org/show_bug.cgi?id=50161">50161</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Stack protector + coroutines + c++ exceptions causing `musttail call must precede a ret with an optional bitcast`
</td>
</tr>
<tr>
<th>Product</th>
<td>libraries
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</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>Common Code Generator Code
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>nathan@lanza.io
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>As the title said, we (Facebook) were hitting an assert with coroutines, stack
protector and c++ exceptions generating a musttail call that didn't immediately
precede a ret. I fixed it by cherrypicking the below:
5e3d9fcc3a8802cea5b850a3ca40c515d916bf82
I could run creduce and generate a simple example if need be, but the diff's
contents and it's description are pretty clear and the pick is clean.</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>