GDB (xrefs)
|
#include "section.h"
Public Member Functions | |
const char * | get_name () const |
struct dwarf2_section_info * | get_containing_section () const |
struct bfd * | get_bfd_owner () const |
asection * | get_bfd_section () const |
const char * | get_file_name () const |
int | get_id () const |
int | get_flags () const |
bool | empty () const |
void | read (struct objfile *objfile) |
bfd_size_type | get_size (struct objfile *objfile) |
void | overflow_complaint () const |
const char * | read_string (struct objfile *objfile, LONGEST str_offset, const char *form_name) |
Public Attributes | ||
union { | ||
asection * section | ||
struct dwarf2_section_info * containing_section | ||
} | s | |
const gdb_byte * | buffer | |
bfd_size_type | size | |
bfd_size_type | virtual_offset | |
bool | readin | |
bool | is_virtual | |
bool dwarf2_section_info::empty | ( | ) | const |
Definition at line 111 of file section.c.
References is_virtual, s, and size.
Referenced by create_dwo_unit_in_dwp_v1(), create_dwp_hash_table(), get_gdb_index_contents_from_section(), read(), and read_debug_names_from_section().
struct bfd * dwarf2_section_info::get_bfd_owner | ( | ) | const |
Definition at line 49 of file section.c.
References get_containing_section(), is_virtual, and section.
Referenced by cutu_reader::cutu_reader(), cutu_reader::cutu_reader(), dwarf_decode_line_header(), dwarf_decode_macro_bytes(), dwarf_decode_macros(), get_file_name(), init_cu_die_reader(), abbrev_table::read(), read(), read_abbrev_offset(), read_comp_unit_head(), read_cutu_die_from_dwo(), read_debug_names_from_section(), and read_loclists_rnglists_header().
asection * dwarf2_section_info::get_bfd_section | ( | ) | const |
Definition at line 62 of file section.c.
References get_containing_section(), and section.
Referenced by create_dwp_v2_or_v5_section(), get_flags(), get_id(), get_name(), read(), and read_string().
struct dwarf2_section_info * dwarf2_section_info::get_containing_section | ( | ) | const |
Definition at line 42 of file section.c.
References is_virtual, and s.
Referenced by get_bfd_owner(), get_bfd_section(), and read().
const char * dwarf2_section_info::get_file_name | ( | ) | const |
Definition at line 83 of file section.c.
References get_bfd_owner().
Referenced by create_cus_hash_table(), create_debug_type_hash_table(), error_check_comp_unit_head(), overflow_complaint(), read(), read_comp_unit_head(), read_comp_units_from_section(), and read_string().
int dwarf2_section_info::get_flags | ( | ) | const |
Definition at line 102 of file section.c.
References get_bfd_section().
Referenced by get_gdb_index_contents_from_section(), and read_debug_names_from_section().
int dwarf2_section_info::get_id | ( | ) | const |
Definition at line 92 of file section.c.
References get_bfd_section().
Referenced by create_dwo_unit_in_dwp_v1().
const char * dwarf2_section_info::get_name | ( | ) | const |
Definition at line 74 of file section.c.
References get_bfd_section().
Referenced by create_cus_hash_table(), overflow_complaint(), read(), read_comp_units_from_section(), read_die_and_siblings(), read_str_index(), read_string(), read_toplevel_die(), and skip_form_bytes().
|
inline |
void dwarf2_section_info::overflow_complaint | ( | ) | const |
Definition at line 34 of file section.c.
References complaint, get_file_name(), and get_name().
Referenced by dwarf_decode_macro_bytes(), cooked_indexer::index_dies(), skip_form_bytes(), and skip_one_die().
void dwarf2_section_info::read | ( | struct objfile * | objfile | ) |
Definition at line 119 of file section.c.
References buffer, containing_section, empty(), gdb_bfd_map_section(), get_bfd_owner(), get_bfd_section(), get_containing_section(), get_file_name(), get_name(), is_virtual, objfile::objfile_obstack, read(), readin, SEEK_SET, size, symfile_relocate_debug_section(), and virtual_offset.
Referenced by build_type_psymtabs(), create_cus_hash_table(), create_dwp_hash_table(), create_signatured_type_table_from_debug_names(), cutu_reader::cutu_reader(), cutu_reader::cutu_reader(), dwarf2_locate_common_dwp_sections(), dwarf2_locate_dwo_sections(), dwarf2_locate_v2_dwp_sections(), dwarf2_locate_v5_dwp_sections(), dwarf2_ranges_process(), dwarf2_rnglists_process(), dwarf_decode_macro_bytes(), dwarf_decode_macros(), get_gdb_index_contents_from_section(), get_size(), dwarf2_per_bfd::map_info_sections(), read(), read_addr_index_1(), read_addrmap_from_aranges(), read_comp_units_from_section(), read_cutu_die_from_dwo(), read_debug_names_from_section(), read_str_index(), and read_string().
const char * dwarf2_section_info::read_string | ( | struct objfile * | objfile, |
LONGEST | str_offset, | ||
const char * | form_name ) |
Definition at line 194 of file section.c.
References buffer, get_bfd_section(), get_file_name(), get_name(), read(), and size.
Referenced by dwarf_decode_macro_bytes(), read_indirect_string_at_offset(), dwarf2_per_objfile::read_line_string(), and dwarf2_per_objfile::read_line_string().
const gdb_byte* dwarf2_section_info::buffer |
Definition at line 115 of file section.h.
Referenced by lnp_state_machine::check_line_address(), create_cus_hash_table(), create_debug_type_hash_table(), create_dwp_hash_table(), create_signatured_type_table_from_debug_names(), cutu_reader::cutu_reader(), cutu_reader::cutu_reader(), debug_names::debug_str_lookup::debug_str_lookup(), dwarf2_ranges_process(), dwarf2_rnglists_process(), dwarf_decode_line_header(), dwarf_decode_macro_bytes(), dwarf_decode_macros(), get_gdb_index_contents_from_section(), dwarf2_per_cu_data::get_header(), init_cu_die_reader(), abbrev_table::read(), read(), read_addr_index_1(), read_addrmap_from_aranges(), read_and_check_comp_unit_head(), read_comp_units_from_section(), read_cutu_die_from_dwo(), read_debug_names_from_section(), read_die_and_siblings(), read_loclist_index(), read_loclists_rnglists_header(), read_rnglist_index(), read_str_index(), read_string(), and read_toplevel_die().
struct dwarf2_section_info* dwarf2_section_info::containing_section |
Definition at line 112 of file section.h.
Referenced by create_dwp_v2_or_v5_section(), and read().
bool dwarf2_section_info::is_virtual |
Definition at line 125 of file section.h.
Referenced by create_dwp_v2_or_v5_section(), dwarf2_has_info(), empty(), get_bfd_owner(), get_containing_section(), and read().
bool dwarf2_section_info::readin |
Definition at line 122 of file section.h.
Referenced by debug_names::debug_str_lookup::debug_str_lookup(), get_size(), init_cu_die_reader(), abbrev_table::read(), and read().
union { ... } dwarf2_section_info::s |
Referenced by create_dwp_v2_or_v5_section(), dwarf2_has_info(), dwarf2_locate_common_dwp_sections(), dwarf2_locate_dwo_sections(), dwarf2_locate_v2_dwp_sections(), dwarf2_locate_v5_dwp_sections(), empty(), get_containing_section(), dwarf2_per_bfd::locate_sections(), and locate_v1_virtual_dwo_sections().
asection* dwarf2_section_info::section |
Definition at line 109 of file section.h.
Referenced by create_debug_type_hash_table(), create_dwo_cu_reader(), create_dwp_v2_or_v5_section(), dwarf2_has_info(), dwarf2_locate_common_dwp_sections(), dwarf2_locate_dwo_sections(), dwarf2_locate_v2_dwp_sections(), dwarf2_locate_v5_dwp_sections(), dwarf2_symbol_mark_computed(), dwarf_decode_line_header(), dwarf_decode_macro_bytes(), dwarf_decode_macros(), fill_in_loclist_baton(), get_bfd_owner(), get_bfd_section(), get_debug_line_section(), dwarf2_per_bfd::locate_sections(), locate_v1_virtual_dwo_sections(), read_abbrev_offset(), read_loclist_index(), and read_rnglist_index().
bfd_size_type dwarf2_section_info::size |
Definition at line 117 of file section.h.
Referenced by create_cus_from_debug_names_list(), create_cus_hash_table(), create_dwp_hash_table(), create_dwp_v2_or_v5_section(), cu_debug_rnglists_section(), debug_names::debug_str_lookup::debug_str_lookup(), dwarf2_locate_common_dwp_sections(), dwarf2_locate_dwo_sections(), dwarf2_locate_v2_dwp_sections(), dwarf2_locate_v5_dwp_sections(), dwarf2_ranges_process(), dwarf2_rnglists_process(), dwarf_decode_line_header(), dwarf_decode_macro_bytes(), dwarf_decode_macros(), empty(), error_check_comp_unit_head(), get_gdb_index_contents_from_section(), get_size(), init_cu_die_reader(), dwarf2_per_bfd::locate_sections(), locate_v1_virtual_dwo_sections(), debug_names::debug_str_lookup::lookup(), read(), read_addr_index_1(), read_addrmap_from_aranges(), read_comp_units_from_section(), read_debug_names_from_section(), read_loclist_index(), read_rnglist_index(), read_str_index(), and read_string().
bfd_size_type dwarf2_section_info::virtual_offset |
Definition at line 120 of file section.h.
Referenced by create_dwp_v2_or_v5_section(), and read().