[clang] [clang][Darwin] Remove legacy framework search path logic in the frontend (PR #120149)
Ian Anderson via cfe-commits
cfe-commits at lists.llvm.org
Mon Dec 16 17:00:24 PST 2024
================
@@ -0,0 +1,26 @@
+// UNSUPPORTED: system-windows
+// Windows is unsupported because we use the Unix path separator `/` in the test.
+
+// Add default directories before running clang to check default
+// search paths.
+// RUN: rm -rf %t && mkdir -p %t
+// RUN: cp -R %S/Inputs/MacOSX15.1.sdk %t/
+// RUN: mkdir -p %t/MacOSX15.1.sdk/System/Library/Frameworks
+// RUN: mkdir -p %t/MacOSX15.1.sdk/System/Library/SubFrameworks
+// RUN: mkdir -p %t/MacOSX15.1.sdk/usr/include
+
+// RUN: %clang -xc %s -target arm64-apple-darwin13.0 -isysroot %t/MacOSX15.1.sdk -E -v 2>&1 | FileCheck --check-prefix=CHECK-C %s
----------------
ian-twilightcoder wrote:
Shouldn't the target be arm64-apple-macosx15.1?
https://github.com/llvm/llvm-project/pull/120149
More information about the cfe-commits
mailing list