Home | History | Annotate | Download | only in src

Lines Matching defs:header

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