Lines Matching refs:cache
131 struct libunwind_frame_cache *cache; in libunwind_frame_cache() local
139 cache = FRAME_OBSTACK_ZALLOC (struct libunwind_frame_cache); in libunwind_frame_cache()
141 cache->func_addr = frame_func_unwind (next_frame); in libunwind_frame_cache()
158 unw_init_remote_p (&cache->cursor, as, next_frame); in libunwind_frame_cache()
159 unw_step_p (&cache->cursor); in libunwind_frame_cache()
163 ret = unw_get_reg_p (&cache->cursor, uw_sp_regnum, &fp); in libunwind_frame_cache()
167 cache->base = (CORE_ADDR)fp; in libunwind_frame_cache()
169 *this_cache = cache; in libunwind_frame_cache()
170 return cache; in libunwind_frame_cache()
224 struct libunwind_frame_cache *cache = in libunwind_frame_this_id() local
227 (*this_id) = frame_id_build (cache->base, cache->func_addr); in libunwind_frame_this_id()
236 struct libunwind_frame_cache *cache = in libunwind_frame_prev_register() local
273 ret = unw_get_fpreg_p (&cache->cursor, uw_regnum, &fpval); in libunwind_frame_prev_register()
278 ret = unw_get_reg_p (&cache->cursor, uw_regnum, &intval); in libunwind_frame_prev_register()
288 if (unw_get_saveloc_p (&cache->cursor, uw_regnum, &sl) < 0) in libunwind_frame_prev_register()
312 struct libunwind_frame_cache *cache = in libunwind_frame_base_address() local
315 return cache->base; in libunwind_frame_base_address()