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

    <tr>
        <th>Summary</th>
        <td>
            Use LLD by default in Clang, without the flag `-fuse-ld=lld`
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            clang,
            lld
      </td>
    </tr>

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

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

<pre>
    On Windows, Clang & LLD try to invoke Microsoft's linker `link.exe` by default. If there isn't a `link.exe` on my system, LLD won't work. To use LLD itself, I must manually enable the flag `-fuse-ld=lld` in Clang.

Is it possible to use LLD itself by default without this flag?
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx8kcGOmzAQhp_GXEZBMBATH3zYJkKKtFUvrXo2MIAbgyPGJOXtKydb7WoPe7EteWY-ff8YZjvMRFrsv4n9KTFrGP2iizxXhVQyl0nju03_mOG3nTt_Z4FHODozDyBQwuvrCcKyQfBg55u_EHy37eLZ90FgxeDsfKEFhMziK6W_JGQGzQYd9WZ1IYVzD2GkhcDyLLAKYD5X-xmmDXjjQFOkR-bdP4vvfrmk8NPDyvT4sIHJ9bHsDNPKASYzr8a5DWg2jaMIg96ZIVJ2_cq0c50oTs51kWXnp1wqspPIXp7nmcEGuHpm-5jwmfbBB-42jH4NEEbLD44o6qTTRacKZRLSeZWr8lDtlUpGbahqse8blcm8aA59UWQNlkq2rVRdZlRiNWZYZhKrPEdZHNLY3TV7I0sle8p7UWY0GetS525T6pchscwraSUPqkqcacjxY7WIbfQSiAKPAjH6IsaNLzr27pp1YFFmznLg92nBBkf615vuB8__QcWk352_iDZZF6fHEK4siheBtcB6sGFcm7T1k8A6It-u3XXxf6gNAuuHDQusn0I3jf8CAAD__wGJ2ik">