Lines Matching refs:cursor

47 #define __unw_phase2_resume(cursor, fn)                                        \
50 __unw_resume((cursor)); \
54 #define __unw_phase2_resume(cursor, fn) \
57 void *cetRegContext = __libunwind_cet_get_registers((cursor)); \
66 #define __unw_phase2_resume(cursor, fn) \
69 void *cetRegContext = __libunwind_cet_get_registers((cursor)); \
77 unwind_phase1(unw_context_t *uc, unw_cursor_t *cursor, _Unwind_Exception *exception_object) {
78 __unw_init_local(cursor, uc);
84 int stepResult = __unw_step(cursor);
102 if (__unw_get_proc_info(cursor, &frameInfo) != UNW_ESUCCESS) {
116 if ((__unw_get_proc_name(cursor, functionBuf, sizeof(functionBuf),
121 __unw_get_reg(cursor, UNW_REG_IP, &pc);
140 exception_object, (struct _Unwind_Context *)(cursor));
145 __unw_get_reg(cursor, UNW_REG_SP, &sp);
173 unwind_phase2(unw_context_t *uc, unw_cursor_t *cursor, _Unwind_Exception *exception_object) {
174 __unw_init_local(cursor, uc);
190 int stepResult = __unw_step_stage2(cursor);
208 __unw_get_reg(cursor, UNW_REG_SP, &sp);
209 if (__unw_get_proc_info(cursor, &frameInfo) != UNW_ESUCCESS) {
223 if ((__unw_get_proc_name(cursor, functionBuf, sizeof(functionBuf),
243 __unw_get_reg(cursor, UNW_REG_IP, &retInNormalStack);
262 (struct _Unwind_Context *)(cursor));
283 __unw_get_reg(cursor, UNW_REG_IP, &pc);
284 __unw_get_reg(cursor, UNW_REG_SP, &sp);
291 __unw_phase2_resume(cursor, framesWalked);
309 unwind_phase2_forced(unw_context_t *uc, unw_cursor_t *cursor,
312 __unw_init_local(cursor, uc);
318 while (__unw_step_stage2(cursor) > 0) {
322 if (__unw_get_proc_info(cursor, &frameInfo) != UNW_ESUCCESS) {
336 if ((__unw_get_proc_name(cursor, functionBuf, sizeof(functionBuf),
353 (struct _Unwind_Context *)(cursor), stop_parameter);
374 (struct _Unwind_Context *)(cursor));
389 __unw_phase2_resume(cursor, framesWalked);
410 (struct _Unwind_Context *)(cursor), stop_parameter);
424 unw_cursor_t cursor;
433 _Unwind_Reason_Code phase1 = unwind_phase1(&uc, &cursor, exception_object);
438 return unwind_phase2(&uc, &cursor, exception_object);
458 unw_cursor_t cursor;
462 unwind_phase2_forced(&uc, &cursor, exception_object,
466 unwind_phase2(&uc, &cursor, exception_object);
483 unw_cursor_t cursor;
492 return unwind_phase2_forced(&uc, &cursor, exception_object, stop, stop_parameter);
499 unw_cursor_t *cursor = (unw_cursor_t *)context;
502 if (__unw_get_proc_info(cursor, &frameInfo) == UNW_ESUCCESS)
522 unw_cursor_t *cursor = (unw_cursor_t *)context;
525 if (__unw_get_proc_info(cursor, &frameInfo) == UNW_ESUCCESS)
548 unw_cursor_t *cursor = (unw_cursor_t *)context;
550 __unw_get_reg(cursor, index, &result);
562 unw_cursor_t *cursor = (unw_cursor_t *)context;
563 __unw_set_reg(cursor, index, value);
568 unw_cursor_t *cursor = (unw_cursor_t *)context;
570 __unw_get_reg(cursor, UNW_REG_IP, &result);
583 unw_cursor_t *cursor = (unw_cursor_t *)context;
584 __unw_set_reg(cursor, UNW_REG_IP, value);