[libcxx-commits] [libcxxabi] [libc++abi] Fix test failures with GCC 14 (PR #95759)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Thu Jun 20 08:47:50 PDT 2024


================
@@ -77,6 +77,9 @@ extern _LIBCXXABI_FUNC_VIS void __cxa_end_cleanup();
 #endif
 extern _LIBCXXABI_FUNC_VIS std::type_info *__cxa_current_exception_type();
 
+// GNU extension
+extern _LIBCXXABI_FUNC_VIS _LIBCXXABI_NORETURN void __cxa_call_terminate(void*) throw();
+
----------------
ldionne wrote:

We should also file an issue against Clang to ask them to start using `__cxa_call_terminate` instead of `__clang_call_terminate` when the deployment target supports it. Or at least make them aware of this possibility.

https://github.com/llvm/llvm-project/pull/95759


More information about the libcxx-commits mailing list