[clang] [compiler-rt] Change compiler-rt lib search path for Hexagon-linux (PR #154530)

Brian Cain via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 20 07:19:28 PDT 2025


================
@@ -594,6 +592,9 @@ void HexagonToolChain::getHexagonLibraryPaths(const ArgList &Args,
     LibPaths.push_back(LibDirCpu);
     LibPaths.push_back(LibDir);
   }
+  if (getTriple().isMusl()) {
+    LibPaths.push_back(getCompilerRTPath());
+  }
 }
----------------
androm3da wrote:

Have you tested this change w/the toolchain build / llvm-test-suite?

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


More information about the llvm-commits mailing list