[clang] 52737ea - [clang][test] Require x86 target for new Windows EH tests
David Spickett via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 23 01:46:51 PDT 2025
Author: David Spickett
Date: 2025-07-23T08:44:57Z
New Revision: 52737ea6d69d79fb104480d9cd67bf85711fc939
URL: https://github.com/llvm/llvm-project/commit/52737ea6d69d79fb104480d9cd67bf85711fc939
DIFF: https://github.com/llvm/llvm-project/commit/52737ea6d69d79fb104480d9cd67bf85711fc939.diff
LOG: [clang][test] Require x86 target for new Windows EH tests
Added by https://github.com/llvm/llvm-project/pull/144745.
These tests cause Clang -cc1 to generate the option
-x86-asm-syntax=intel, which is only available if you have
included the x86 target.
<<<<<<
1: clang: warning: argument unused during compilation: '-c' [-Wunused-command-line-argument]
label:38'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
label:38'1 ? possible intended match
2: clang (LLVM option parsing): Unknown command line argument '-x86-asm-syntax=intel'. Try: 'clang (LLVM option parsing) --help'
label:38'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3: clang (LLVM option parsing): Did you mean '--asan-stack=intel'?
label:38'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>>>>
Added:
Modified:
clang/test/CodeGenCXX/microsoft-abi-eh-disabled.cpp
clang/test/CodeGenCXX/microsoft-abi-eh-ip2state.cpp
Removed:
################################################################################
diff --git a/clang/test/CodeGenCXX/microsoft-abi-eh-disabled.cpp b/clang/test/CodeGenCXX/microsoft-abi-eh-disabled.cpp
index 4c6493f15dee5..744f863bee5d4 100644
--- a/clang/test/CodeGenCXX/microsoft-abi-eh-disabled.cpp
+++ b/clang/test/CodeGenCXX/microsoft-abi-eh-disabled.cpp
@@ -1,3 +1,4 @@
+// REQUIRES: x86-registered-target
// RUN: %clang_cl -c --target=x86_64-windows-msvc -EHs-c- -O2 -GS- \
// RUN: -Xclang=-import-call-optimization \
// RUN: -clang:-S -clang:-o- -- %s 2>&1 \
diff --git a/clang/test/CodeGenCXX/microsoft-abi-eh-ip2state.cpp b/clang/test/CodeGenCXX/microsoft-abi-eh-ip2state.cpp
index d6b9b58e55845..0b7b406e2ba8e 100644
--- a/clang/test/CodeGenCXX/microsoft-abi-eh-ip2state.cpp
+++ b/clang/test/CodeGenCXX/microsoft-abi-eh-ip2state.cpp
@@ -1,3 +1,4 @@
+// REQUIRES: x86-registered-target
// RUN: %clang_cl -c --target=x86_64-windows-msvc -O2 -EHsc -GS- \
// RUN: -Xclang=-import-call-optimization \
// RUN: -clang:-S -clang:-o- -- %s 2>&1 \
More information about the cfe-commits
mailing list