GDB (xrefs)
|
#include "die.h"
Public Member Functions | |
void | dump (int max_level) |
void | error_dump () |
struct attribute * | attr (dwarf_attribute name) |
gdb::optional< ULONGEST > | addr_base () |
ULONGEST | gnu_ranges_base () |
ULONGEST | rnglists_base () |
Static Public Member Functions | |
static die_info * | allocate (struct obstack *obstack, int num_attrs) |
static hashval_t | hash (const void *item) |
static int | eq (const void *item_lhs, const void *item_rhs) |
Public Attributes | |
__extension__ enum dwarf_tag | tag: 16 |
unsigned char | num_attrs |
unsigned char | building_fullname: 1 |
unsigned char | in_process: 1 |
unsigned char | has_children: 1 |
unsigned int | abbrev |
sect_offset | sect_off |
struct die_info * | child |
struct die_info * | sibling |
struct die_info * | parent |
struct attribute | attrs [1] |
|
inline |
Definition at line 62 of file die.h.
References attribute::as_unsigned(), attrs, complaint, name, num_attrs, sect_off, and sect_offset_str().
Referenced by read_cutu_die_from_dwo().
|
static |
Definition at line 27 of file die.c.
References num_attrs, and size.
Referenced by read_full_die_1().
|
inline |
Definition at line 51 of file die.h.
References attrs, name, and num_attrs.
Referenced by dwarf2_fetch_die_loc_sect_off(), follow_die_ref(), follow_die_ref_or_sig(), follow_die_sig(), get_DW_AT_signature_type(), has_zero_over_zero_small_attribute(), read_call_site_scope(), read_enumeration_type(), read_file_scope(), and read_structure_type().
void die_info::dump | ( | int | max_level | ) |
Definition at line 218 of file die.c.
References dump_die_1(), and gdb_stdlog.
Referenced by read_die_and_siblings().
|
static |
Definition at line 52 of file die.c.
References sect_off.
Referenced by load_full_comp_unit(), and read_signatured_type().
void die_info::error_dump | ( | ) |
Definition at line 226 of file die.c.
References dump_die_shallow(), and gdb_stderr.
Referenced by follow_die_ref_or_sig(), and follow_die_sig().
|
inline |
Definition at line 82 of file die.h.
References attribute::as_unsigned(), attrs, complaint, name, num_attrs, sect_off, and sect_offset_str().
Referenced by read_cutu_die_from_dwo().
|
static |
Definition at line 42 of file die.c.
References sect_off.
Referenced by load_full_comp_unit(), and read_signatured_type().
|
inline |
Definition at line 99 of file die.h.
References attribute::as_unsigned(), attrs, complaint, name, num_attrs, sect_off, and sect_offset_str().
Referenced by read_cutu_die_from_dwo().
unsigned int die_info::abbrev |
Definition at line 131 of file die.h.
Referenced by dump_die_shallow(), and read_full_die_1().
struct attribute die_info::attrs[1] |
Definition at line 147 of file die.h.
Referenced by addr_base(), attr(), dump_die_shallow(), dwarf2_attr(), gnu_ranges_base(), read_full_die_1(), and rnglists_base().
unsigned char die_info::building_fullname |
Definition at line 122 of file die.h.
Referenced by determine_prefix(), and dwarf2_compute_name().
struct die_info* die_info::child |
Definition at line 140 of file die.h.
Referenced by determine_prefix(), dump_die_1(), dump_die_shallow(), dwarf2_compute_name(), dwarf2_get_subprogram_pc_bounds(), get_scope_pc_bounds(), guess_full_die_structure_name(), handle_variant(), handle_variant_part(), inherit_abstract_dies(), load_full_comp_unit(), process_die(), process_enumeration_scope(), process_structure_scope(), quirk_ada_thick_pointer(), read_array_type(), read_call_site_scope(), read_common_block(), read_die_and_children(), read_file_scope(), read_func_scope(), read_import_statement(), read_lexical_block_scope(), read_module(), read_namespace(), read_signatured_type(), read_structure_type(), read_subroutine_type(), read_type_unit_scope(), unnamed_template_tag_name(), and update_enumeration_type_from_children().
unsigned char die_info::has_children |
Definition at line 128 of file die.h.
Referenced by gdb.dap.varref.VariableReference::_update_value(), build_type_psymtabs_reader(), cutu_reader::cutu_reader(), cooked_indexer::ensure_cu_exists(), load_full_comp_unit(), cooked_indexer::make_index(), read_die_and_children(), read_full_die_1(), read_signatured_type(), and gdb.dap.varref.BaseReference::to_object().
unsigned char die_info::in_process |
Definition at line 125 of file die.h.
Referenced by inherit_abstract_dies(), process_die_scope::process_die_scope(), read_lexical_block_scope(), and process_die_scope::~process_die_scope().
unsigned char die_info::num_attrs |
Definition at line 118 of file die.h.
Referenced by addr_base(), allocate(), attr(), dump_die_shallow(), dwarf2_attr(), gnu_ranges_base(), read_full_die_1(), and rnglists_base().
struct die_info* die_info::parent |
Definition at line 142 of file die.h.
Referenced by attr_to_dynamic_prop(), determine_prefix(), die_needs_namespace(), dump_die_shallow(), dwarf2_access_attribute(), dwarf2_fetch_die_loc_sect_off(), dwarf2_is_constructor(), inherit_abstract_dies(), new_symbol(), process_die(), process_imported_unit_die(), read_call_site_scope(), read_die_and_children(), read_die_and_siblings(), read_die_and_siblings_1(), and unnamed_template_tag_name().
sect_offset die_info::sect_off |
Definition at line 134 of file die.h.
Referenced by addr_base(), build_error_marker_type(), dump_die_shallow(), dwarf2_add_field(), dwarf2_add_member_fn(), dwarf2_fetch_die_loc_sect_off(), dwarf2_fetch_die_type_sect_off(), dwarf2_physname(), dwarf2_string_attr(), eq(), finish_fixed_point_type(), follow_die_offset(), follow_die_ref(), follow_die_sig(), follow_die_sig_1(), get_alignment(), get_die_type(), get_DW_AT_signature_type(), get_dwarf2_rational_constant(), get_dwarf2_unsigned_rational_constant(), get_signatured_type(), gnu_ranges_base(), handle_variant(), handle_variant_part(), hash(), inherit_abstract_dies(), lookup_die_type(), mark_common_block_symbol_computed(), maybe_set_alignment(), process_enumeration_scope(), process_structure_scope(), read_alias(), read_array_type(), read_call_site_scope(), read_common_block(), read_full_die_1(), read_func_scope(), read_import_statement(), read_subrange_type(), read_tag_pointer_type(), read_typedef(), read_variable(), rnglists_base(), set_die_type(), and store_in_ref_table().
struct die_info* die_info::sibling |
Definition at line 141 of file die.h.
Referenced by dump_die_1(), dwarf2_compute_name(), dwarf2_get_subprogram_pc_bounds(), get_scope_pc_bounds(), guess_full_die_structure_name(), inherit_abstract_dies(), process_enumeration_scope(), process_structure_scope(), read_array_type(), read_call_site_scope(), read_common_block(), read_die_and_children(), read_die_and_siblings_1(), read_file_scope(), read_func_scope(), read_import_statement(), read_lexical_block_scope(), read_module(), read_namespace(), read_subroutine_type(), read_type_unit_scope(), unnamed_template_tag_name(), and update_enumeration_type_from_children().
__extension__ enum dwarf_tag die_info::tag |
Definition at line 115 of file die.h.
Referenced by anonymous_struct_prefix(), cutu_reader::cutu_reader(), determine_prefix(), die_needs_namespace(), dump_die_shallow(), dw2_get_file_names_reader(), dwarf2_access_attribute(), dwarf2_add_field(), dwarf2_add_type_defn(), dwarf2_compute_name(), dwarf2_fetch_die_loc_sect_off(), dwarf2_get_pc_bounds(), dwarf2_get_subprogram_pc_bounds(), dwarf2_is_constructor(), dwarf2_name(), dwarf2_record_block_ranges(), finish_fixed_point_type(), get_dwarf2_rational_constant(), get_scope_pc_bounds(), guess_full_die_structure_name(), handle_DW_AT_stmt_list(), handle_struct_member_die(), has_zero_over_zero_small_attribute(), inherit_abstract_dies(), new_symbol(), prepare_one_comp_unit(), process_die(), process_enumeration_scope(), process_full_comp_unit(), process_psymtab_comp_unit(), process_structure_scope(), read_alias(), read_array_type(), read_call_site_scope(), read_common_block(), read_file_scope(), read_full_die_1(), read_func_scope(), read_import_statement(), read_lexical_block_scope(), read_module(), read_namespace(), read_structure_type(), read_subroutine_type(), read_type_die_1(), read_type_unit_scope(), type_can_define_types(), unnamed_template_tag_name(), update_enumeration_type_from_children(), and var_decl_name().