Lines Matching refs:cursor

49 static int __unw_init_seh(unw_cursor_t *cursor, CONTEXT *ctx);
50 static DISPATCHER_CONTEXT *__unw_seh_get_disp_ctx(unw_cursor_t *cursor);
51 static void __unw_seh_set_disp_ctx(unw_cursor_t *cursor,
61 unw_cursor_t cursor; in _GCC_specific_handler() local
105 __unw_init_seh(&cursor, disp->ContextRecord); in _GCC_specific_handler()
106 __unw_seh_set_disp_ctx(&cursor, disp); in _GCC_specific_handler()
107 __unw_set_reg(&cursor, UNW_REG_IP, disp->ControlPc); in _GCC_specific_handler()
108 ctx = (struct _Unwind_Context *)&cursor; in _GCC_specific_handler()
164 __unw_get_reg(&cursor, UNW_X86_64_RAX, &retval); in _GCC_specific_handler()
165 __unw_get_reg(&cursor, UNW_X86_64_RDX, &exc->private_[3]); in _GCC_specific_handler()
168 __unw_get_reg(&cursor, UNW_ARM_R0, &retval); in _GCC_specific_handler()
169 __unw_get_reg(&cursor, UNW_ARM_R1, &exc->private_[3]); in _GCC_specific_handler()
172 __unw_get_reg(&cursor, UNW_AARCH64_X0, &retval); in _GCC_specific_handler()
173 __unw_get_reg(&cursor, UNW_AARCH64_X1, &exc->private_[3]); in _GCC_specific_handler()
175 __unw_get_reg(&cursor, UNW_REG_IP, &target); in _GCC_specific_handler()
458 static int __unw_init_seh(unw_cursor_t *cursor, CONTEXT *context) { in __unw_init_seh() argument
460 new (reinterpret_cast<UnwindCursor<LocalAddressSpace, Registers_x86_64> *>(cursor)) in __unw_init_seh()
463 auto *co = reinterpret_cast<AbstractUnwindCursor *>(cursor); in __unw_init_seh()
467 new (reinterpret_cast<UnwindCursor<LocalAddressSpace, Registers_arm> *>(cursor)) in __unw_init_seh()
470 auto *co = reinterpret_cast<AbstractUnwindCursor *>(cursor); in __unw_init_seh()
474 new (reinterpret_cast<UnwindCursor<LocalAddressSpace, Registers_arm64> *>(cursor)) in __unw_init_seh()
477 auto *co = reinterpret_cast<AbstractUnwindCursor *>(cursor); in __unw_init_seh()
485 static DISPATCHER_CONTEXT *__unw_seh_get_disp_ctx(unw_cursor_t *cursor) { in __unw_seh_get_disp_ctx() argument
487 …return reinterpret_cast<UnwindCursor<LocalAddressSpace, Registers_x86_64> *>(cursor)->getDispatche… in __unw_seh_get_disp_ctx()
489 …return reinterpret_cast<UnwindCursor<LocalAddressSpace, Registers_arm> *>(cursor)->getDispatcherCo… in __unw_seh_get_disp_ctx()
491 …return reinterpret_cast<UnwindCursor<LocalAddressSpace, Registers_arm64> *>(cursor)->getDispatcher… in __unw_seh_get_disp_ctx()
497 static void __unw_seh_set_disp_ctx(unw_cursor_t *cursor, in __unw_seh_set_disp_ctx() argument
500 …reinterpret_cast<UnwindCursor<LocalAddressSpace, Registers_x86_64> *>(cursor)->setDispatcherContex… in __unw_seh_set_disp_ctx()
502 …reinterpret_cast<UnwindCursor<LocalAddressSpace, Registers_arm> *>(cursor)->setDispatcherContext(d… in __unw_seh_set_disp_ctx()
504 …reinterpret_cast<UnwindCursor<LocalAddressSpace, Registers_arm64> *>(cursor)->setDispatcherContext… in __unw_seh_set_disp_ctx()