[clang] [Driver][RISCV] Fix incorrect compiler-rt path override in BareMetal toolchain after RISCVToolChain removal (PR #146849)
Garvit Gupta via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 7 03:40:14 PDT 2025
================
@@ -206,6 +206,15 @@ std::string BareMetal::computeSysRoot() const {
return computeClangRuntimesSysRoot(D, /*IncludeTriple*/ true);
}
+std::string BareMetal::getCompilerRTPath() const {
+ if (IsGCCInstallationValid || detectGCCToolchainAdjacent(getDriver())) {
+ SmallString<128> Path(getDriver().ResourceDir);
----------------
quic-garvgupt wrote:
Done
https://github.com/llvm/llvm-project/pull/146849
More information about the cfe-commits
mailing list