================
@@ -583,16 +682,38 @@ void HexagonToolChain::getHexagonLibraryPaths(const 
ArgList &Args,
     HasG0 = *G == 0;
 
   const std::string CpuVer = GetTargetCPUVersion(Args).str();
-  for (auto &Dir : RootDirs) {
-    std::string LibDir = Dir + "/hexagon/lib";
-    std::string LibDirCpu = LibDir + '/' + CpuVer;
+  // Special-case Picolibc baremetal layout:
----------------
androm3da wrote:

Once picolibc stabilizes, maybe we could consider migrating other targets to 
use this and make it the general case.

https://github.com/llvm/llvm-project/pull/169613
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to