hanchenye-llvm-project/libcxx/test/support
Eric Fiselier 2cbc654d93 [libcxx] Consolidate new/delete replacement in tests and disable it when using sanitizers.
Summary:
MSAN and ASAN also replace new/delete which leads to a link error in these tests. Currently they are unsupported but I think it would be useful if these tests could run with sanitizers.

This patch creates a support header that consolidates the new/delete replacement functionality and checking.
When we are using sanitizers new and delete are no longer replaced and the checks always return true.

Reviewers: mclow.lists, danalbert, jroelofs, EricWF

Reviewed By: EricWF

Subscribers: cfe-commits

Differential Revision: http://reviews.llvm.org/D6562

llvm-svn: 224741
2014-12-22 22:38:59 +00:00
..
DefaultOnly.h
allocators.h
asan_testing.h
cmpxchg_loop.h
constexpr_char_traits.hpp
count_new.hpp [libcxx] Consolidate new/delete replacement in tests and disable it when using sanitizers. 2014-12-22 22:38:59 +00:00
counting_predicates.hpp Whitespace maintenance. Remove a bunch of tabs that snuck in. No functionality change 2014-10-18 11:03:33 +00:00
hexfloat.h
min_allocator.h
nasty_containers.hpp
nothing_to_do.pass.cpp
platform_support.h Fix platform_support.h's get_temp_file_name() on Newlib under __STRICT_ANSI__ 2014-12-11 20:56:40 +00:00
private_constructor.hpp
test_allocator.h
test_iterators.h Since Eric poisoned the comma operator on all our test iterators, we no longer need 'comma_iterator'. Remove it from the test suite. 2014-11-18 16:15:00 +00:00