Lines Matching refs:dwarf
67 c, c->dwarf.ip, c->dwarf.cfa); in unw_step()
69 unw_word_t old_ip = c->dwarf.ip; in unw_step()
70 unw_word_t old_cfa = c->dwarf.cfa; in unw_step()
74 ret = dwarf_step (&c->dwarf); in unw_step()
90 if (DWARF_IS_NULL_LOC (c->dwarf.loc[RBP])) in unw_step()
92 c->dwarf.ip = 0; in unw_step()
110 unw_word_t prev_ip = c->dwarf.ip, prev_cfa = c->dwarf.cfa; in unw_step()
128 else if (is_plt_entry (&c->dwarf)) in unw_step()
135 c->dwarf.loc[RIP] = DWARF_LOC (c->dwarf.cfa, 0); in unw_step()
136 c->dwarf.cfa += 8; in unw_step()
138 else if (DWARF_IS_NULL_LOC (c->dwarf.loc[RBP])) in unw_step()
141 c->dwarf.loc[i] = DWARF_NULL_LOC; in unw_step()
147 ret = dwarf_get (&c->dwarf, c->dwarf.loc[RBP], &rbp); in unw_step()
151 DWARF_GET_LOC (c->dwarf.loc[RBP])); in unw_step()
168 ret = dwarf_get (&c->dwarf, rbp_loc, &rbp1); in unw_step()
170 (unsigned long) DWARF_GET_LOC (c->dwarf.loc[RBP]), in unw_step()
171 rbp, c->dwarf.cfa, rbp1); in unw_step()
179 || rbp <= c->dwarf.cfa in unw_step()
180 || (rbp - c->dwarf.cfa) > 0x4000) in unw_step()
190 c->dwarf.cfa += 16; in unw_step()
195 c->dwarf.loc[i] = DWARF_NULL_LOC; in unw_step()
197 c->dwarf.loc[RBP] = rbp_loc; in unw_step()
198 c->dwarf.loc[RSP] = rsp_loc; in unw_step()
199 c->dwarf.loc[RIP] = rip_loc; in unw_step()
202 c->dwarf.ret_addr_column = RIP; in unw_step()
204 if (DWARF_IS_NULL_LOC (c->dwarf.loc[RBP])) in unw_step()
210 if (!DWARF_IS_NULL_LOC (c->dwarf.loc[RIP])) in unw_step()
212 ret = dwarf_get (&c->dwarf, c->dwarf.loc[RIP], &c->dwarf.ip); in unw_step()
214 (unsigned long long) DWARF_GET_LOC (c->dwarf.loc[RIP]), in unw_step()
215 (unsigned long long) c->dwarf.ip); in unw_step()
224 c->dwarf.ip = 0; in unw_step()
226 if (c->dwarf.ip == prev_ip && c->dwarf.cfa == prev_cfa) in unw_step()
231 if (c->dwarf.ip) in unw_step()
232 c->dwarf.ip--; in unw_step()
235 if (c->dwarf.ip == old_ip && c->dwarf.cfa == old_cfa) in unw_step()
238 __FUNCTION__, (long) c->dwarf.ip); in unw_step()