[clang] [clang][driver][darwin] DarwinSDKInfo doesn't match sufficiently modified triples, doesn't warn for unsupported architectures (PR #204061)

Ian Anderson via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 15 23:23:16 PDT 2026


================
@@ -30,6 +30,10 @@ int main() { return 0; }
 // RUN: | FileCheck %s -DSDKROOT=%S/Inputs/DriverKit21.0.1.sdk -DRESOURCE_DIR=%clang-resource-dir --check-prefix=INC
 // RUN: %clang %s -target x86_64-apple-driverkit23.0 -isysroot %S/Inputs/DriverKit23.0.sdk -x c++ -### 2>&1 \
 // RUN: | FileCheck %s -DSDKROOT=%S/Inputs/DriverKit23.0.sdk -DRESOURCE_DIR=%clang-resource-dir --check-prefix=INC
+// RUN: %clang %s -target ppc-apple-driverkit23.0 -isysroot %S/Inputs/DriverKit23.0.sdk -x c++ -### 2>&1 \
----------------
ian-twilightcoder wrote:

New code: validate that unsupported arch and environment still get the system prefix.

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


More information about the cfe-commits mailing list