Home | History | Annotate | Download | only in src

Lines Matching refs:globals

244     __cxa_eh_globals *globals = __cxa_get_globals();
253 globals->uncaughtExceptions += 1; // Not atomically, since globals are thread-local
298 __cxa_eh_globals* globals = __cxa_get_globals();
306 exception_header->nextPropagatingException = globals->propagatingExceptions;
307 globals->propagatingExceptions = exception_header;
315 if (NULL != globals->propagatingExceptions)
317 globals->propagatingExceptions = exception_header;
336 __cxa_eh_globals* globals = __cxa_get_globals();
337 __cxa_exception* exception_header = globals->propagatingExceptions;
350 globals->propagatingExceptions = exception_header->nextPropagatingException;
356 globals->propagatingExceptions = NULL;
411 __cxa_eh_globals* globals = __cxa_get_globals();
427 if (exception_header != globals->caughtExceptions)
429 exception_header->nextException = globals->caughtExceptions;
430 globals->caughtExceptions = exception_header;
432 globals->uncaughtExceptions -= 1; // Not atomically, since globals are thread-local
441 if (globals->caughtExceptions != 0)
444 globals->caughtExceptions = exception_header;
480 __cxa_eh_globals* globals = __cxa_get_globals_fast(); // __cxa_get_globals called in __cxa_begin_catch
481 __cxa_exception* exception_header = globals->caughtExceptions;
482 // If we've rethrown a foreign exception, then globals->caughtExceptions
497 globals->caughtExceptions = exception_header->nextException;
510 globals->caughtExceptions = exception_header->nextException;
535 _Unwind_DeleteException(&globals->caughtExceptions->unwindHeader);
536 globals->caughtExceptions = 0;
546 __cxa_eh_globals *globals = __cxa_get_globals_fast();
547 if (NULL == globals)
549 __cxa_exception *exception_header = globals->caughtExceptions;
570 __cxa_eh_globals* globals = __cxa_get_globals();
571 __cxa_exception* exception_header = globals->caughtExceptions;
579 globals->uncaughtExceptions += 1;
588 globals->caughtExceptions = 0;
651 We can use __cxa_get_globals_fast here to get the globals because if there have
653 the need to allocate the exception-handling globals.
657 __cxa_eh_globals* globals = __cxa_get_globals_fast();
658 if (NULL == globals)
659 return NULL; // If there are no globals, there is no exception
660 __cxa_exception* exception_header = globals->caughtExceptions;
733 __cxa_eh_globals* globals = __cxa_get_globals_fast();
734 if (globals == 0)
736 return globals->uncaughtExceptions;