• Home
  • Raw
  • Download

Lines Matching full:globals

260     __cxa_eh_globals *globals = __cxa_get_globals();  in __cxa_throw()  local
269 globals->uncaughtExceptions += 1; // Not atomically, since globals are thread-local in __cxa_throw()
314 __cxa_eh_globals* globals = __cxa_get_globals(); in __cxa_begin_cleanup() local
322 exception_header->nextPropagatingException = globals->propagatingExceptions; in __cxa_begin_cleanup()
323 globals->propagatingExceptions = exception_header; in __cxa_begin_cleanup()
331 if (NULL != globals->propagatingExceptions) in __cxa_begin_cleanup()
333 globals->propagatingExceptions = exception_header; in __cxa_begin_cleanup()
352 __cxa_eh_globals* globals = __cxa_get_globals(); in __cxa_end_cleanup_impl() local
353 __cxa_exception* exception_header = globals->propagatingExceptions; in __cxa_end_cleanup_impl()
366 globals->propagatingExceptions = exception_header->nextPropagatingException; in __cxa_end_cleanup_impl()
372 globals->propagatingExceptions = NULL; in __cxa_end_cleanup_impl()
427 __cxa_eh_globals* globals = __cxa_get_globals(); in __cxa_begin_catch() local
443 if (exception_header != globals->caughtExceptions) in __cxa_begin_catch()
445 exception_header->nextException = globals->caughtExceptions; in __cxa_begin_catch()
446 globals->caughtExceptions = exception_header; in __cxa_begin_catch()
448 globals->uncaughtExceptions -= 1; // Not atomically, since globals are thread-local in __cxa_begin_catch()
457 if (globals->caughtExceptions != 0) in __cxa_begin_catch()
460 globals->caughtExceptions = exception_header; in __cxa_begin_catch()
496 …__cxa_eh_globals* globals = __cxa_get_globals_fast(); // __cxa_get_globals called in __cxa_begin_c… in __cxa_end_catch() local
497 __cxa_exception* exception_header = globals->caughtExceptions; in __cxa_end_catch()
498 // If we've rethrown a foreign exception, then globals->caughtExceptions in __cxa_end_catch()
513 globals->caughtExceptions = exception_header->nextException; in __cxa_end_catch()
526 globals->caughtExceptions = exception_header->nextException; in __cxa_end_catch()
551 _Unwind_DeleteException(&globals->caughtExceptions->unwindHeader); in __cxa_end_catch()
552 globals->caughtExceptions = 0; in __cxa_end_catch()
562 __cxa_eh_globals *globals = __cxa_get_globals_fast(); in __cxa_current_exception_type() local
563 if (NULL == globals) in __cxa_current_exception_type()
565 __cxa_exception *exception_header = globals->caughtExceptions; in __cxa_current_exception_type()
586 __cxa_eh_globals* globals = __cxa_get_globals(); in __cxa_rethrow() local
587 __cxa_exception* exception_header = globals->caughtExceptions; in __cxa_rethrow()
595 globals->uncaughtExceptions += 1; in __cxa_rethrow()
604 globals->caughtExceptions = 0; in __cxa_rethrow()
667 We can use __cxa_get_globals_fast here to get the globals because if there have
669 the need to allocate the exception-handling globals.
673 __cxa_eh_globals* globals = __cxa_get_globals_fast(); in __cxa_current_primary_exception() local
674 if (NULL == globals) in __cxa_current_primary_exception()
675 return NULL; // If there are no globals, there is no exception in __cxa_current_primary_exception()
676 __cxa_exception* exception_header = globals->caughtExceptions; in __cxa_current_primary_exception()
749 __cxa_eh_globals* globals = __cxa_get_globals_fast(); in __cxa_uncaught_exceptions() local
750 if (globals == 0) in __cxa_uncaught_exceptions()
752 return globals->uncaughtExceptions; in __cxa_uncaught_exceptions()