• Home
  • Raw
  • Download

Lines Matching refs:exc

54 static void seh_exc_cleanup(_Unwind_Reason_Code urc, _Unwind_Exception *exc) {  in seh_exc_cleanup()  argument
56 if (exc->exception_class != kSEHExceptionClass) in seh_exc_cleanup()
58 free(exc); in seh_exc_cleanup()
73 _Unwind_Exception *exc; in _GCC_specific_handler() local
103 exc = (_Unwind_Exception *)ms_exc->ExceptionInformation[0]; in _GCC_specific_handler()
110 exc = (_Unwind_Exception *)malloc(sizeof(_Unwind_Exception)); in _GCC_specific_handler()
111 exc->exception_class = kSEHExceptionClass; in _GCC_specific_handler()
112 exc->exception_cleanup = seh_exc_cleanup; in _GCC_specific_handler()
113 memset(exc->private_, 0, sizeof(exc->private_)); in _GCC_specific_handler()
136 (void *)pers, action, exc->exception_class, in _GCC_specific_handler()
137 (void *)exc, (void *)ctx); in _GCC_specific_handler()
138 urc = pers(1, action, exc->exception_class, exc, ctx); in _GCC_specific_handler()
155 exc->private_[1] = (ULONG_PTR)frame; in _GCC_specific_handler()
162 RtlUnwindEx(frame, (PVOID)disp->ControlPc, ms_exc, exc, ms_ctx, disp->HistoryTable); in _GCC_specific_handler()
174 exc->private_[2] = disp->TargetIp; in _GCC_specific_handler()
176 unw_get_reg(&cursor, UNW_X86_64_RDX, &exc->private_[3]); in _GCC_specific_handler()
178 exc->private_[2] = disp->TargetPc; in _GCC_specific_handler()
180 unw_get_reg(&cursor, UNW_ARM_R1, &exc->private_[3]); in _GCC_specific_handler()
182 exc->private_[2] = disp->TargetPc; in _GCC_specific_handler()
184 unw_get_reg(&cursor, UNW_ARM64_X1, &exc->private_[3]); in _GCC_specific_handler()
193 ms_exc->ExceptionInformation[3] = exc->private_[3]; in _GCC_specific_handler()
212 uint64_t klass, _Unwind_Exception *exc, in __libunwind_seh_personality() argument
221 ms_exc.ExceptionInformation[0] = (ULONG_PTR)exc; in __libunwind_seh_personality()