<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:rnk@google.com" title="Reid Kleckner <rnk@google.com>"> <span class="fn">Reid Kleckner</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WONTFIX - naked functions with parameters are impossible to use correctly"
href="https://bugs.llvm.org/show_bug.cgi?id=24556">bug 24556</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>WONTFIX
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WONTFIX - naked functions with parameters are impossible to use correctly"
href="https://bugs.llvm.org/show_bug.cgi?id=24556#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WONTFIX - naked functions with parameters are impossible to use correctly"
href="https://bugs.llvm.org/show_bug.cgi?id=24556">bug 24556</a>
from <span class="vcard"><a class="email" href="mailto:rnk@google.com" title="Reid Kleckner <rnk@google.com>"> <span class="fn">Reid Kleckner</span></a>
</span></b>
<pre>I think this is working as intended for now. We reject these parameter usages
up front:
t.cpp:34:13: error: parameter references not allowed in naked functions
, "l"(aSignal), "l"(aInfo), "l"(aContext)
^
t.cpp:19:16: note: attribute is here
__attribute__((naked)) void
^
It's not as helpful as we could hypothetically be, but at least the user knows
what to do: refer to the parameters manually by register or memory location.</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>