cxx/test/std/localization/locale.stdcvt
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
..
codecvt_mode.pass.cpp Move test into test/std subdirectory. 2014-12-20 01:40:03 +00:00
codecvt_utf8_always_noconv.pass.cpp Move test into test/std subdirectory. 2014-12-20 01:40:03 +00:00
codecvt_utf8_encoding.pass.cpp Move test into test/std subdirectory. 2014-12-20 01:40:03 +00:00
codecvt_utf8_in.pass.cpp Move test into test/std subdirectory. 2014-12-20 01:40:03 +00:00
codecvt_utf8_length.pass.cpp Move test into test/std subdirectory. 2014-12-20 01:40:03 +00:00
codecvt_utf8_max_length.pass.cpp Move test into test/std subdirectory. 2014-12-20 01:40:03 +00:00
codecvt_utf8_out.pass.cpp Move test into test/std subdirectory. 2014-12-20 01:40:03 +00:00
codecvt_utf8_unshift.pass.cpp Move test into test/std subdirectory. 2014-12-20 01:40:03 +00:00
codecvt_utf8_utf16_always_noconv.pass.cpp Move test into test/std subdirectory. 2014-12-20 01:40:03 +00:00
codecvt_utf8_utf16_encoding.pass.cpp Move test into test/std subdirectory. 2014-12-20 01:40:03 +00:00
codecvt_utf8_utf16_in.pass.cpp Move test into test/std subdirectory. 2014-12-20 01:40:03 +00:00
codecvt_utf8_utf16_length.pass.cpp Move test into test/std subdirectory. 2014-12-20 01:40:03 +00:00
codecvt_utf8_utf16_max_length.pass.cpp Move test into test/std subdirectory. 2014-12-20 01:40:03 +00:00
codecvt_utf8_utf16_out.pass.cpp Move test into test/std subdirectory. 2014-12-20 01:40:03 +00:00
codecvt_utf8_utf16_unshift.pass.cpp Move test into test/std subdirectory. 2014-12-20 01:40:03 +00:00
codecvt_utf8.pass.cpp [libcxx] Consolidate new/delete replacement in tests and disable it when using sanitizers. 2014-12-22 22:38:59 +00:00
codecvt_utf16_always_noconv.pass.cpp Move test into test/std subdirectory. 2014-12-20 01:40:03 +00:00
codecvt_utf16_encoding.pass.cpp Move test into test/std subdirectory. 2014-12-20 01:40:03 +00:00
codecvt_utf16_in.pass.cpp Move test into test/std subdirectory. 2014-12-20 01:40:03 +00:00
codecvt_utf16_length.pass.cpp Move test into test/std subdirectory. 2014-12-20 01:40:03 +00:00
codecvt_utf16_max_length.pass.cpp Move test into test/std subdirectory. 2014-12-20 01:40:03 +00:00
codecvt_utf16_out.pass.cpp Move test into test/std subdirectory. 2014-12-20 01:40:03 +00:00
codecvt_utf16_unshift.pass.cpp Move test into test/std subdirectory. 2014-12-20 01:40:03 +00:00
codecvt_utf16.pass.cpp [libcxx] Consolidate new/delete replacement in tests and disable it when using sanitizers. 2014-12-22 22:38:59 +00:00
version.pass.cpp Move test into test/std subdirectory. 2014-12-20 01:40:03 +00:00