[clang] [clang][AIX] Handle triple environment component for per target runtime directory (PR #140850)

Jake Egan via cfe-commits cfe-commits at lists.llvm.org
Wed May 21 10:21:21 PDT 2025


================
@@ -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.
----------------
jakeegan wrote:

It returns an `EnvironmentType` which can be used with `getEnvironmentTypeName` to get the string. 

https://github.com/llvm/llvm-project/pull/140850


More information about the cfe-commits mailing list