Lines Matching refs:ms_exc

59 _GCC_specific_handler(PEXCEPTION_RECORD ms_exc, PVOID frame, PCONTEXT ms_ctx,  in _GCC_specific_handler()  argument
70 ms_exc->ExceptionCode, ms_exc->ExceptionFlags, in _GCC_specific_handler()
72 if (ms_exc->ExceptionCode == STATUS_GCC_UNWIND) { in _GCC_specific_handler()
73 if (IS_TARGET_UNWIND(ms_exc->ExceptionFlags)) { in _GCC_specific_handler()
77 disp->ContextRecord->Rdx = ms_exc->ExceptionInformation[3]; in _GCC_specific_handler()
79 disp->ContextRecord->R1 = ms_exc->ExceptionInformation[3]; in _GCC_specific_handler()
81 disp->ContextRecord->X1 = ms_exc->ExceptionInformation[3]; in _GCC_specific_handler()
88 if (ms_exc->ExceptionCode == STATUS_GCC_THROW) { in _GCC_specific_handler()
92 exc = (_Unwind_Exception *)ms_exc->ExceptionInformation[0]; in _GCC_specific_handler()
93 if (!IS_UNWINDING(ms_exc->ExceptionFlags) && ms_exc->NumberParameters > 1) { in _GCC_specific_handler()
94 ctx = (struct _Unwind_Context *)ms_exc->ExceptionInformation[1]; in _GCC_specific_handler()
95 action = (_Unwind_Action)ms_exc->ExceptionInformation[2]; in _GCC_specific_handler()
110 if (!IS_UNWINDING(ms_exc->ExceptionFlags)) { in _GCC_specific_handler()
111 if (ours && ms_exc->NumberParameters > 1) in _GCC_specific_handler()
116 if (ours && ms_exc->ExceptionInformation[1] == (ULONG_PTR)frame) in _GCC_specific_handler()
139 if (ours && ms_exc->NumberParameters > 1) in _GCC_specific_handler()
142 if (IS_UNWINDING(ms_exc->ExceptionFlags)) in _GCC_specific_handler()
146 ms_exc->NumberParameters = 4; in _GCC_specific_handler()
147 ms_exc->ExceptionInformation[1] = (ULONG_PTR)frame; in _GCC_specific_handler()
151 RtlUnwindEx(frame, (PVOID)disp->ControlPc, ms_exc, exc, ms_ctx, disp->HistoryTable); in _GCC_specific_handler()
157 if (ours && !IS_UNWINDING(ms_exc->ExceptionFlags) && ms_exc->NumberParameters > 1) in _GCC_specific_handler()
160 if (!IS_UNWINDING(ms_exc->ExceptionFlags)) in _GCC_specific_handler()
176 ms_exc->ExceptionCode = STATUS_GCC_UNWIND; in _GCC_specific_handler()
178 ms_exc->ExceptionInformation[2] = disp->TargetIp; in _GCC_specific_handler()
180 ms_exc->ExceptionInformation[2] = disp->TargetPc; in _GCC_specific_handler()
182 ms_exc->ExceptionInformation[3] = exc->private_[3]; in _GCC_specific_handler()
187 RtlUnwindEx(frame, (PVOID)target, ms_exc, (PVOID)retval, &new_ctx, disp->HistoryTable); in _GCC_specific_handler()
205 EXCEPTION_RECORD ms_exc; in __libunwind_seh_personality() local
207 ms_exc.ExceptionCode = STATUS_GCC_THROW; in __libunwind_seh_personality()
208 ms_exc.ExceptionFlags = 0; in __libunwind_seh_personality()
209 ms_exc.NumberParameters = 3; in __libunwind_seh_personality()
210 ms_exc.ExceptionInformation[0] = (ULONG_PTR)exc; in __libunwind_seh_personality()
211 ms_exc.ExceptionInformation[1] = (ULONG_PTR)context; in __libunwind_seh_personality()
212 ms_exc.ExceptionInformation[2] = state; in __libunwind_seh_personality()
215 EXCEPTION_DISPOSITION ms_act = disp_ctx->LanguageHandler(&ms_exc, in __libunwind_seh_personality()
375 EXCEPTION_RECORD ms_exc; in _Unwind_Resume() local
379 memset(&ms_exc, 0, sizeof(ms_exc)); in _Unwind_Resume()
381 ms_exc.ExceptionCode = STATUS_GCC_THROW; in _Unwind_Resume()
382 ms_exc.ExceptionFlags = EXCEPTION_NONCONTINUABLE; in _Unwind_Resume()
383 ms_exc.NumberParameters = 4; in _Unwind_Resume()
384 ms_exc.ExceptionInformation[0] = (ULONG_PTR)exception_object; in _Unwind_Resume()
385 ms_exc.ExceptionInformation[1] = exception_object->private_[1]; in _Unwind_Resume()
386 ms_exc.ExceptionInformation[2] = exception_object->private_[2]; in _Unwind_Resume()
387 ms_exc.ExceptionInformation[3] = exception_object->private_[3]; in _Unwind_Resume()
389 (PVOID)exception_object->private_[2], &ms_exc, in _Unwind_Resume()