[libcxx-commits] [libcxxabi] 2da6ce6 - [libc++abi] Adjust XFAIL for misaligned exception header on ARM

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Wed Apr 7 13:15:03 PDT 2021


Author: Louis Dionne
Date: 2021-04-07T16:14:50-04:00
New Revision: 2da6ce60a5e92e431ea121175f2bc20287cc8ef9

URL: https://github.com/llvm/llvm-project/commit/2da6ce60a5e92e431ea121175f2bc20287cc8ef9
DIFF: https://github.com/llvm/llvm-project/commit/2da6ce60a5e92e431ea121175f2bc20287cc8ef9.diff

LOG: [libc++abi] Adjust XFAIL for misaligned exception header on ARM

On ARM, the alignment has always been the right one, so this test never
fails.

Added: 
    

Modified: 
    libcxxabi/test/test_exception_address_alignment.pass.cpp

Removed: 
    


################################################################################
diff  --git a/libcxxabi/test/test_exception_address_alignment.pass.cpp b/libcxxabi/test/test_exception_address_alignment.pass.cpp
index 13badf961d93..182401cd99b4 100644
--- a/libcxxabi/test/test_exception_address_alignment.pass.cpp
+++ b/libcxxabi/test/test_exception_address_alignment.pass.cpp
@@ -10,13 +10,13 @@
 // UNSUPPORTED: c++03
 
 // The <unwind.h> header provided in the SDK of older Xcodes used to provide
-// an incorrectly aligned _Unwind_Exception type. That causes these tests to
-// fail when compiling against such a SDK, or when running against a system
-// libc++abi that was compiled with an incorrect definition of _Unwind_Exception.
-// XFAIL: apple-clang-12.0.0
-// XFAIL: apple-clang-11
-// XFAIL: apple-clang-10
-// XFAIL: apple-clang-9
+// an incorrectly aligned _Unwind_Exception type on non-ARM. That causes these
+// tests to fail when compiling against such a SDK, or when running against a
+// system libc++abi that was compiled with an incorrect definition of _Unwind_Exception.
+// XFAIL: apple-clang-12.0.0 && !target-arm
+// XFAIL: apple-clang-11 && !target-arm
+// XFAIL: apple-clang-10 && !target-arm
+// XFAIL: apple-clang-9 && !target-arm
 // XFAIL: with_system_cxx_lib=macosx10.12
 // XFAIL: with_system_cxx_lib=macosx10.11
 // XFAIL: with_system_cxx_lib=macosx10.10


        


More information about the libcxx-commits mailing list