[clang] [FatLTO] Detect LLD linker more reliably (PR #128285)
Fangrui Song via cfe-commits
cfe-commits at lists.llvm.org
Fri Feb 21 23:58:12 PST 2025
================
@@ -862,13 +862,12 @@ void tools::addLTOOptions(const ToolChain &ToolChain, const ArgList &Args,
const llvm::Triple &Triple = ToolChain.getTriple();
----------------
MaskRay wrote:
This change would be desired as -fuse-ld= is better than --ld-path=. However, some users customize CLANG_DEFAULT_LINKER or hard code lld. They have no -fuse-ld= but still use lld....
https://github.com/llvm/llvm-project/pull/128285
More information about the cfe-commits
mailing list