Mark tests that replace operator new/delete as UNSUPPORTED with ASAN and MSAN.

tests that replace operator new/delete won't link when using ASAN and MSAN 
because these sanitizers also replace new/delete.


git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@221236 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Fiselier
2014-11-04 05:11:41 +00:00
parent 1de15f518f
commit 72aab5f478
32 changed files with 68 additions and 6 deletions

View File

@@ -14,6 +14,8 @@
// template <MoveConstructible R, MoveConstructible ... ArgTypes>
// void swap(function<R(ArgTypes...)>&, function<R(ArgTypes...)>&);
// UNSUPPORTED: asan
#include <functional>
#include <new>
#include <cstdlib>

View File

@@ -13,6 +13,8 @@
// function(nullptr_t);
// UNSUPPORTED: asan
#include <functional>
#include <new>
#include <cstdlib>

View File

@@ -16,6 +16,8 @@
// && Convertible<Callable<F, ArgTypes...>::result_type
// operator=(F f);
// UNSUPPORTED: asan
#include <functional>
#include <new>
#include <cstdlib>

View File

@@ -13,6 +13,8 @@
// template<class A> function(allocator_arg_t, const A&, const function&);
// UNSUPPORTED: asan
#include <functional>
#include <new>
#include <cstdlib>

View File

@@ -13,6 +13,8 @@
// template<class A> function(allocator_arg_t, const A&, function&&);
// UNSUPPORTED: asan
#include <functional>
#include <cassert>

View File

@@ -13,6 +13,8 @@
// function(const function& f);
// UNSUPPORTED: asan
#include <functional>
#include <new>
#include <cstdlib>

View File

@@ -13,6 +13,8 @@
// function& operator=(const function& f);
// UNSUPPORTED: asan
#include <functional>
#include <new>
#include <cstdlib>

View File

@@ -13,6 +13,8 @@
// function& operator=(nullptr_t);
// UNSUPPORTED: asan
#include <functional>
#include <new>
#include <cstdlib>

View File

@@ -13,6 +13,8 @@
// void swap(function& other);
// UNSUPPORTED: asan
#include <functional>
#include <new>
#include <cstdlib>