Lines Matching full:cursor

41 /// Create a cursor of a thread in this process given 'context' recorded by
43 _LIBUNWIND_HIDDEN int __unw_init_local(unw_cursor_t *cursor, in __unw_init_local() argument
45 _LIBUNWIND_TRACE_API("__unw_init_local(cursor=%p, context=%p)", in __unw_init_local()
46 static_cast<void *>(cursor), in __unw_init_local()
85 // Use "placement new" to allocate UnwindCursor in the cursor buffer. in __unw_init_local()
86 new (reinterpret_cast<UnwindCursor<LocalAddressSpace, REGISTER_KIND> *>(cursor)) in __unw_init_local()
90 AbstractUnwindCursor *co = (AbstractUnwindCursor *)cursor; in __unw_init_local()
97 /// Get value of specified register at cursor position in stack frame. in _LIBUNWIND_WEAK_ALIAS()
98 _LIBUNWIND_HIDDEN int __unw_get_reg(unw_cursor_t *cursor, unw_regnum_t regNum, in _LIBUNWIND_WEAK_ALIAS()
100 _LIBUNWIND_TRACE_API("__unw_get_reg(cursor=%p, regNum=%d, &value=%p)", in _LIBUNWIND_WEAK_ALIAS()
101 static_cast<void *>(cursor), regNum, in _LIBUNWIND_WEAK_ALIAS()
103 AbstractUnwindCursor *co = (AbstractUnwindCursor *)cursor; in _LIBUNWIND_WEAK_ALIAS()
112 /// Set value of specified register at cursor position in stack frame. in _LIBUNWIND_WEAK_ALIAS()
113 _LIBUNWIND_HIDDEN int __unw_set_reg(unw_cursor_t *cursor, unw_regnum_t regNum, in _LIBUNWIND_WEAK_ALIAS()
115 _LIBUNWIND_TRACE_API("__unw_set_reg(cursor=%p, regNum=%d, value=0x%" PRIxPTR in _LIBUNWIND_WEAK_ALIAS()
117 static_cast<void *>(cursor), regNum, value); in _LIBUNWIND_WEAK_ALIAS()
119 AbstractUnwindCursor *co = (AbstractUnwindCursor *)cursor; in _LIBUNWIND_WEAK_ALIAS()
144 /// Get value of specified float register at cursor position in stack frame. in _LIBUNWIND_WEAK_ALIAS()
145 _LIBUNWIND_HIDDEN int __unw_get_fpreg(unw_cursor_t *cursor, unw_regnum_t regNum, in _LIBUNWIND_WEAK_ALIAS()
147 _LIBUNWIND_TRACE_API("__unw_get_fpreg(cursor=%p, regNum=%d, &value=%p)", in _LIBUNWIND_WEAK_ALIAS()
148 static_cast<void *>(cursor), regNum, in _LIBUNWIND_WEAK_ALIAS()
150 AbstractUnwindCursor *co = (AbstractUnwindCursor *)cursor; in _LIBUNWIND_WEAK_ALIAS()
159 /// Set value of specified float register at cursor position in stack frame. in _LIBUNWIND_WEAK_ALIAS()
160 _LIBUNWIND_HIDDEN int __unw_set_fpreg(unw_cursor_t *cursor, unw_regnum_t regNum, in _LIBUNWIND_WEAK_ALIAS()
163 _LIBUNWIND_TRACE_API("__unw_set_fpreg(cursor=%p, regNum=%d, value=%llX)", in _LIBUNWIND_WEAK_ALIAS()
164 static_cast<void *>(cursor), regNum, value); in _LIBUNWIND_WEAK_ALIAS()
166 _LIBUNWIND_TRACE_API("__unw_set_fpreg(cursor=%p, regNum=%d, value=%g)", in _LIBUNWIND_WEAK_ALIAS()
167 static_cast<void *>(cursor), regNum, value); in _LIBUNWIND_WEAK_ALIAS()
169 AbstractUnwindCursor *co = (AbstractUnwindCursor *)cursor; in _LIBUNWIND_WEAK_ALIAS()
178 /// Move cursor to next frame. in _LIBUNWIND_WEAK_ALIAS()
179 _LIBUNWIND_HIDDEN int __unw_step(unw_cursor_t *cursor) { in _LIBUNWIND_WEAK_ALIAS()
180 _LIBUNWIND_TRACE_API("__unw_step(cursor=%p)", static_cast<void *>(cursor)); in _LIBUNWIND_WEAK_ALIAS()
181 AbstractUnwindCursor *co = (AbstractUnwindCursor *)cursor; in _LIBUNWIND_WEAK_ALIAS()
186 // Move cursor to next frame and for stage2 of unwinding. in _LIBUNWIND_WEAK_ALIAS()
188 extern "C" _LIBUNWIND_HIDDEN int __unw_step_stage2(unw_cursor_t *cursor) { in _LIBUNWIND_WEAK_ALIAS()
189 _LIBUNWIND_TRACE_API("__unw_step_stage2(cursor=%p)", in _LIBUNWIND_WEAK_ALIAS()
190 static_cast<void *>(cursor)); in _LIBUNWIND_WEAK_ALIAS()
191 AbstractUnwindCursor *co = (AbstractUnwindCursor *)cursor; in _LIBUNWIND_WEAK_ALIAS()
195 /// Get unwind info at cursor position in stack frame.
196 _LIBUNWIND_HIDDEN int __unw_get_proc_info(unw_cursor_t *cursor, in __unw_get_proc_info() argument
198 _LIBUNWIND_TRACE_API("__unw_get_proc_info(cursor=%p, &info=%p)", in __unw_get_proc_info()
199 static_cast<void *>(cursor), static_cast<void *>(info)); in __unw_get_proc_info()
200 AbstractUnwindCursor *co = (AbstractUnwindCursor *)cursor; in __unw_get_proc_info()
208 /// Resume execution at cursor position (aka longjump). in _LIBUNWIND_WEAK_ALIAS()
209 _LIBUNWIND_HIDDEN int __unw_resume(unw_cursor_t *cursor) { in _LIBUNWIND_WEAK_ALIAS()
210 _LIBUNWIND_TRACE_API("__unw_resume(cursor=%p)", static_cast<void *>(cursor)); in _LIBUNWIND_WEAK_ALIAS()
215 AbstractUnwindCursor *co = (AbstractUnwindCursor *)cursor; in _LIBUNWIND_WEAK_ALIAS()
221 /// Get name of function at cursor position in stack frame. in _LIBUNWIND_WEAK_ALIAS()
222 _LIBUNWIND_HIDDEN int __unw_get_proc_name(unw_cursor_t *cursor, char *buf, in _LIBUNWIND_WEAK_ALIAS()
224 _LIBUNWIND_TRACE_API("__unw_get_proc_name(cursor=%p, &buf=%p, bufLen=%lu)", in _LIBUNWIND_WEAK_ALIAS()
225 static_cast<void *>(cursor), static_cast<void *>(buf), in _LIBUNWIND_WEAK_ALIAS()
227 AbstractUnwindCursor *co = (AbstractUnwindCursor *)cursor; in _LIBUNWIND_WEAK_ALIAS()
235 _LIBUNWIND_HIDDEN int __unw_is_fpreg(unw_cursor_t *cursor, in _LIBUNWIND_WEAK_ALIAS()
237 _LIBUNWIND_TRACE_API("__unw_is_fpreg(cursor=%p, regNum=%d)", in _LIBUNWIND_WEAK_ALIAS()
238 static_cast<void *>(cursor), regNum); in _LIBUNWIND_WEAK_ALIAS()
239 AbstractUnwindCursor *co = (AbstractUnwindCursor *)cursor; in _LIBUNWIND_WEAK_ALIAS()
245 _LIBUNWIND_HIDDEN const char *__unw_regname(unw_cursor_t *cursor, in _LIBUNWIND_WEAK_ALIAS()
247 _LIBUNWIND_TRACE_API("__unw_regname(cursor=%p, regNum=%d)", in _LIBUNWIND_WEAK_ALIAS()
248 static_cast<void *>(cursor), regNum); in _LIBUNWIND_WEAK_ALIAS()
249 AbstractUnwindCursor *co = (AbstractUnwindCursor *)cursor; in _LIBUNWIND_WEAK_ALIAS()
255 _LIBUNWIND_HIDDEN int __unw_is_signal_frame(unw_cursor_t *cursor) { in _LIBUNWIND_WEAK_ALIAS()
256 _LIBUNWIND_TRACE_API("__unw_is_signal_frame(cursor=%p)", in _LIBUNWIND_WEAK_ALIAS()
257 static_cast<void *>(cursor)); in _LIBUNWIND_WEAK_ALIAS()
258 AbstractUnwindCursor *co = (AbstractUnwindCursor *)cursor; in _LIBUNWIND_WEAK_ALIAS()
264 _LIBUNWIND_EXPORT uintptr_t __unw_get_data_rel_base(unw_cursor_t *cursor) { in _LIBUNWIND_WEAK_ALIAS()
265 _LIBUNWIND_TRACE_API("unw_get_data_rel_base(cursor=%p)", in _LIBUNWIND_WEAK_ALIAS()
266 static_cast<void *>(cursor)); in _LIBUNWIND_WEAK_ALIAS()
267 AbstractUnwindCursor *co = reinterpret_cast<AbstractUnwindCursor *>(cursor); in _LIBUNWIND_WEAK_ALIAS()
275 _LIBUNWIND_HIDDEN void __unw_save_vfp_as_X(unw_cursor_t *cursor) { in _LIBUNWIND_WEAK_ALIAS()
276 _LIBUNWIND_TRACE_API("__unw_get_fpreg_save_vfp_as_X(cursor=%p)", in _LIBUNWIND_WEAK_ALIAS()
277 static_cast<void *>(cursor)); in _LIBUNWIND_WEAK_ALIAS()
278 AbstractUnwindCursor *co = (AbstractUnwindCursor *)cursor; in _LIBUNWIND_WEAK_ALIAS()