Skip to content

Commit 528b512

Browse files
[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.
1 parent 176d6fb commit 528b512

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lldb/test/API/lang/c/calling-conventions/TestCCallingConventions.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,10 @@ def test_stdcall(self):
6262
return
6363
self.expect_expr("func(1, 2, 3, 4)", result_type="int", result_value="10")
6464

65+
# Fails on x86, passes elsewhere because clang doesn't support vectorcall on
66+
# any other architectures.
6567
@expectedFailureAll(
68+
triple=re.compile("^(x86|i386)"),
6669
oslist=["freebsd"], bugnumber="github.com/llvm/llvm-project/issues/56084"
6770
)
6871
def test_vectorcall(self):

0 commit comments

Comments
 (0)