mirror of
https://github.com/llvm-mirror/libcxx.git
synced 2025-10-21 15:10:37 +08:00
[libcxx] Fix XFAILs for aligned allocation tests
In r339743, I marked several aligned allocation tests as downright unsupported on macosx in an attempt to unbreak the build. It turns out that marking them as unuspported whenever we're on OS X is way too coarse grained. This commit marks the tests as XFAIL with more granularity. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@347585 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -17,22 +17,25 @@
|
||||
// None of the current GCC compilers support this.
|
||||
// UNSUPPORTED: gcc-5, gcc-6
|
||||
|
||||
// dylibs shipped before macosx10.13 do not provide aligned allocation, so that's a link error
|
||||
// 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
|
||||
// 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
|
||||
|
||||
// Using aligned allocation functions is a compiler error when deploying to
|
||||
// platforms older than macosx10.13
|
||||
// UNSUPPORTED: macosx10.12
|
||||
// UNSUPPORTED: macosx10.11
|
||||
// UNSUPPORTED: macosx10.10
|
||||
// UNSUPPORTED: macosx10.9
|
||||
// UNSUPPORTED: macosx10.8
|
||||
// UNSUPPORTED: 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
|
||||
|
||||
// On Windows libc++ doesn't provide its own definitions for new/delete
|
||||
// but instead depends on the ones in VCRuntime. However VCRuntime does not
|
||||
|
@@ -15,22 +15,25 @@
|
||||
// FIXME change this to XFAIL.
|
||||
// UNSUPPORTED: no-aligned-allocation && !gcc
|
||||
|
||||
// dylibs shipped before macosx10.13 do not provide aligned allocation, so that's a link error
|
||||
// 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
|
||||
// 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
|
||||
|
||||
// Using aligned allocation functions is a compiler error when deploying to
|
||||
// platforms older than macosx10.13
|
||||
// UNSUPPORTED: macosx10.12
|
||||
// UNSUPPORTED: macosx10.11
|
||||
// UNSUPPORTED: macosx10.10
|
||||
// UNSUPPORTED: macosx10.9
|
||||
// UNSUPPORTED: macosx10.8
|
||||
// UNSUPPORTED: 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
|
||||
|
||||
// On Windows libc++ doesn't provide its own definitions for new/delete
|
||||
// but instead depends on the ones in VCRuntime. However VCRuntime does not
|
||||
|
@@ -15,22 +15,25 @@
|
||||
// FIXME turn this into an XFAIL
|
||||
// UNSUPPORTED: no-aligned-allocation && !gcc
|
||||
|
||||
// dylibs shipped before macosx10.13 do not provide aligned allocation, so that's a link error
|
||||
// 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
|
||||
// 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
|
||||
|
||||
// Using aligned allocation functions is a compiler error when deploying to
|
||||
// platforms older than macosx10.13
|
||||
// UNSUPPORTED: macosx10.12
|
||||
// UNSUPPORTED: macosx10.11
|
||||
// UNSUPPORTED: macosx10.10
|
||||
// UNSUPPORTED: macosx10.9
|
||||
// UNSUPPORTED: macosx10.8
|
||||
// UNSUPPORTED: 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
|
||||
|
||||
// On Windows libc++ doesn't provide its own definitions for new/delete
|
||||
// but instead depends on the ones in VCRuntime. However VCRuntime does not
|
||||
|
@@ -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
|
||||
// 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
|
||||
|
||||
// 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
|
||||
// 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
|
||||
|
||||
// XFAIL: no-aligned-allocation && !gcc
|
||||
|
||||
|
@@ -16,22 +16,25 @@
|
||||
// None of the current GCC compilers support this.
|
||||
// UNSUPPORTED: gcc-5, gcc-6
|
||||
|
||||
// dylibs shipped before macosx10.13 do not provide aligned allocation, so that's a link error
|
||||
// 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
|
||||
// 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
|
||||
|
||||
// Using aligned allocation functions is a compiler error when deploying to
|
||||
// platforms older than macosx10.13
|
||||
// UNSUPPORTED: macosx10.12
|
||||
// UNSUPPORTED: macosx10.11
|
||||
// UNSUPPORTED: macosx10.10
|
||||
// UNSUPPORTED: macosx10.9
|
||||
// UNSUPPORTED: macosx10.8
|
||||
// UNSUPPORTED: 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
|
||||
|
||||
// On Windows libc++ doesn't provide its own definitions for new/delete
|
||||
// but instead depends on the ones in VCRuntime. However VCRuntime does not
|
||||
|
@@ -9,22 +9,25 @@
|
||||
|
||||
// UNSUPPORTED: c++98, c++03, c++11, c++14
|
||||
|
||||
// dylibs shipped before macosx10.13 do not provide aligned allocation, so that's a link error
|
||||
// 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
|
||||
// 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
|
||||
|
||||
// Using aligned allocation functions is a compiler error when deploying to
|
||||
// platforms older than macosx10.13
|
||||
// UNSUPPORTED: macosx10.12
|
||||
// UNSUPPORTED: macosx10.11
|
||||
// UNSUPPORTED: macosx10.10
|
||||
// UNSUPPORTED: macosx10.9
|
||||
// UNSUPPORTED: macosx10.8
|
||||
// UNSUPPORTED: 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
|
||||
|
||||
// asan and msan will not call the new handler.
|
||||
// UNSUPPORTED: sanitizer-new-delete
|
||||
|
@@ -9,22 +9,25 @@
|
||||
|
||||
// UNSUPPORTED: c++98, c++03, c++11, c++14
|
||||
|
||||
// dylibs shipped before macosx10.13 do not provide aligned allocation, so that's a link error
|
||||
// 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
|
||||
// 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
|
||||
|
||||
// Using aligned allocation functions is a compiler error when deploying to
|
||||
// platforms older than macosx10.13
|
||||
// UNSUPPORTED: macosx10.12
|
||||
// UNSUPPORTED: macosx10.11
|
||||
// UNSUPPORTED: macosx10.10
|
||||
// UNSUPPORTED: macosx10.9
|
||||
// UNSUPPORTED: macosx10.8
|
||||
// UNSUPPORTED: 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
|
||||
|
||||
// asan and msan will not call the new handler.
|
||||
// UNSUPPORTED: sanitizer-new-delete
|
||||
|
@@ -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
|
||||
// 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
|
||||
|
||||
// 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
|
||||
// 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
|
||||
|
Reference in New Issue
Block a user