<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/130606>130606</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[lld-link] resolve defined symbols before undefineds
</td>
</tr>
<tr>
<th>Labels</th>
<td>
lld:COFF
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
nico
</td>
</tr>
</table>
<pre>
We agreed in #124294 that we should do this.
More links: https://reviews.llvm.org/D95985 (does this for ELF for regular files), https://reviews.llvm.org/D106293 (does this for lld/MachO for regular files), bd448f01a6 (lld/ELF for bitcode), #67445 (does this for lld/MachO for bitcode).
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJyMkk9v3CAQxT_N-IJiwQDe5cBhm61PjXLsGZuxTcuaCPBG-faVt9tG_Sf1NEjMe_PTvHGlhHklsqA_gD43bqtLynYNY2qG5N_sZ2JuzkSehZUBSoEKjWJ1cZW9EitL2qJnPrG6hNICPwE_PaVMLIb1awF5YkutL_sDsAfsM10DvZY2xuulTXkG7M9Gm6NmgEefqNyM2JQy-_ipv9VM8xZdZlOIVAAN4ON_mAreoZF_usboAfsnNy7P_3QfvFLHiQvX7frvih80Q6hj8nTvBJTdQam_0P8-513XNt5Kb6RxDVlxUKITSqNsFjtO45EUn-SEXKqDJG_Ij-SNMgK15E2wyFFzKbiQ6qh4O6FW2rhOTzQeBA2gOF1ciD9X0YRSNrJC8o53TXQDxXILG3EnlKfH574HxD38bHfVw7DNBRSPodT3lTY11Hg7kxj9wx4u6DPLVFK8EvM0hZU8K2-XIcXCBpr2G9jW-0dpthztr6HNoS7b0I7pAtjvY-7l4SWnLzRWwP7GXgD7O_7V4rcAAAD__3I42BM">