[clang] [compiler-rt] Change compiler-rt lib search path for Hexagon-linux (PR #154530)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 20 22:52:08 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());
+ }
}
----------------
quic-k wrote:
if you mean that the correct path is added or not, then yes, it works
this path is added by the driver
`-L<install-dir>/lib/clang/22/lib/hexagon-unknown-linux-musl`
I will try to add this as a test if possible
https://github.com/llvm/llvm-project/pull/154530
More information about the cfe-commits
mailing list