[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:

I think this must be added to `libcxxabi/lib/itanium-exceptions.exp`. This will then automatically get it re-exported from libc++ when needed. That would break the ABI list, which you then need to fix.

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


More information about the libcxx-commits mailing list