Mark more tests as UNSUPPORTED with ASAN and MSAN.

These tests fail for 2 reasons when using ASAN and MSAN.
1. If allocator_may_return_null=0 they will fail because null is returned
   or an exception is thrown.
2. When allocator_may_return_null=1 the new_handler is still not called. This
   results in an assertion failures.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@221967 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Fiselier 2014-11-14 02:55:16 +00:00
parent 44678f4058
commit 71915c132a
4 changed files with 12 additions and 2 deletions

View File

@ -8,6 +8,8 @@
//===----------------------------------------------------------------------===//
// test operator new[]
// NOTE: asan and msan will not call the new handler.
// UNSUPPORTED: asan, msan
#include <new>

View File

@ -8,6 +8,8 @@
//===----------------------------------------------------------------------===//
// test operator new [] (nothrow)
// NOTE: asan and msan will not call the new handler.
// UNSUPPORTED: asan, msan
#include <new>

View File

@ -7,7 +7,10 @@
//
//===----------------------------------------------------------------------===//
// test operator new
// test operator new
// asan and msan will not call the new handler.
// UNSUPPORTED: asan, msan
#include <new>
#include <cstddef>

View File

@ -7,7 +7,10 @@
//
//===----------------------------------------------------------------------===//
// test operator new (nothrow)
// test operator new (nothrow)
// asan and msan will not call the new handler.
// UNSUPPORTED: asan, msan
#include <new>
#include <cstddef>