Lines Matching refs:vr_die
257 Dwarf_Die *die_get_type(Dwarf_Die *vr_die, Dwarf_Die *die_mem) in die_get_type() argument
261 if (dwarf_attr_integrate(vr_die, DW_AT_type, &attr) && in die_get_type()
269 static Dwarf_Die *__die_get_real_type(Dwarf_Die *vr_die, Dwarf_Die *die_mem) in __die_get_real_type() argument
274 vr_die = die_get_type(vr_die, die_mem); in __die_get_real_type()
275 if (!vr_die) in __die_get_real_type()
277 tag = dwarf_tag(vr_die); in __die_get_real_type()
283 return vr_die; in __die_get_real_type()
296 Dwarf_Die *die_get_real_type(Dwarf_Die *vr_die, Dwarf_Die *die_mem) in die_get_real_type() argument
299 vr_die = __die_get_real_type(vr_die, die_mem); in die_get_real_type()
300 } while (vr_die && dwarf_tag(vr_die) == DW_TAG_typedef); in die_get_real_type()
302 return vr_die; in die_get_real_type()
1039 int die_get_typename(Dwarf_Die *vr_die, struct strbuf *buf) in die_get_typename() argument
1045 if (__die_get_real_type(vr_die, &type) == NULL) in die_get_typename()
1077 int die_get_varname(Dwarf_Die *vr_die, struct strbuf *buf) in die_get_varname() argument
1081 ret = die_get_typename(vr_die, buf); in die_get_varname()
1087 return ret < 0 ? ret : strbuf_addf(buf, "\t%s", dwarf_diename(vr_die)); in die_get_varname()
1100 static int die_get_var_innermost_scope(Dwarf_Die *sp_die, Dwarf_Die *vr_die, in die_get_var_innermost_scope() argument
1121 count = dwarf_getscopes_die(vr_die, &scopes); in die_get_var_innermost_scope()
1163 int die_get_var_range(Dwarf_Die *sp_die, Dwarf_Die *vr_die, struct strbuf *buf) in die_get_var_range() argument
1184 if (dwarf_attr(vr_die, DW_AT_location, &attr) == NULL) in die_get_var_range()
1191 ret = die_get_var_innermost_scope(sp_die, vr_die, buf); in die_get_var_range()
1217 Dwarf_Die *vr_die __maybe_unused, in die_get_var_range()
1228 static bool die_has_loclist(Dwarf_Die *vr_die) in die_has_loclist() argument
1231 int tag = dwarf_tag(vr_die); in die_has_loclist()
1237 return (dwarf_attr_integrate(vr_die, DW_AT_location, &loc) && in die_has_loclist()