[libcxx-commits] [PATCH] D62641: Support arrays in make_shared and allocate_shared (P0674R1)
Zoe Carver via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Sun Feb 28 15:17:52 PST 2021
zoecarver added inline comments.
Comment at: libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.create/create_array.pass.cpp:10
+// UNSUPPORTED: c++03, c++11, c++14, c++17
+// UNSUPPORTED: sanitizer-new-delete
I really don't like disabling this whole test for `sanitizer-new-delete`. We need this because of the `globalMemCounter` tests. This is the same thing the unique_ptr tests use.
@ldionne do you know if there's a macro or some other way we can detect if we're running on `sanitizer-new-delete`? If so, we could just disable the two tests that actually cause this to fail.
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
More information about the libcxx-commits