cxx/test
Eric Fiselier 4eb5b6d5ee [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

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@224741 91177308-0d34-0410-b5e6-96231b3b80d8
2014-12-22 22:38:59 +00:00
..
std [libcxx] Consolidate new/delete replacement in tests and disable it when using sanitizers. 2014-12-22 22:38:59 +00:00
support [libcxx] Consolidate new/delete replacement in tests and disable it when using sanitizers. 2014-12-22 22:38:59 +00:00
CMakeLists.txt [libcxx] Teach libcxx's lit configuration new ways to find lit.site.cfg 2014-12-20 03:16:55 +00:00
lit.cfg [libcxx] Add numerous options to libc++ LIT test suite configuration. 2014-12-22 20:49:45 +00:00
lit.site.cfg.in [libcxx] Add numerous options to libc++ LIT test suite configuration. 2014-12-22 20:49:45 +00:00
nothing_to_do.pass.cpp Test commit: Reverting whitespace changes 2014-07-17 05:10:03 +00:00
testit Apply patch for Albert Wong: 'Modify testit to allow filtering tests by prefixes'. 2014-01-15 16:28:42 +00:00