Skip to content

Commit

Permalink
[lldb][test][FreeBSD] Narrow vectorcall xfail to x86 platforms (#84024)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
DavidSpickett committed May 2, 2024
1 parent 176d6fb commit 528b512
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 528b512

Please sign in to comment.