Lines Matching refs:cursor

61 static int _unw_init_seh(unw_cursor_t *cursor, CONTEXT *ctx);
62 static DISPATCHER_CONTEXT *_unw_seh_get_disp_ctx(unw_cursor_t *cursor);
63 static void _unw_seh_set_disp_ctx(unw_cursor_t *cursor, DISPATCHER_CONTEXT *disp);
73 unw_cursor_t cursor; in _GCC_specific_handler() local
115 _unw_init_seh(&cursor, disp->ContextRecord); in _GCC_specific_handler()
116 _unw_seh_set_disp_ctx(&cursor, disp); in _GCC_specific_handler()
117 unw_set_reg(&cursor, UNW_REG_IP, disp->ControlPc-1); in _GCC_specific_handler()
118 ctx = (struct _Unwind_Context *)&cursor; in _GCC_specific_handler()
171 unw_get_reg(&cursor, UNW_X86_64_RAX, &retval); in _GCC_specific_handler()
172 unw_get_reg(&cursor, UNW_X86_64_RDX, &exc->private_[3]); in _GCC_specific_handler()
175 unw_get_reg(&cursor, UNW_ARM_R0, &retval); in _GCC_specific_handler()
176 unw_get_reg(&cursor, UNW_ARM_R1, &exc->private_[3]); in _GCC_specific_handler()
179 unw_get_reg(&cursor, UNW_ARM64_X0, &retval); in _GCC_specific_handler()
180 unw_get_reg(&cursor, UNW_ARM64_X1, &exc->private_[3]); in _GCC_specific_handler()
182 unw_get_reg(&cursor, UNW_REG_IP, &target); in _GCC_specific_handler()
443 _unw_init_seh(unw_cursor_t *cursor, CONTEXT *context) { in _unw_init_seh() argument
445 new ((void *)cursor) UnwindCursor<LocalAddressSpace, Registers_x86_64>( in _unw_init_seh()
447 auto *co = reinterpret_cast<AbstractUnwindCursor *>(cursor); in _unw_init_seh()
451 new ((void *)cursor) UnwindCursor<LocalAddressSpace, Registers_arm>( in _unw_init_seh()
453 auto *co = reinterpret_cast<AbstractUnwindCursor *>(cursor); in _unw_init_seh()
457 new ((void *)cursor) UnwindCursor<LocalAddressSpace, Registers_arm64>( in _unw_init_seh()
459 auto *co = reinterpret_cast<AbstractUnwindCursor *>(cursor); in _unw_init_seh()
468 _unw_seh_get_disp_ctx(unw_cursor_t *cursor) { in _unw_seh_get_disp_ctx() argument
470 …return reinterpret_cast<UnwindCursor<LocalAddressSpace, Registers_x86_64> *>(cursor)->getDispatche… in _unw_seh_get_disp_ctx()
472 …return reinterpret_cast<UnwindCursor<LocalAddressSpace, Registers_arm> *>(cursor)->getDispatcherCo… in _unw_seh_get_disp_ctx()
474 …return reinterpret_cast<UnwindCursor<LocalAddressSpace, Registers_arm64> *>(cursor)->getDispatcher… in _unw_seh_get_disp_ctx()
481 _unw_seh_set_disp_ctx(unw_cursor_t *cursor, DISPATCHER_CONTEXT *disp) { in _unw_seh_set_disp_ctx() argument
483 …reinterpret_cast<UnwindCursor<LocalAddressSpace, Registers_x86_64> *>(cursor)->setDispatcherContex… in _unw_seh_set_disp_ctx()
485 …reinterpret_cast<UnwindCursor<LocalAddressSpace, Registers_arm> *>(cursor)->setDispatcherContext(d… in _unw_seh_set_disp_ctx()
487 …reinterpret_cast<UnwindCursor<LocalAddressSpace, Registers_arm64> *>(cursor)->setDispatcherContext… in _unw_seh_set_disp_ctx()