GDB (xrefs)
|
#include "comp-unit-head.h"
Public Member Functions | |
void | set_length (unsigned int length) |
unsigned int | get_length_with_initial () const |
unsigned int | get_length_without_initial () const |
bool | offset_in_cu_p (sect_offset off) const |
LONGEST | read_offset (bfd *abfd, const gdb_byte *buf, unsigned int *bytes_read) const |
unrelocated_addr | read_address (bfd *abfd, const gdb_byte *buf, unsigned int *bytes_read) const |
Public Attributes | |
unsigned char | version = 0 |
unsigned char | addr_size = 0 |
unsigned char | signed_addr_p = 0 |
sect_offset | abbrev_sect_off {} |
unsigned int | offset_size = 0 |
unsigned int | initial_length_size = 0 |
cu_offset | first_die_cu_offset {} |
sect_offset | sect_off {} |
cu_offset | type_cu_offset_in_tu {} |
ULONGEST | signature = 0 |
Private Attributes | |
unsigned int | m_length = 0 |
Definition at line 38 of file comp-unit-head.h.
|
inline |
Definition at line 80 of file comp-unit-head.h.
References initial_length_size, and m_length.
Referenced by create_debug_type_hash_table(), cutu_reader::cutu_reader(), error_check_comp_unit_head(), cooked_indexer::index_dies(), offset_in_cu_p(), read_comp_units_from_section(), and read_cutu_die_from_dwo().
|
inline |
Definition at line 87 of file comp-unit-head.h.
References m_length.
Referenced by error_check_comp_unit_head(), load_full_comp_unit(), and read_signatured_type().
|
inline |
Definition at line 93 of file comp-unit-head.h.
References get_length_with_initial(), and sect_off.
Referenced by cooked_indexer::ensure_cu_exists(), follow_die_offset(), and read_call_site_scope().
unrelocated_addr comp_unit_head::read_address | ( | bfd * | abfd, |
const gdb_byte * | buf, | ||
unsigned int * | bytes_read ) const |
Definition at line 197 of file comp-unit-head.c.
References addr_size, and signed_addr_p.
Referenced by decode_locdesc(), dwarf2_ranges_process(), dwarf2_rnglists_process(), dwarf_decode_lines_1(), read_attribute_value(), and var_decode_location().
|
inline |
Definition at line 102 of file comp-unit-head.h.
References offset_size, and read_offset().
Referenced by read_attribute_value(), read_comp_unit_head(), read_indirect_string(), dwarf2_per_objfile::read_line_string(), and read_offset().
|
inline |
Definition at line 73 of file comp-unit-head.h.
References m_length.
Referenced by read_comp_unit_head().
sect_offset comp_unit_head::abbrev_sect_off {} |
Definition at line 46 of file comp-unit-head.h.
Referenced by cutu_reader::cutu_reader(), error_check_comp_unit_head(), read_comp_unit_head(), and read_cutu_die_from_dwo().
unsigned char comp_unit_head::addr_size = 0 |
Definition at line 44 of file comp-unit-head.h.
Referenced by dwarf2_per_cu_data::addr_size(), dwarf2_add_member_fn(), dwarf2_const_value_attr(), dwarf2_fetch_constant_bytes(), dwarf2_ranges_process(), dwarf2_read_addr_index(), dwarf2_rnglists_process(), dwarf_decode_macros(), mark_common_block_symbol_computed(), read_addr_index(), read_address(), read_comp_unit_head(), read_tag_pointer_type(), read_tag_reference_type(), recognize_bound_expression(), dwarf2_per_cu_data::ref_addr_size(), skip_one_die(), and var_decode_location().
cu_offset comp_unit_head::first_die_cu_offset {} |
Definition at line 58 of file comp-unit-head.h.
Referenced by cutu_reader::cutu_reader(), and read_and_check_comp_unit_head().
unsigned int comp_unit_head::initial_length_size = 0 |
Definition at line 52 of file comp-unit-head.h.
Referenced by get_length_with_initial(), lookup_loclist_base(), read_checked_initial_length_and_offset(), read_comp_unit_head(), read_loclist_index(), and read_rnglist_index().
|
private |
Definition at line 41 of file comp-unit-head.h.
Referenced by get_length_with_initial(), get_length_without_initial(), and set_length().
unsigned int comp_unit_head::offset_size = 0 |
Definition at line 49 of file comp-unit-head.h.
Referenced by dwarf_decode_macros(), dwarf2_per_cu_data::offset_size(), read_comp_unit_head(), read_dwo_str_index(), read_loclist_index(), read_offset(), read_rnglist_index(), read_stub_str_index(), dwarf2_per_cu_data::ref_addr_size(), and skip_one_die().
sect_offset comp_unit_head::sect_off {} |
Definition at line 62 of file comp-unit-head.h.
Referenced by build_error_marker_type(), create_debug_type_hash_table(), cutu_reader::cutu_reader(), error_check_comp_unit_head(), cooked_indexer::index_dies(), offset_in_cu_p(), peek_die_abbrev(), read_and_check_comp_unit_head(), read_attribute_value(), read_call_site_scope(), read_cutu_die_from_dwo(), read_str_index(), and skip_one_die().
ULONGEST comp_unit_head::signature = 0 |
Definition at line 71 of file comp-unit-head.h.
Referenced by create_debug_type_hash_table(), create_signatured_type_table_from_debug_names(), cutu_reader::cutu_reader(), lookup_dwo_id(), read_comp_unit_head(), read_comp_units_from_section(), and read_cutu_die_from_dwo().
unsigned char comp_unit_head::signed_addr_p = 0 |
Definition at line 45 of file comp-unit-head.h.
Referenced by read_address(), and read_comp_unit_head().
cu_offset comp_unit_head::type_cu_offset_in_tu {} |
Definition at line 65 of file comp-unit-head.h.
Referenced by create_debug_type_hash_table(), create_signatured_type_table_from_debug_names(), cutu_reader::cutu_reader(), read_comp_unit_head(), read_comp_units_from_section(), and read_cutu_die_from_dwo().
unsigned char comp_unit_head::version = 0 |
Definition at line 43 of file comp-unit-head.h.
Referenced by cu_debug_loc_section(), cu_debug_rnglists_section(), cutu_reader::cutu_reader(), dwarf2_access_attribute(), dwarf2_get_pc_bounds(), dwarf2_ranges_process(), dwarf2_record_block_ranges(), lookup_dwo_id(), read_attribute_value(), read_comp_unit_head(), read_comp_units_from_section(), read_dwo_str_index(), read_subrange_type(), dwarf2_per_cu_data::ref_addr_size(), cooked_indexer::scan_attributes(), skip_one_die(), and dwarf2_cu::start_compunit_symtab().