Lines Matching refs:globals

207     __cxa_eh_globals *globals = __cxa_get_globals();  in __cxa_throw()  local
216 globals->uncaughtExceptions += 1; // Not atomically, since globals are thread-local in __cxa_throw()
257 __cxa_eh_globals* globals = __cxa_get_globals(); in __cxa_begin_cleanup() local
265 exception_header->nextPropagatingException = globals->propagatingExceptions; in __cxa_begin_cleanup()
266 globals->propagatingExceptions = exception_header; in __cxa_begin_cleanup()
274 if (NULL != globals->propagatingExceptions) in __cxa_begin_cleanup()
276 globals->propagatingExceptions = exception_header; in __cxa_begin_cleanup()
295 __cxa_eh_globals* globals = __cxa_get_globals(); in __cxa_end_cleanup_impl() local
296 __cxa_exception* exception_header = globals->propagatingExceptions; in __cxa_end_cleanup_impl()
309 globals->propagatingExceptions = exception_header->nextPropagatingException; in __cxa_end_cleanup_impl()
315 globals->propagatingExceptions = NULL; in __cxa_end_cleanup_impl()
370 __cxa_eh_globals* globals = __cxa_get_globals(); in __cxa_begin_catch() local
386 if (exception_header != globals->caughtExceptions) in __cxa_begin_catch()
388 exception_header->nextException = globals->caughtExceptions; in __cxa_begin_catch()
389 globals->caughtExceptions = exception_header; in __cxa_begin_catch()
391 globals->uncaughtExceptions -= 1; // Not atomically, since globals are thread-local in __cxa_begin_catch()
400 if (globals->caughtExceptions != 0) in __cxa_begin_catch()
403 globals->caughtExceptions = exception_header; in __cxa_begin_catch()
439 …__cxa_eh_globals* globals = __cxa_get_globals_fast(); // __cxa_get_globals called in __cxa_begin_c… in __cxa_end_catch() local
440 __cxa_exception* exception_header = globals->caughtExceptions; in __cxa_end_catch()
456 globals->caughtExceptions = exception_header->nextException; in __cxa_end_catch()
469 globals->caughtExceptions = exception_header->nextException; in __cxa_end_catch()
494 _Unwind_DeleteException(&globals->caughtExceptions->unwindHeader); in __cxa_end_catch()
495 globals->caughtExceptions = 0; in __cxa_end_catch()
505 __cxa_eh_globals *globals = __cxa_get_globals_fast(); in __cxa_current_exception_type() local
506 if (NULL == globals) in __cxa_current_exception_type()
508 __cxa_exception *exception_header = globals->caughtExceptions; in __cxa_current_exception_type()
529 __cxa_eh_globals* globals = __cxa_get_globals(); in __cxa_rethrow() local
530 __cxa_exception* exception_header = globals->caughtExceptions; in __cxa_rethrow()
538 globals->uncaughtExceptions += 1; in __cxa_rethrow()
547 globals->caughtExceptions = 0; in __cxa_rethrow()
616 __cxa_eh_globals* globals = __cxa_get_globals_fast(); in __cxa_current_primary_exception() local
617 if (NULL == globals) in __cxa_current_primary_exception()
619 __cxa_exception* exception_header = globals->caughtExceptions; in __cxa_current_primary_exception()
692 __cxa_eh_globals* globals = __cxa_get_globals_fast(); in __cxa_uncaught_exceptions() local
693 if (globals == 0) in __cxa_uncaught_exceptions()
695 return globals->uncaughtExceptions; in __cxa_uncaught_exceptions()