Lines Matching refs:pc

47 // file,line#,function_name for each pc. Therefore we don't need it to
66 zx_status_t GetDebugInfo(uintptr_t pc, inspector_dsoinfo_t** out_dso,
110 // Returns ZX_ERR_NOT_FOUND if |pc| is not in any DSO.
117 zx_status_t DebugInfoCache::GetDebugInfo(uintptr_t pc,
120 inspector_dsoinfo_t* dso = inspector_dso_lookup(dso_list_, pc);
122 debugf(1, "No DSO found for pc %p\n", (void*) pc);
144 debugf(1, "using cached debug info entry for pc %p\n", (void*) pc);
210 btprint_callback(void* vdata, uintptr_t pc, const char* filename, int lineno,
222 int n, uintptr_t pc, uintptr_t sp,
225 fprintf(f, "{{{bt: %#" PRIxPTR "}}}\n", pc);
231 auto status = di_cache->GetDebugInfo(pc, &dso, &bt_state);
234 // The pc is not in any DSO.
235 fprintf(f, "bt#%02d: pc %p sp %p\n",
236 n, (void*) pc, (void*) sp);
246 auto ret = backtrace_pcinfo(bt_state, pc, btprint_callback,
256 fprintf(f, "bt#%02d: pc %p sp %p (%s,%p)",
257 n, (void*) pc, (void*) sp, dso->name, (void*) (pc - dso->base));
271 static int dso_lookup_for_unw(void* context, unw_word_t pc,
274 inspector_dsoinfo_t* dso = inspector_dso_lookup(dso_list, pc);
286 uintptr_t pc, uintptr_t sp, uintptr_t fp,
347 btprint(f, &di_cache, n++, pc, sp, use_new_format);
352 print_error("unw_step failed for pc %p, aborting backtrace here",
353 (void*) pc);
360 pc = val;
365 if (read_mem(process, fp + 8, &pc, sizeof(pc))) {
372 btprint(f, &di_cache, n++, pc, sp, use_new_format);
386 uintptr_t pc, uintptr_t sp, uintptr_t fp,
388 inspector_print_backtrace_impl(f, process, thread, dso_list, pc, sp, fp,
396 uintptr_t pc, uintptr_t sp, uintptr_t fp,
398 inspector_print_backtrace_impl(f, process, thread, dso_list, pc, sp, fp,