================
@@ -1322,6 +1306,14 @@ std::string ToolChain::GetLinkerPath(bool *LinkerIsLLD)
const {
*LinkerIsLLD = UseLinker == "lld";
return LinkerPath;
}
+
+ // If ld.<name> was not found, try the name directly (e.g. lld-link).
----------------
mstorsjo wrote:
This change really sounds like its own separate change, and it's unclear to me
whether this even is necessary/worthwhile. It's already possible to specify
`-fuse-ld=lld`, which for the MSVC mode linking invokes `lld-link`.
This needs to be clearly split out and raised as its own Clang change - and it
also needs tests.
https://github.com/llvm/llvm-project/pull/205390
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits