summaryrefslogtreecommitdiff
path: root/libcxxabi/test/test_exception_address_alignment.pass.cpp
diff options
context:
space:
mode:
authorLouis Dionne <ldionne@apple.com>2020-06-03 10:06:56 -0400
committerLouis Dionne <ldionne@apple.com>2020-06-03 10:08:15 -0400
commitbf61891146be78a693ff6a52f05e1a7c8147ba4d (patch)
tree072b21c1f8b99f54ac4d5cee294e3e355def9e56 /libcxxabi/test/test_exception_address_alignment.pass.cpp
parentfebeaf94a806e53baa0f2e72fb0b386871b5089c (diff)
[libc++abi] Fix incorrect XFAILs for mis-aligned _Unwind_Exception on Apple
The problem mentioned in the XFAILs has been resolved in macosx10.15, so the test is now XPASSing on that platform. rdar://63640184
Diffstat (limited to 'libcxxabi/test/test_exception_address_alignment.pass.cpp')
-rw-r--r--libcxxabi/test/test_exception_address_alignment.pass.cpp12
1 files changed, 8 insertions, 4 deletions
diff --git a/libcxxabi/test/test_exception_address_alignment.pass.cpp b/libcxxabi/test/test_exception_address_alignment.pass.cpp
index b462659fc888..b870290a2b10 100644
--- a/libcxxabi/test/test_exception_address_alignment.pass.cpp
+++ b/libcxxabi/test/test_exception_address_alignment.pass.cpp
@@ -9,10 +9,14 @@
// UNSUPPORTED: no-exceptions
// UNSUPPORTED: c++03
-// The system unwind.h on OS X provides an incorrectly aligned _Unwind_Exception
-// type. That causes these tests to fail. This XFAIL is my best attempt at
-// working around this failure.
-// XFAIL: darwin && libcxxabi-has-system-unwinder
+// The system unwind.h on older OSX versions provided an incorrectly aligned
+// _Unwind_Exception type. That causes these tests to fail on those platforms.
+// XFAIL: macosx10.14 && libcxxabi-has-system-unwinder
+// XFAIL: macosx10.13 && libcxxabi-has-system-unwinder
+// XFAIL: macosx10.12 && libcxxabi-has-system-unwinder
+// XFAIL: macosx10.11 && libcxxabi-has-system-unwinder
+// XFAIL: macosx10.10 && libcxxabi-has-system-unwinder
+// XFAIL: macosx10.9 && libcxxabi-has-system-unwinder
// Test that the address of the exception object is properly aligned as required
// by the relevant ABI