================ @@ -935,6 +935,14 @@ ToolChain::getTargetSubDirPath(StringRef BaseDir) const { if (auto Path = getPathForTriple(T)) return *Path; + // On AIX, the environment component is not used in the target sub dir name. ---------------- DanielCChen wrote:
After re-exam the code, I think we can move the code I linked from `getRuntimePath` to `getTargetSubDirPath`. It will probably be OK to add a check of `T.isOSAIX()` in the same block of `T.isOSzOS` so `getTripleWithoutOSVersion` can be re-used. https://github.com/llvm/llvm-project/pull/140850 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits