[clang] [llvm] [clang][Hexagon] Add Picolibc as part of triple (PR #169613)
Brian Cain via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 26 10:38:06 PST 2025
================
@@ -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
More information about the llvm-commits
mailing list