[libcxx-commits] [PATCH] D141222: [libc++] Use __verbose_abort instead of std::abort in __throw_ functions
Jorge Gorbe Moya via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Mar 15 15:49:14 PDT 2023
jgorbe added a comment.
There's a comment next to the `__libcpp_verbose_abort` definition that says
// This function should never be called directly from the code -- it should only be called through
// the _LIBCPP_VERBOSE_ABORT macro.
Does this apply here? For context, we have a libc-free project that uses variant and optional and this change pulls in vfprintf. We'd like to just provide our own `_LIBCPP_VERBOSE_ABORT`, or build with `-D_LIBCPP_HAS_NO_VERBOSE_ABORT_IN_LIBRARY` but it doesn't look like we can do that if the code calls __libcpp_verbose_abort directly.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D141222/new/
https://reviews.llvm.org/D141222
More information about the libcxx-commits
mailing list