Lines Matching defs:regnum
51 set_reg (dwarf_state_record_t *sr, unw_word_t regnum, dwarf_where_t where,
54 sr->rs_current.reg[regnum].where = where;
55 sr->rs_current.reg[regnum].val = val;
64 unw_word_t curr_ip, operand = 0, regnum, val, len, fde_encoding;
144 regnum = operand;
145 if (regnum >= DWARF_NUM_PRESERVED_REGS)
148 (unsigned int) regnum);
154 set_reg (sr, regnum, DWARF_WHERE_CFAREL, val * dci->data_align);
156 (long) regnum, (long) (val * dci->data_align));
160 if (((ret = read_regnum (as, a, addr, ®num, arg)) < 0)
163 set_reg (sr, regnum, DWARF_WHERE_CFAREL, val * dci->data_align);
165 (long) regnum, (long) (val * dci->data_align));
169 if (((ret = read_regnum (as, a, addr, ®num, arg)) < 0)
172 set_reg (sr, regnum, DWARF_WHERE_CFAREL, val * dci->data_align);
174 (long) regnum, (long) (val * dci->data_align));
178 regnum = operand;
179 if (regnum >= DWARF_NUM_PRESERVED_REGS)
182 (unsigned int) regnum);
186 sr->rs_current.reg[regnum] = sr->rs_initial.reg[regnum];
187 Debug (15, "CFA_restore r%lu\n", (long) regnum);
191 if ((ret = dwarf_read_uleb128 (as, a, addr, ®num, arg)) < 0)
193 if (regnum >= DWARF_NUM_PRESERVED_REGS)
196 "DW_CFA_restore_extended\n", (unsigned int) regnum);
200 sr->rs_current.reg[regnum] = sr->rs_initial.reg[regnum];
201 Debug (15, "CFA_restore_extended r%lu\n", (long) regnum);
217 if ((ret = read_regnum (as, a, addr, ®num, arg)) < 0)
219 set_reg (sr, regnum, DWARF_WHERE_UNDEF, 0);
220 Debug (15, "CFA_undefined r%lu\n", (long) regnum);
224 if ((ret = read_regnum (as, a, addr, ®num, arg)) < 0)
226 set_reg (sr, regnum, DWARF_WHERE_SAME, 0);
227 Debug (15, "CFA_same_value r%lu\n", (long) regnum);
231 if (((ret = read_regnum (as, a, addr, ®num, arg)) < 0)
234 set_reg (sr, regnum, DWARF_WHERE_REG, val);
235 Debug (15, "CFA_register r%lu to r%lu\n", (long) regnum, (long) val);
268 if (((ret = read_regnum (as, a, addr, ®num, arg)) < 0)
271 set_reg (sr, DWARF_CFA_REG_COLUMN, DWARF_WHERE_REG, regnum);
273 Debug (15, "CFA_def_cfa r%lu+0x%lx\n", (long) regnum, (long) val);
277 if (((ret = read_regnum (as, a, addr, ®num, arg)) < 0)
280 set_reg (sr, DWARF_CFA_REG_COLUMN, DWARF_WHERE_REG, regnum);
284 (long) regnum, (long) (val * dci->data_align));
288 if ((ret = read_regnum (as, a, addr, ®num, arg)) < 0)
290 set_reg (sr, DWARF_CFA_REG_COLUMN, DWARF_WHERE_REG, regnum);
291 Debug (15, "CFA_def_cfa_register r%lu\n", (long) regnum);
323 if ((ret = read_regnum (as, a, addr, ®num, arg)) < 0)
327 set_reg (sr, regnum, DWARF_WHERE_EXPR, *addr);
333 (long) regnum, (long) addr, (long) len);
348 if (((ret = read_regnum (as, a, addr, ®num, arg)) < 0)
351 set_reg (sr, regnum, DWARF_WHERE_CFAREL, -(val * dci->data_align));
360 for (regnum = 16; regnum < 32; ++regnum)
361 set_reg (sr, regnum, DWARF_WHERE_CFAREL,
362 (regnum - 16) * sizeof (unw_word_t));
712 unw_word_t regnum, addr, cfa, ip;
743 regnum = dwarf_to_unw_regnum (rs->reg[DWARF_CFA_REG_COLUMN].val);
744 if ((ret = unw_get_reg ((unw_cursor_t *) c, regnum, &cfa)) < 0)