Lines Matching refs:dw_die
183 const char *die_get_linkage_name(Dwarf_Die *dw_die) in die_get_linkage_name() argument
187 if (dwarf_attr_integrate(dw_die, DW_AT_linkage_name, &attr) == NULL) in die_get_linkage_name()
199 bool die_compare_name(Dwarf_Die *dw_die, const char *tname) in die_compare_name() argument
203 name = dwarf_diename(dw_die); in die_compare_name()
215 bool die_match_name(Dwarf_Die *dw_die, const char *glob) in die_match_name() argument
219 name = dwarf_diename(dw_die); in die_match_name()
223 name = die_get_linkage_name(dw_die); in die_match_name()
343 bool die_is_func_def(Dwarf_Die *dw_die) in die_is_func_def() argument
348 if (dwarf_tag(dw_die) != DW_TAG_subprogram) in die_is_func_def()
351 if (dwarf_attr(dw_die, DW_AT_declaration, &attr)) in die_is_func_def()
360 if (!dwarf_attr(dw_die, DW_AT_inline, &attr) && in die_is_func_def()
361 die_entrypc(dw_die, &addr) < 0) in die_is_func_def()
376 int die_entrypc(Dwarf_Die *dw_die, Dwarf_Addr *addr) in die_entrypc() argument
384 if (dwarf_entrypc(dw_die, addr) == 0) in die_entrypc()
391 if (!dwarf_attr(dw_die, DW_AT_ranges, &attr)) in die_entrypc()
394 return dwarf_ranges(dw_die, 0, &base, addr, &end) < 0 ? -ENOENT : 0; in die_entrypc()
406 bool die_is_func_instance(Dwarf_Die *dw_die) in die_is_func_instance() argument
410 int tag = dwarf_tag(dw_die); in die_is_func_instance()
416 return dwarf_entrypc(dw_die, &tmp) == 0 || in die_is_func_instance()
417 dwarf_attr(dw_die, DW_AT_ranges, &attr_mem) != NULL; in die_is_func_instance()