<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 - DWARF CFI assertion for cfi_restores when regnum is out of range."
href="https://bugs.llvm.org/show_bug.cgi?id=38561">38561</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>DWARF CFI assertion for cfi_restores when regnum is out of range.
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</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>new bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>iains-llvm@btconnect.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=20712" name="attach_20712" title="Use DW_CFA_restore_extended when needed.">attachment 20712</a> <a href="attachment.cgi?id=20712&action=edit" title="Use DW_CFA_restore_extended when needed.">[details]</a></span>
Use DW_CFA_restore_extended when needed.
the current code for cfi_restore is not checking the register number (it needs
to fit into 6 bits)
with larger register numbers an assertion is fired when we try to output the
fragment. it's likely wrong in places for many targets but doesn't fire
because the total size of the integer is < 8b
patch checks the reg number and uses the DW_CFA_restore_extended where needed.
No testsuite changes ( :( )</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>