git: 13da1af1cd67 - main - libcxxrt: Update to upstream 698997bfde1f
Date: Tue, 22 Oct 2024 23:44:50 UTC
The branch main has been updated by emaste:
URL: https://cgit.FreeBSD.org/src/commit/?id=13da1af1cd677b7901d3bf4b9dbe3290b94130d5
commit 13da1af1cd677b7901d3bf4b9dbe3290b94130d5
Merge: e2414d91d33f 5a07cb04925d
Author: Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2024-10-22 23:40:09 +0000
Commit: Ed Maste <emaste@FreeBSD.org>
CommitDate: 2024-10-22 23:43:54 +0000
libcxxrt: Update to upstream 698997bfde1f
Interesting fixes:
045c52c Mark __cxa_allocate_exception, __cxa_free_exception and
__cxa_init_primary_exception noexcept.
8a2f123 Define _LIBCXXRT_NOEXCEPT in cxxabi.h and use it instead of
throw()
9529236 Fix memory corruption in cpp_demangle_read_sname()
8f5c74e Add test cases, fix more bugs, and improve perf
391a3dc Add a simple implementation of __cxa_call_terminate
40e4fa2 mark std::terminate as noreturn and noexcept
5eede09 Print diagnostics in default std::terminate handler
Reviewed by: dim
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D47238
contrib/libcxxrt/atomic.h | 2 +-
contrib/libcxxrt/cxxabi.h | 17 +++-
contrib/libcxxrt/exception.cc | 174 ++++++++++++++++++-----------------
contrib/libcxxrt/libelftc_dem_gnu3.c | 92 +++++++++---------
contrib/libcxxrt/memory.cc | 14 ++-
contrib/libcxxrt/noexception.cc | 4 +-
contrib/libcxxrt/stdexcept.cc | 40 ++++----
contrib/libcxxrt/stdexcept.h | 42 +++++----
8 files changed, 196 insertions(+), 189 deletions(-)