================
@@ -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();
-  }
----------------
quic-k wrote:

yes, the installation command needs to be in sync with where the clang driver 
looks for the libraries, and nothing should break
I wish there was a way to keep the driver and installation in sync but I don't 
think there is
also if this is merged, i will create a PR to toolchain_for_hexagon repo to 
accommodate the changes here

https://github.com/llvm/llvm-project/pull/154530
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to