================
@@ -103,3 +107,13 @@
// RUN: %t.dir/testroot-custom-triple/bin/clang -no-canonical-prefixes
--target=x86_64-w64-mingw32foo -rtlib=compiler-rt -stdlib=libstdc++
--sysroot="" -c -### %s 2>&1 | FileCheck
-check-prefix=CHECK_TESTROOT_CUSTOM_TRIPLE %s
// CHECK_TESTROOT_CUSTOM_TRIPLE:
"{{[^"]+}}/testroot-custom-triple{{/|\\\\}}x86_64-w64-mingw32foo{{/|\\\\}}include"
+
+// Check that the arm64ec target uses the aarch64 sysroot if a separate
arm64ec sysroot is not found.
+
+// RUN: %t.dir/testroot-clang/bin/aarch64-w64-mingw32-clang
-no-canonical-prefixes --target=aarch64-w64-mingw32 -rtlib=compiler-rt
-stdlib=libstdc++ --sysroot="" -c -### %s 2>&1 | FileCheck
-check-prefix=CHECK_TESTROOT_CLANG_AARCH64 %s
+// RUN: %t.dir/testroot-clang/bin/arm64ec-w64-mingw32-clang
-no-canonical-prefixes --target=arm64ec-w64-mingw32 -rtlib=compiler-rt
-stdlib=libstdc++ --sysroot="" -c -### %s 2>&1 | FileCheck
-check-prefix=CHECK_TESTROOT_CLANG_AARCH64 %s
----------------
mstorsjo wrote:
Is there any existing test that still covers the fact that arm64ec should
prefer an arm64ec named subdirectory, if it exists?
https://github.com/llvm/llvm-project/pull/210017
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits