@@ -30,18 +30,18 @@ static void demangling_terminate_handler()
3030
3131 // If there is no uncaught exception, just note that we're terminating
3232 if (!globals)
33- abort_message (" terminating" );
33+ __abort_message (" terminating" );
3434
3535 __cxa_exception* exception_header = globals->caughtExceptions ;
3636 if (!exception_header)
37- abort_message (" terminating" );
37+ __abort_message (" terminating" );
3838
3939 _Unwind_Exception* unwind_exception =
4040 reinterpret_cast <_Unwind_Exception*>(exception_header + 1 ) - 1 ;
4141
4242 // If we're terminating due to a foreign exception
4343 if (!__isOurExceptionClass (unwind_exception))
44- abort_message (" terminating due to %s foreign exception" , cause);
44+ __abort_message (" terminating due to %s foreign exception" , cause);
4545
4646 void * thrown_object =
4747 __getExceptionClass (unwind_exception) == kOurDependentExceptionClass ?
@@ -67,19 +67,19 @@ static void demangling_terminate_handler()
6767 {
6868 // Include the what() message from the exception
6969 const std::exception* e = static_cast <const std::exception*>(thrown_object);
70- abort_message (" terminating due to %s exception of type %s: %s" , cause, name, e->what ());
70+ __abort_message (" terminating due to %s exception of type %s: %s" , cause, name, e->what ());
7171 }
7272 else
7373 {
7474 // Else just note that we're terminating due to an exception
75- abort_message (" terminating due to %s exception of type %s" , cause, name);
75+ __abort_message (" terminating due to %s exception of type %s" , cause, name);
7676 }
7777}
7878#else // !_LIBCXXABI_NO_EXCEPTIONS
7979__attribute__ ((noreturn))
8080static void demangling_terminate_handler()
8181{
82- abort_message (" terminating" );
82+ __abort_message (" terminating" );
8383}
8484#endif // !_LIBCXXABI_NO_EXCEPTIONS
8585
0 commit comments