<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 - lld incorrectly links shared library with a static indirect call"
href="https://bugs.llvm.org/show_bug.cgi?id=33707">33707</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>lld incorrectly links shared library with a static indirect call
</td>
</tr>
<tr>
<th>Product</th>
<td>lld
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>release blocker
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>ELF
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>orivej@gmx.fr
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>lld from master [1] links `test.so` in this example [2] in a way that `main`
crashes because after `memsetv = memset` `memsetv` has incorrect address. This
is a regression since LLD 4.0.0.
[1] <a href="https://github.com/llvm-project/lld/commit/3ae143c">https://github.com/llvm-project/lld/commit/3ae143c</a>
[2] <a href="https://gist.github.com/orivej/0c7c51a6bbf06ce55d8da7a99e2d8cff">https://gist.github.com/orivej/0c7c51a6bbf06ce55d8da7a99e2d8cff</a></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>