<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/60829>60829</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            [Wasm] weak symbol issue
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          yamt
      </td>
    </tr>
</table>

<pre>
    when you have weak and non-weak references to a non exiting symbol, linker seems to treat them as they were all weak references.
a small demo code: https://github.com/yamt/garbage/tree/master/c/weak
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx8kcHO2yAQhJ8GX1aJ8Dp27AOHtJFfoecFr236g_kF-E_99hVOpUo99DSCYQf4hlKyy8asRPtNtM-K9ryGqA7yudJhOtRr5Q2OsMNKXwwvpg-gbYItbJdzEXnmyJvhBDkAFQP4l812WyAdXgcn8Ds4u31whMTsz3M5MmXIK3ugVPSAF0cGcg7-ib0K-RTyQZB8cSf2AUyYWDQPWHP-TKJ5CBwFjovN666vJniBY_lB2aOoaWGBY45cxFPKHAWORuBYrqom1UxDM1DFqu7uXVfj0LbVqqSpzUzY3zQ2c2faruv1ZIa57udWIuvKKpTYSKzvsr0NdXu9z3ruu_pmhvtEzTyIm2RP1l2d-_LXEJfKprSz6mSPQ-VIs0sneMSNX3CaArH0EFWZueh9SeImnU05_U3JNruzsR-UvGifb2Rv2u-Uao9O_YdOifojl88YfrIpsM7RJHA8H_g7AAD__9WMsRg">