<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:ncw@realvnc.com" title="Nicholas Wilson <ncw@realvnc.com>"> <span class="fn">Nicholas Wilson</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED INVALID - WASM backend fails on aliased symbols"
href="https://bugs.llvm.org/show_bug.cgi?id=35383">bug 35383</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;">Resolution</td>
<td>---
</td>
<td>INVALID
</td>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>ncw@realvnc.com
</td>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED INVALID - WASM backend fails on aliased symbols"
href="https://bugs.llvm.org/show_bug.cgi?id=35383#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED INVALID - WASM backend fails on aliased symbols"
href="https://bugs.llvm.org/show_bug.cgi?id=35383">bug 35383</a>
from <span class="vcard"><a class="email" href="mailto:ncw@realvnc.com" title="Nicholas Wilson <ncw@realvnc.com>"> <span class="fn">Nicholas Wilson</span></a>
</span></b>
<pre>I've worked it out - it's INVALID, my bad.
I was confused because the ".o" Wasm files don't appear right. Indeed they're
not right, what I hadn't realised is that relocations are used to clear up the
problem at link time. I hadn't realised that all function indices in Wasm refer
to the same index space, so a single-index relocation is able to redirect a
call between exported/imported/defined functions.
There *is* still a problem with weak symbols causing duplicate names to be
written out, as illustrated by the following testcase, but I'll sort that in
another review request.</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>