[libc++] Use __verbose_abort instead of std::abort in __throw_ functions
authorNikolas Klauser <nikolasklauser@berlin.de>
Sun, 8 Jan 2023 13:07:44 +0000 (14:07 +0100)
committerNikolas Klauser <nikolasklauser@berlin.de>
Tue, 14 Mar 2023 18:33:19 +0000 (19:33 +0100)
commit16d1b0e1059eb5bcc1cb7581598734b3cbc89509
treef85bc3f30004fc6149cddc4ea16a2e618b4b9c08
parent99b22a6cbfa019d231bc064d3bc1ba9d505f7604
[libc++] Use __verbose_abort instead of std::abort in __throw_ functions

This results in proper error messages instead of just an abort.

Reviewed By: ldionne, Mordante, #libc

Spies: #libc_vendors, smeenai, libcxx-commits

Differential Revision: https://reviews.llvm.org/D141222
13 files changed:
libcxx/include/__expected/expected.h
libcxx/include/__filesystem/filesystem_error.h
libcxx/include/__functional/function.h
libcxx/include/__memory/shared_ptr.h
libcxx/include/any
libcxx/include/future
libcxx/include/ios
libcxx/include/new
libcxx/include/optional
libcxx/include/regex
libcxx/include/stdexcept
libcxx/include/typeinfo
libcxx/include/variant