Home
last modified time | relevance | path

Searched refs:cursor (Results 1 – 4 of 4) sorted by relevance

/ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/src/Unwind/
Dlibunwind.cpp41 _LIBUNWIND_EXPORT int unw_init_local(unw_cursor_t *cursor, in unw_init_local() argument
44 cursor, context); in unw_init_local()
47 new ((void *)cursor) UnwindCursor<LocalAddressSpace, Registers_x86>( in unw_init_local()
50 new ((void *)cursor) UnwindCursor<LocalAddressSpace, Registers_x86_64>( in unw_init_local()
53 new ((void *)cursor) UnwindCursor<LocalAddressSpace, Registers_ppc>( in unw_init_local()
56 new ((void *)cursor) UnwindCursor<LocalAddressSpace, Registers_arm64>( in unw_init_local()
59 new ((void *)cursor) UnwindCursor<LocalAddressSpace, Registers_arm>( in unw_init_local()
62 AbstractUnwindCursor *co = (AbstractUnwindCursor *)cursor; in unw_init_local()
74 _LIBUNWIND_EXPORT int unw_init_remote_thread(unw_cursor_t *cursor, in unw_init_remote_thread() argument
79 return unw_init_local(cursor, NULL); //FIXME in unw_init_remote_thread()
[all …]
DUnwindLevel1-gcc-ext.c86 unw_cursor_t cursor; in _Unwind_FindEnclosingFunction() local
90 unw_init_local(&cursor, &uc); in _Unwind_FindEnclosingFunction()
91 unw_set_reg(&cursor, UNW_REG_IP, (unw_word_t)(long) pc); in _Unwind_FindEnclosingFunction()
92 if (unw_get_proc_info(&cursor, &info) == UNW_ESUCCESS) in _Unwind_FindEnclosingFunction()
103 unw_cursor_t cursor; in _Unwind_Backtrace() local
106 unw_init_local(&cursor, &uc); in _Unwind_Backtrace()
115 if (unw_step(&cursor) <= 0) { in _Unwind_Backtrace()
127 unw_get_proc_name(&cursor, functionName, 512, &offset); in _Unwind_Backtrace()
128 unw_get_proc_info(&cursor, &frameInfo); in _Unwind_Backtrace()
132 &cursor); in _Unwind_Backtrace()
[all …]
DUnwindLevel1.c406 unw_cursor_t *cursor = (unw_cursor_t *)context; in _Unwind_GetLanguageSpecificData() local
409 if (unw_get_proc_info(cursor, &frameInfo) == UNW_ESUCCESS) in _Unwind_GetLanguageSpecificData()
426 unw_cursor_t *cursor = (unw_cursor_t *)context; in _Unwind_GetGR() local
428 unw_get_reg(cursor, index, &result); in _Unwind_GetGR()
443 unw_cursor_t *cursor = (unw_cursor_t *)context; in _Unwind_SetGR() local
444 unw_set_reg(cursor, index, new_value); in _Unwind_SetGR()
451 unw_cursor_t *cursor = (unw_cursor_t *)context; in _Unwind_GetIP() local
453 unw_get_reg(cursor, UNW_REG_IP, &result); in _Unwind_GetIP()
468 unw_cursor_t *cursor = (unw_cursor_t *)context; in _Unwind_SetIP() local
469 unw_set_reg(cursor, UNW_REG_IP, new_value); in _Unwind_SetIP()
[all …]
DUnwind-EHABI.cpp709 unw_cursor_t *cursor = (unw_cursor_t *)context; in _Unwind_GetLanguageSpecificData() local
712 if (unw_get_proc_info(cursor, &frameInfo) == UNW_ESUCCESS) in _Unwind_GetLanguageSpecificData()
752 unw_cursor_t *cursor = (unw_cursor_t *)context; in _Unwind_VRS_Set() local
757 return unw_set_reg(cursor, UNW_ARM_R0 + regno, *(unw_word_t *)valuep) == in _Unwind_VRS_Set()
764 return unw_set_reg(cursor, UNW_ARM_WC0 + regno, *(unw_word_t *)valuep) == in _Unwind_VRS_Set()
775 unw_save_vfp_as_X(cursor); in _Unwind_VRS_Set()
780 return unw_set_fpreg(cursor, UNW_ARM_D0 + regno, in _Unwind_VRS_Set()
787 return unw_set_fpreg(cursor, UNW_ARM_WR0 + regno, in _Unwind_VRS_Set()
800 unw_cursor_t *cursor = (unw_cursor_t *)context; in _Unwind_VRS_Get_Internal() local
805 return unw_get_reg(cursor, UNW_ARM_R0 + regno, (unw_word_t *)valuep) == in _Unwind_VRS_Get_Internal()
[all …]