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):


        
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to