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:
parent
44678f4058
commit
71915c132a
@ -8,6 +8,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// test operator new[]
|
||||
// NOTE: asan and msan will not call the new handler.
|
||||
// UNSUPPORTED: asan, msan
|
||||
|
||||
|
||||
#include <new>
|
||||
|
@ -8,6 +8,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// test operator new [] (nothrow)
|
||||
// NOTE: asan and msan will not call the new handler.
|
||||
// UNSUPPORTED: asan, msan
|
||||
|
||||
|
||||
#include <new>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user