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

    <tr>
        <th>Summary</th>
        <td>
            lld-link does not support the /WINMD option
        </td>
    </tr>

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

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

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

<pre>
    `/WINMD[:{NO|ONLY}]`: Enables generation of a Windows Runtime Metadata (.winmd) file - https://learn.microsoft.com/en-us/cpp/build/reference/winmd-generate-windows-metadata?view=msvc-170

This flag is passed by msbuild if Project->Link->GenerateWindowsMetadata is set in the project file.

lld-link currently fails with "lld-link : error : could not open '/WINMD:NO': no such file or directory" if this flag is given.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxVUkuPmzAQ_jXmYoHAhhAOHLLNpqq0m62qSqseDQzg1tjIj6D8-w4km24l5LHN-HvMTGO6a012KWGn92_n1yMpngg_kPLp_EbKL2_nl1-kxMvjmsIP9FmLRoGjA2iwwkujqempoO9Sd2Zx9EfQXk5AX8GLTnhBCdsni9RTR1hFe6mAxnT0fnYrCzvhp0BYnUyytcaZ3ietmfAWdBwcxnaecW2CVIhwstCDBd0C7jfU-C4E4uWmIJ7uzISfLhIWwo-Tu7RxVqYkPZL0cFt_jtLRXomBYpyFc9DR5kontzFR2dPv1vyG1seEP79I_WeNX-9cd7MPjwjhwFOpqR-BzreHm9nkM6dSXawQirbBogmvrrQXUjm6SD9iodgjYa00WGvstmtNQEnaeGpm0JhYPprFD9gmPGOWNtSFdrzVGF920qIKY68IvPrxnx0P8gI6iaDOdrtdlpZplUddzbuKVyLy0iuoH2I6g_1e2V2YZ2P9ZvJDAUpahyAKVtX_t3VAU6G5d1Opy0eI7_XBo3QuwNrkYp_nRTTWVc_TXZdle-CtKBnrCybSbF-xIt-xDppIiQaUq9chZUzDQjcI3OOERrJmKWMZPsgKnvE8afY58H1XAc9Zy8uC5ClMWPFk1ZEYO0S23iQ1YXD4U0nn3b-fOBVy0AAbHeKL4Edja6EuUo-mHYOONvp6k_8X12gPuQ">