[PATCH] [libcxx] Consolidate new/delete replacement in tests and disable it when using sanitizers.

Jonathan Roelofs jonathan at codesourcery.com
Tue Dec 9 14:04:36 PST 2014


================
Comment at: test/utilities/memory/default.allocator/allocator.members/allocate.pass.cpp:27
@@ -26,3 @@
-    ++new_called;
-    assert(s == 3 * sizeof(int));
-    return std::malloc(s);
----------------
I think we're losing test coverage now that this assert is gone :(

http://reviews.llvm.org/D6562






More information about the cfe-commits mailing list