[clang] [compiler-rt] Change compiler-rt lib search path for Hexagon-linux (PR #154530)
Brian Cain via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 20 07:22:46 PDT 2025
================
@@ -547,11 +548,8 @@ HexagonToolChain::getSmallDataThreshold(const ArgList &Args) {
}
std::string HexagonToolChain::getCompilerRTPath() const {
- SmallString<128> Dir(getDriver().SysRoot);
- llvm::sys::path::append(Dir, "usr", "lib");
- if (!SelectedMultilibs.empty()) {
- Dir += SelectedMultilibs.back().gccSuffix();
- }
----------------
androm3da wrote:
I hope this would still work for a native toolchain. I think it would, we'd just have to make sure that we install the libraries the same way we do for the cross-toolchain.
https://github.com/llvm/llvm-project/pull/154530
More information about the cfe-commits
mailing list