|
@@ -10,24 +10,25 @@
|
|
|
// UNSUPPORTED: c++98, c++03, c++11, c++14
|
|
|
// UNSUPPORTED: sanitizer-new-delete
|
|
|
|
|
|
-// dylibs shipped before macosx10.13 do not provide aligned allocation, so our
|
|
|
-// custom aligned allocation functions are not called and the test fails
|
|
|
-// UNSUPPORTED: with_system_cxx_lib=macosx10.12
|
|
|
-// UNSUPPORTED: with_system_cxx_lib=macosx10.11
|
|
|
-// UNSUPPORTED: with_system_cxx_lib=macosx10.10
|
|
|
-// UNSUPPORTED: with_system_cxx_lib=macosx10.9
|
|
|
-// UNSUPPORTED: with_system_cxx_lib=macosx10.8
|
|
|
-// UNSUPPORTED: with_system_cxx_lib=macosx10.7
|
|
|
-
|
|
|
-// Our custom aligned allocation functions are not called when deploying to
|
|
|
-// platforms older than macosx10.13, since those platforms don't support
|
|
|
-// aligned allocation.
|
|
|
-// UNSUPPORTED: macosx10.12
|
|
|
-// UNSUPPORTED: macosx10.11
|
|
|
-// UNSUPPORTED: macosx10.10
|
|
|
-// UNSUPPORTED: macosx10.9
|
|
|
-// UNSUPPORTED: macosx10.8
|
|
|
-// UNSUPPORTED: macosx10.7
|
|
|
+// Aligned allocation was not provided before macosx10.12 and as a result we
|
|
|
+// get availability errors when the deployment target is older than macosx10.13.
|
|
|
+// However, AppleClang 10 (and older) don't trigger availability errors.
|
|
|
+// XFAIL: !apple-clang-10 && availability=macosx10.12
|
|
|
+// XFAIL: !apple-clang-10 && availability=macosx10.11
|
|
|
+// XFAIL: !apple-clang-10 && availability=macosx10.10
|
|
|
+// XFAIL: !apple-clang-10 && availability=macosx10.9
|
|
|
+// XFAIL: !apple-clang-10 && availability=macosx10.8
|
|
|
+// XFAIL: !apple-clang-10 && availability=macosx10.7
|
|
|
+
|
|
|
+// On AppleClang 10 (and older), instead of getting an availability failure
|
|
|
+// like above, we get a link error when we link against a dylib that does
|
|
|
+// not export the aligned allocation functions.
|
|
|
+// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.12
|
|
|
+// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.11
|
|
|
+// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.10
|
|
|
+// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.9
|
|
|
+// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.8
|
|
|
+// XFAIL: apple-clang-10 && with_system_cxx_lib=macosx10.7
|
|
|
|
|
|
// NOTE: gcc doesn't provide -faligned-allocation flag to test for
|
|
|
// XFAIL: no-aligned-allocation && !gcc
|