• Home
  • Raw
  • Download

Lines Matching refs:dwarf

42   c->dwarf.loc[UNW_ARM_R15] = DWARF_NULL_LOC;  in arm_exidx_step()
44 if ((ret = tdep_find_proc_info (&c->dwarf, c->dwarf.ip, 1)) < 0) in arm_exidx_step()
47 if (c->dwarf.pi.format != UNW_INFO_FORMAT_ARM_EXIDX) in arm_exidx_step()
50 ret = arm_exidx_extract (&c->dwarf, buf); in arm_exidx_step()
56 ret = arm_exidx_decode (buf, ret, &c->dwarf); in arm_exidx_step()
60 c->dwarf.pi_valid = 0; in arm_exidx_step()
62 return (c->dwarf.ip == 0) ? 0 : 1; in arm_exidx_step()
74 ip = c->dwarf.ip; in adjust_ip()
88 as = c->dwarf.as; in adjust_ip()
90 arg = c->dwarf.as_arg; in adjust_ip()
96 c->dwarf.ip -= adjust; in adjust_ip()
106 unw_word_t sc_addr, sp, sp_addr = c->dwarf.cfa; in unw_handle_signal_frame()
109 if ((ret = dwarf_get (&c->dwarf, sp_loc, &sp)) < 0) in unw_handle_signal_frame()
117 c->sigcontext_sp = c->dwarf.cfa; in unw_handle_signal_frame()
118 c->sigcontext_pc = c->dwarf.ip; in unw_handle_signal_frame()
166 c->dwarf.loc[UNW_ARM_R0] = DWARF_LOC (sc_addr + LINUX_SC_R0_OFF, 0); in unw_handle_signal_frame()
167 c->dwarf.loc[UNW_ARM_R1] = DWARF_LOC (sc_addr + LINUX_SC_R1_OFF, 0); in unw_handle_signal_frame()
168 c->dwarf.loc[UNW_ARM_R2] = DWARF_LOC (sc_addr + LINUX_SC_R2_OFF, 0); in unw_handle_signal_frame()
169 c->dwarf.loc[UNW_ARM_R3] = DWARF_LOC (sc_addr + LINUX_SC_R3_OFF, 0); in unw_handle_signal_frame()
170 c->dwarf.loc[UNW_ARM_R4] = DWARF_LOC (sc_addr + LINUX_SC_R4_OFF, 0); in unw_handle_signal_frame()
171 c->dwarf.loc[UNW_ARM_R5] = DWARF_LOC (sc_addr + LINUX_SC_R5_OFF, 0); in unw_handle_signal_frame()
172 c->dwarf.loc[UNW_ARM_R6] = DWARF_LOC (sc_addr + LINUX_SC_R6_OFF, 0); in unw_handle_signal_frame()
173 c->dwarf.loc[UNW_ARM_R7] = DWARF_LOC (sc_addr + LINUX_SC_R7_OFF, 0); in unw_handle_signal_frame()
174 c->dwarf.loc[UNW_ARM_R8] = DWARF_LOC (sc_addr + LINUX_SC_R8_OFF, 0); in unw_handle_signal_frame()
175 c->dwarf.loc[UNW_ARM_R9] = DWARF_LOC (sc_addr + LINUX_SC_R9_OFF, 0); in unw_handle_signal_frame()
176 c->dwarf.loc[UNW_ARM_R10] = DWARF_LOC (sc_addr + LINUX_SC_R10_OFF, 0); in unw_handle_signal_frame()
177 c->dwarf.loc[UNW_ARM_R11] = DWARF_LOC (sc_addr + LINUX_SC_FP_OFF, 0); in unw_handle_signal_frame()
178 c->dwarf.loc[UNW_ARM_R12] = DWARF_LOC (sc_addr + LINUX_SC_IP_OFF, 0); in unw_handle_signal_frame()
179 c->dwarf.loc[UNW_ARM_R13] = DWARF_LOC (sc_addr + LINUX_SC_SP_OFF, 0); in unw_handle_signal_frame()
180 c->dwarf.loc[UNW_ARM_R14] = DWARF_LOC (sc_addr + LINUX_SC_LR_OFF, 0); in unw_handle_signal_frame()
181 c->dwarf.loc[UNW_ARM_R15] = DWARF_LOC (sc_addr + LINUX_SC_PC_OFF, 0); in unw_handle_signal_frame()
184 dwarf_get (&c->dwarf, c->dwarf.loc[UNW_ARM_R13], &c->dwarf.cfa); in unw_handle_signal_frame()
185 dwarf_get (&c->dwarf, c->dwarf.loc[UNW_ARM_R15], &c->dwarf.ip); in unw_handle_signal_frame()
187 c->dwarf.pi_valid = 0; in unw_handle_signal_frame()
200 unw_word_t old_ip = c->dwarf.ip; in unw_step()
201 unw_word_t old_cfa = c->dwarf.cfa; in unw_step()
213 ret = dwarf_step (&c->dwarf); in unw_step()
248 if (dwarf_get(&c->dwarf, c->dwarf.loc[UNW_ARM_R11], &frame) < 0) in unw_step()
253 c->dwarf.loc[i] = DWARF_NULL_LOC; in unw_step()
257 if (dwarf_get(&c->dwarf, DWARF_LOC(frame, 0), &instr) < 0) in unw_step()
262 if (dwarf_get(&c->dwarf, DWARF_LOC(instr, 0), &instr) < 0) in unw_step()
278 if (dwarf_get(&c->dwarf, ip_loc, &c->dwarf.ip) < 0) in unw_step()
282 c->dwarf.loc[UNW_ARM_R12] = ip_loc; in unw_step()
283 c->dwarf.loc[UNW_ARM_R11] = fp_loc; in unw_step()
284 c->dwarf.pi_valid = 0; in unw_step()
285 Debug(15, "ip=%x\n", c->dwarf.ip); in unw_step()
295 if (ret < 0 && UNW_TRY_METHOD(UNW_ARM_METHOD_LR) && c->dwarf.frame == 0) in unw_step()
302 if (dwarf_get(&c->dwarf, c->dwarf.loc[UNW_ARM_R14], &lr) >= 0) in unw_step()
304 if (lr != c->dwarf.ip) in unw_step()
307 c->dwarf.ip = lr; in unw_step()
316 if (c->dwarf.ip == old_ip && c->dwarf.cfa == old_cfa) in unw_step()
319 __FUNCTION__, (long) c->dwarf.ip); in unw_step()
322 c->dwarf.frame++; in unw_step()