GDB (xrefs)
|
Classes | |
struct | deferred_entry |
Public Member Functions | |
cooked_indexer (cooked_index_storage *storage, dwarf2_per_cu_data *per_cu, enum language language) | |
DISABLE_COPY_AND_ASSIGN (cooked_indexer) | |
void | make_index (cutu_reader *reader) |
Private Member Functions | |
CORE_ADDR | form_addr (sect_offset offset, bool is_dwz) |
void | check_bounds (cutu_reader *reader) |
cutu_reader * | ensure_cu_exists (cutu_reader *reader, dwarf2_per_objfile *per_objfile, sect_offset sect_off, bool is_dwz, bool for_scanning) |
const gdb_byte * | index_dies (cutu_reader *reader, const gdb_byte *info_ptr, const cooked_index_entry *parent_entry, bool fully) |
const gdb_byte * | scan_attributes (dwarf2_per_cu_data *scanning_per_cu, cutu_reader *reader, const gdb_byte *watermark_ptr, const gdb_byte *info_ptr, const abbrev_info *abbrev, const char **name, const char **linkage_name, cooked_index_flag *flags, sect_offset *sibling_offset, const cooked_index_entry **parent_entry, CORE_ADDR *maybe_defer, bool for_specification) |
const gdb_byte * | index_imported_unit (cutu_reader *reader, const gdb_byte *info_ptr, const abbrev_info *abbrev) |
const gdb_byte * | recurse (cutu_reader *reader, const gdb_byte *info_ptr, const cooked_index_entry *parent_entry, bool fully) |
Private Attributes | |
cooked_index_storage * | m_index_storage |
dwarf2_per_cu_data * | m_per_cu |
enum language | m_language |
addrmap_mutable | m_die_range_map |
std::vector< deferred_entry > | m_deferred_entries |
|
inline |
|
private |
Definition at line 16075 of file read.c.
References dwarf2_per_cu_data::addresses_seen, dwarf2_per_objfile::adjust(), cutu_reader::comp_unit_die, die_reader_specs::cu, dwarf2_find_base_address(), dwarf2_get_pc_bounds(), cooked_index_storage::get_addrmap(), m_index_storage, PC_BOUNDS_HIGH_LOW, dwarf2_cu::per_cu, dwarf2_cu::per_objfile, and addrmap_mutable::set_empty().
Referenced by ensure_cu_exists(), and make_index().
cooked_indexer::DISABLE_COPY_AND_ASSIGN | ( | cooked_indexer | ) |
|
private |
Definition at line 16123 of file read.c.
References check_bounds(), cutu_reader::comp_unit_die, die_reader_specs::cu, cutu_reader::dummy_p, dwarf2_find_containing_comp_unit(), cooked_index_storage::get_abbrev_cache(), cooked_index_storage::get_reader(), die_info::has_children, dwarf2_cu::header, dwarf2_per_cu_data::is_dwz, language_minimal, m_index_storage, m_per_cu, comp_unit_head::offset_in_cu_p(), dwarf2_per_objfile::per_bfd, dwarf2_cu::per_cu, prepare_one_comp_unit(), cooked_index_storage::preserve(), and dwarf2_per_cu_data::scanned.
Referenced by index_imported_unit(), and scan_attributes().
|
inlineprivate |
Definition at line 4725 of file read.c.
References value.
Referenced by recurse(), and scan_attributes().
|
private |
Definition at line 16489 of file read.c.
References cooked_index_storage::add(), die_reader_specs::buffer, die_reader_specs::buffer_end, complaint, die_reader_specs::cu, die_reader_specs::die_section, flags, comp_unit_head::get_length_with_initial(), abbrev_info::has_children, dwarf2_cu::header, index_dies(), index_imported_unit(), abbrev_info::interesting, IS_ENUM_CLASS, IS_LINKAGE, IS_STATIC, language_ada, language_c, language_cplus, language_fortran, m_deferred_entries, m_index_storage, m_language, m_per_cu, name, dwarf2_section_info::overflow_complaint(), peek_die_abbrev(), dwarf2_cu::per_cu, recurse(), scan_attributes(), comp_unit_head::sect_off, skip_children(), skip_one_die(), and abbrev_info::tag.
Referenced by index_dies(), index_imported_unit(), make_index(), and recurse().
|
private |
Definition at line 16428 of file read.c.
References dwarf2_cu::add_dependence(), abbrev_info::attrs, die_reader_specs::cu, ensure_cu_exists(), attribute::form, attribute::get_ref_die_offset(), index_dies(), cutu_reader::info_ptr, dwarf2_per_cu_data::is_dwz, attribute::name, abbrev_info::num_attrs, dwarf2_cu::per_cu, dwarf2_cu::per_objfile, and read_attribute().
Referenced by index_dies().
void cooked_indexer::make_index | ( | cutu_reader * | reader | ) |
Definition at line 16645 of file read.c.
References cooked_index_storage::add(), check_bounds(), cutu_reader::comp_unit_die, die_reader_specs::cu, addrmap::find(), find_file_and_directory(), die_info::has_children, index_dies(), cutu_reader::info_ptr, m_deferred_entries, m_die_range_map, m_index_storage, and m_per_cu.
Referenced by build_type_psymtabs_reader(), and process_psymtab_comp_unit().
|
private |
Definition at line 16467 of file read.c.
References die_reader_specs::buffer, die_reader_specs::cu, cooked_index_entry::die_offset, form_addr(), index_dies(), dwarf2_per_cu_data::is_dwz, m_die_range_map, dwarf2_cu::per_cu, and addrmap_mutable::set_empty().
Referenced by index_dies().
|
private |
Definition at line 16172 of file read.c.
References dwarf2_per_cu_data::addresses_seen, dwarf2_per_objfile::adjust(), attribute::as_address(), attribute::as_block(), attribute::as_boolean(), attribute::as_string(), attribute::as_unsigned(), abbrev_info::attrs, die_reader_specs::buffer, attribute::constant_value(), die_reader_specs::cu, decode_locdesc(), dwarf2_ranges_read(), ensure_cu_exists(), addrmap::find(), flags, attribute::form, form_addr(), attribute::form_is_block(), attribute::form_is_constant(), cooked_index_storage::get_addrmap(), attribute::get_ref_die_offset(), dwarf2_cu::gnu_ranges_base, abbrev_info::has_children, dwarf2_per_bfd::has_section_at_zero, dwarf2_cu::header, IS_ENUM_CLASS, IS_MAIN, IS_STATIC, IS_TYPE_DECLARATION, language_ada, language_c, language_cplus, m_die_range_map, m_index_storage, m_language, name, attribute::name, abbrev_info::num_attrs, peek_die_abbrev(), dwarf2_per_objfile::per_bfd, dwarf2_cu::per_objfile, read_attribute(), scan_attributes(), addrmap_mutable::set_empty(), abbrev_info::tag, tag_can_have_linkage_name(), and comp_unit_head::version.
Referenced by index_dies(), and scan_attributes().
|
private |
Definition at line 4819 of file read.c.
Referenced by index_dies(), and make_index().
|
private |
Definition at line 4800 of file read.c.
Referenced by make_index(), recurse(), and scan_attributes().
|
private |
Definition at line 4788 of file read.c.
Referenced by check_bounds(), ensure_cu_exists(), index_dies(), make_index(), and scan_attributes().
|
private |
Definition at line 4795 of file read.c.
Referenced by index_dies(), and scan_attributes().
|
private |
Definition at line 4793 of file read.c.
Referenced by ensure_cu_exists(), index_dies(), and make_index().