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

    <tr>
        <th>Summary</th>
        <td>
            Add support for `--import-instr-limit` to wasm-ld
        </td>
    </tr>

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

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

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

<pre>
    `--import-instr-limit` is used to reduce binary size with ThinLTO. It passes through on ELF via `-plugin-opt` which `wasm-ld` doesn't appear to use.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJx8kMGqnTAURb8mTg5KEjXqIINXWqHwoJP3A9GcmrTRSE7y5Pbri5cLnXUU2OHstVmGyG8Homb9F9Z_rUzJLiZ9mfDbHxs-MMUl5mqJ9qGZ4nXt9zOmXPuDcqqD331mioMnKIQWcoSEtqwIiz9MegD5PwiXzw4-nD_eP3408D3DaYiQILsUy-YgHvDtfYZPb-BmnKFs_qjj-ay-nF_dnV-G9jrYO7MR6WByyGDOE026uYWwqaxu7dROpkIthnZQ3aiErJwWalIcrZy6FUdl-bgKoYZp5L00ckBVeS257LmQrVCCC9mMk2r5OPCuH_vB9C3rOO7GhyaEz72Jaas8UUEtZCfaqQpmwUBPi1IeeMHzl0l5S036PqqXshHrePCU6V9N9jmgfrMWqJy3W_gZE_zHdY7wUlGVFLTL-STWvjE5MzlvPruyNGvcmZxvxuupzxR_4ZqZnJ_LiMn5Nf1Ty78BAAD__6-4pjs">