https://github.com/DavidSpickett created https://github.com/llvm/llvm-project/pull/84024
vectorcall only works on x86 https://clang.llvm.org/docs/AttributeReference.html#vectorcall so elsewhere it fails to compile. Which is expected on AArch64 for example so is treated as a pass. >From d86d189b30ff9655c597dcd58490753f8a84e7a8 Mon Sep 17 00:00:00 2001 From: David Spickett <david.spick...@linaro.org> Date: Tue, 5 Mar 2024 14:58:17 +0000 Subject: [PATCH] [lldb][test][FreeBSD] Narrow vectorcall xfail to x86 platforms vectorcall only works on x86 https://clang.llvm.org/docs/AttributeReference.html#vectorcall so elsewhere it fails to compile. Which is expected on AArch64 for example so is treated as a pass. --- .../API/lang/c/calling-conventions/TestCCallingConventions.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lldb/test/API/lang/c/calling-conventions/TestCCallingConventions.py b/lldb/test/API/lang/c/calling-conventions/TestCCallingConventions.py index 9483dfcd040186..0304482e899b82 100644 --- a/lldb/test/API/lang/c/calling-conventions/TestCCallingConventions.py +++ b/lldb/test/API/lang/c/calling-conventions/TestCCallingConventions.py @@ -62,7 +62,10 @@ def test_stdcall(self): return self.expect_expr("func(1, 2, 3, 4)", result_type="int", result_value="10") + # Fails on x86, passes elsewhere because clang doesn't support vectorcall on + # any other architectures. @expectedFailureAll( + triple=re.compile("^(x86|i386)"), oslist=["freebsd"], bugnumber="github.com/llvm/llvm-project/issues/56084" ) def test_vectorcall(self): _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits