[clang] [compiler-rt] [libunwind] [llvm] [clang] recognize any *-ld.lld variant (PR #117338)

Brian Cain via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 22 15:26:22 PST 2024


================
@@ -974,8 +974,11 @@ std::string ToolChain::GetLinkerPath(bool *LinkerIsLLD) const {
       if (llvm::sys::path::parent_path(Path).empty())
         Path = GetProgramPath(A->getValue());
       if (llvm::sys::fs::can_execute(Path)) {
+        SmallString<1024> RealPath;
+        if (llvm::sys::fs::real_path(Path, RealPath))
----------------
androm3da wrote:

Fixed

https://github.com/llvm/llvm-project/pull/117338


More information about the cfe-commits mailing list