Lines Matching refs:header
262 _GABIXX_NORETURN void throwException(__cxa_exception *header) { in throwException() argument
264 header->unexpectedHandler = std::get_unexpected(); in throwException()
265 header->terminateHandler = std::get_terminate(); in throwException()
268 _Unwind_RaiseException(&header->unwindHeader); in throwException()
271 call_terminate(&header->unwindHeader); in throwException()
328 __cxa_exception* header = static_cast<__cxa_exception*>(thrown_exc)-1; in __cxa_throw() local
329 header->exceptionType = tinfo; in __cxa_throw()
330 header->exceptionDestructor = dest; in __cxa_throw()
332 header->unwindHeader.exception_class = __gxx_exception_class; in __cxa_throw()
333 header->unwindHeader.exception_cleanup = defaultExceptionCleanupFunc; in __cxa_throw()
335 throwException(header); in __cxa_throw()
340 __cxa_exception* header = globals->caughtExceptions; in __cxa_rethrow() local
341 _Unwind_Exception* exception = &header->unwindHeader; in __cxa_rethrow()
342 if (!header) { in __cxa_rethrow()
348 header->handlerCount = -header->handlerCount; // Set rethrow flag in __cxa_rethrow()
353 throwException(header); in __cxa_rethrow()
358 __cxa_exception* header = reinterpret_cast<__cxa_exception*>(exception+1)-1; in __cxa_begin_catch() local
368 header->handlerCount = (header->handlerCount < 0) ? in __cxa_begin_catch()
369 (-header->handlerCount+1) : (header->handlerCount+1); in __cxa_begin_catch()
371 if (header != globals->caughtExceptions) { in __cxa_begin_catch()
372 header->nextException = globals->caughtExceptions; in __cxa_begin_catch()
373 globals->caughtExceptions = header; in __cxa_begin_catch()
377 return header->adjustedPtr; in __cxa_begin_catch()
382 __cxa_exception *header = globals->caughtExceptions; in __cxa_end_catch() local
383 _Unwind_Exception* exception = &header->unwindHeader; in __cxa_end_catch()
385 if (!header) { in __cxa_end_catch()
395 int count = header->handlerCount; in __cxa_end_catch()
398 globals->caughtExceptions = header->nextException; in __cxa_end_catch()
401 globals->caughtExceptions = header->nextException; in __cxa_end_catch()
402 __cxa_free_exception(header+1); in __cxa_end_catch()
408 header->handlerCount = count; in __cxa_end_catch()
412 __cxa_exception* header = in __cxa_get_exception_ptr() local
415 return header->adjustedPtr; in __cxa_get_exception_ptr()
429 __cxa_exception* header = in __cxa_decrement_exception_refcount() local
431 if (__sync_sub_and_fetch(&header->referenceCount, 1) == 0) in __cxa_decrement_exception_refcount()
440 __cxa_exception* header = in __cxa_increment_exception_refcount() local
442 __sync_add_and_fetch(&header->referenceCount, 1); in __cxa_increment_exception_refcount()