XFAIL aligned allocation tests for older Clang versions

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@284214 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Fiselier
2016-10-14 08:47:09 +00:00
parent 34c6b805cf
commit f172df1f43
9 changed files with 32 additions and 18 deletions

View File

@@ -9,11 +9,13 @@
// UNSUPPORTED: c++98, c++03, c++11, c++14
// test operator new
// asan and msan will not call the new handler.
// UNSUPPORTED: sanitizer-new-delete
// XFAIL: no-aligned-allocation
// test operator new
#include <new>
#include <cstddef>
#include <cassert>

View File

@@ -9,11 +9,13 @@
// UNSUPPORTED: c++98, c++03, c++11, c++14
// test operator new (nothrow)
// asan and msan will not call the new handler.
// UNSUPPORTED: sanitizer-new-delete
// XFAIL: no-aligned-allocation
// test operator new (nothrow)
#include <new>
#include <cstddef>
#include <cstdint>

View File

@@ -8,18 +8,18 @@
//===----------------------------------------------------------------------===//
// UNSUPPORTED: c++98, c++03, c++11, c++14
// UNSUPPORTED: sanitizer-new-delete
// XFAIL: no-aligned-allocation
// test operator new nothrow by replacing only operator new
// UNSUPPORTED: sanitizer-new-delete
#include <new>
#include <cstddef>
#include <cstdlib>
#include <cassert>
#include <limits>
constexpr auto OverAligned = alignof(std::max_align_t) * 2;
int A_constructed = 0;

View File

@@ -8,11 +8,12 @@
//===----------------------------------------------------------------------===//
// UNSUPPORTED: c++98, c++03, c++11, c++14
// UNSUPPORTED: sanitizer-new-delete
// XFAIL: no-aligned-allocation
// test operator new replacement
// UNSUPPORTED: sanitizer-new-delete
#include <new>
#include <cstddef>
#include <cstdlib>

View File

@@ -9,11 +9,13 @@
// UNSUPPORTED: c++98, c++03, c++11, c++14
// test operator new
// asan and msan will not call the new handler.
// UNSUPPORTED: sanitizer-new-delete
// XFAIL: no-aligned-allocation
// test operator new
#include <new>
#include <cstddef>
#include <cassert>

View File

@@ -9,11 +9,13 @@
// UNSUPPORTED: c++98, c++03, c++11, c++14
// test operator new (nothrow)
// asan and msan will not call the new handler.
// UNSUPPORTED: sanitizer-new-delete
// XFAIL: no-aligned-allocation
// test operator new (nothrow)
#include <new>
#include <cstddef>
#include <cstdint>

View File

@@ -8,11 +8,11 @@
//===----------------------------------------------------------------------===//
// UNSUPPORTED: c++98, c++03, c++11, c++14
// test operator new nothrow by replacing only operator new
// UNSUPPORTED: sanitizer-new-delete
// XFAIL: no-aligned-allocation
// test operator new nothrow by replacing only operator new
#include <new>
#include <cstddef>

View File

@@ -8,11 +8,12 @@
//===----------------------------------------------------------------------===//
// UNSUPPORTED: c++98, c++03, c++11, c++14
// UNSUPPORTED: sanitizer-new-delete
// XFAIL: no-aligned-allocation
// test operator new replacement
// UNSUPPORTED: sanitizer-new-delete
#include <new>
#include <cstddef>
#include <cstdlib>