[libcxx-commits] [PATCH] D152939: [libc++] Add tests to make sure that stable algorithms work without memory available
Nikolas Klauser via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Jun 14 13:19:19 PDT 2023
philnik added inline comments.
================
Comment at: libcxx/test/support/count_new.h:423-429
+void* operator new(std::size_t s, std::align_val_t av, const std::nothrow_t&) TEST_NOEXCEPT {
+ try {
+ return operator new(s, av);
+ } catch (...) {
+ return nullptr;
+ }
+}
----------------
ldionne wrote:
> Just to clarify, this is temporary to figure out whether that is what's causing the AIX issues right?
Yes, this was a test - and that test failed.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D152939/new/
https://reviews.llvm.org/D152939
More information about the libcxx-commits
mailing list