[Lldb-commits] [lldb] 528b512 - [lldb][test][FreeBSD] Narrow vectorcall xfail to x86 platforms (#84024)
via lldb-commits
lldb-commits at lists.llvm.org
Thu May 2 00:47:43 PDT 2024
Author: David Spickett
Date: 2024-05-02T08:47:40+01:00
New Revision: 528b512b13e2ade4657b25dbb809bafd28c8b170
URL: https://github.com/llvm/llvm-project/commit/528b512b13e2ade4657b25dbb809bafd28c8b170
DIFF: https://github.com/llvm/llvm-project/commit/528b512b13e2ade4657b25dbb809bafd28c8b170.diff
LOG: [lldb][test][FreeBSD] Narrow vectorcall xfail to x86 platforms (#84024)
This relates to #56084.
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.
Added:
Modified:
lldb/test/API/lang/c/calling-conventions/TestCCallingConventions.py
Removed:
################################################################################
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):
More information about the lldb-commits
mailing list