Lines Matching refs:unwindHeader

148     _Unwind_Exception unwindHeader;  member
150 static assert(unwindHeader.offsetof - object.offsetof == object.sizeof);
199 eh.unwindHeader.exception_class = gdcExceptionClass; in create()
236 static void save(_Unwind_Exception* unwindHeader, in save()
242 unwindHeader.barrier_cache.sp = cfa; in save()
243 unwindHeader.barrier_cache.bitpattern[1] = cast(_uw)handler; in save()
244 unwindHeader.barrier_cache.bitpattern[2] = cast(_uw)lsda; in save()
245 unwindHeader.barrier_cache.bitpattern[3] = cast(_uw)landingPad; in save()
249 ExceptionHeader* eh = toExceptionHeader(unwindHeader); in save()
260 static void restore(_Unwind_Exception* unwindHeader, out int handler, in restore()
266 cfa = unwindHeader.barrier_cache.sp; in restore()
267 handler = cast(int)unwindHeader.barrier_cache.bitpattern[1]; in restore()
268 lsda = cast(ubyte*)unwindHeader.barrier_cache.bitpattern[2]; in restore()
269 landingPad = cast(_Unwind_Ptr)unwindHeader.barrier_cache.bitpattern[3]; in restore()
273 ExceptionHeader* eh = toExceptionHeader(unwindHeader); in restore()
285 static ClassInfo getClassInfo(_Unwind_Exception* unwindHeader) @nogc in getClassInfo()
287 ExceptionHeader* eh = toExceptionHeader(unwindHeader); in getClassInfo()
307 return cast(ExceptionHeader*)(cast(void*)exc - ExceptionHeader.unwindHeader.offsetof); in toExceptionHeader()
357 _Unwind_Exception unwindHeader; member
363 static void save(_Unwind_Exception* unwindHeader, void* thrownPtr) @nogc in save()
366 unwindHeader.barrier_cache.bitpattern[0] = cast(_uw) thrownPtr; in save()
369 auto eh = toExceptionHeader(unwindHeader); in save()
449 extern(C) void* __gdc_begin_catch(_Unwind_Exception* unwindHeader) in __gdc_begin_catch() argument
451 ExceptionHeader* header = ExceptionHeader.toExceptionHeader(unwindHeader); in __gdc_begin_catch()
460 _Unwind_DeleteException(&header.unwindHeader); in __gdc_begin_catch()
492 eh.unwindHeader.exception_cleanup = &exception_cleanup; in _d_throw()
502 r = _Unwind_SjLj_RaiseException(&eh.unwindHeader); in _d_throw()
504 r = _Unwind_RaiseException(&eh.unwindHeader); in _d_throw()
532 _Unwind_Action actions, _Unwind_Exception* unwindHeader, in scanLSDA() argument
538 return CONTINUE_UNWINDING(unwindHeader, context); in scanLSDA()
663 handler = actionTableLookup(actions, unwindHeader, actionRecord, in scanLSDA()
671 return CONTINUE_UNWINDING(unwindHeader, context); in scanLSDA()
676 return CONTINUE_UNWINDING(unwindHeader, context); in scanLSDA()
680 ExceptionHeader.save(unwindHeader, cfa, handler, lsda, landingPad); in scanLSDA()
691 int actionTableLookup(_Unwind_Action actions, _Unwind_Exception* unwindHeader, in actionTableLookup() argument
700 thrownType = ExceptionHeader.getClassInfo(unwindHeader); in actionTableLookup()
740 auto thrownPtr = CxaExceptionHeader.getAdjustedPtr(unwindHeader, catchType); in actionTableLookup()
745 CxaExceptionHeader.save(unwindHeader, thrownPtr); in actionTableLookup()
781 _Unwind_Reason_Code CONTINUE_UNWINDING(_Unwind_Exception* unwindHeader, _Unwind_Context* context) in CONTINUE_UNWINDING() argument
785 if (__gnu_unwind_frame(unwindHeader, context) != _URC_OK) in CONTINUE_UNWINDING()
825 _Unwind_Exception* unwindHeader, in pragma()
837 return CONTINUE_UNWINDING(unwindHeader, context); in pragma()
844 && unwindHeader.barrier_cache.sp == _Unwind_GetGR(context, UNWIND_STACK_REG)) in pragma()
849 return CONTINUE_UNWINDING(unwindHeader, context); in pragma()
860 _Unwind_SetGR(context, UNWIND_POINTER_REG, cast(_Unwind_Ptr)unwindHeader); in pragma()
862 return __gdc_personality(actions, unwindHeader.exception_class, in pragma()
863 unwindHeader, context); in pragma()
872 _Unwind_Exception* unwindHeader, in pragma()
879 return __gdc_personality(actions, exceptionClass, unwindHeader, context); in pragma()
886 _Unwind_Exception* unwindHeader, in __gdc_personality() argument
898 ExceptionHeader.restore(unwindHeader, handler, lsda, landingPad, cfa); in __gdc_personality()
912 auto result = scanLSDA(lsda, exceptionClass, actions, unwindHeader, in __gdc_personality()
930 ExceptionHeader* eh = ExceptionHeader.toExceptionHeader(unwindHeader); in __gdc_personality()
943 … ExceptionHeader.restore(&ehn.unwindHeader, nextHandler, nextLsd, nextLandingPad, nextCfa); in __gdc_personality()
971 ExceptionHeader.save(unwindHeader, cfa, handler, lsda, landingPad); in __gdc_personality()
976 _Unwind_DeleteException(&ehn.unwindHeader); in __gdc_personality()
981 eh = ExceptionHeader.toExceptionHeader(unwindHeader); in __gdc_personality()
986 _Unwind_DeleteException(&ehn.unwindHeader); in __gdc_personality()
994 cast(_Unwind_Ptr)unwindHeader); in __gdc_personality()