GDB (xrefs)
|
Public Member Functions | |
cutu_reader (dwarf2_per_cu_data *this_cu, dwarf2_per_objfile *per_objfile, struct abbrev_table *abbrev_table, dwarf2_cu *existing_cu, bool skip_partial, abbrev_cache *cache=nullptr) | |
cutu_reader (struct dwarf2_per_cu_data *this_cu, dwarf2_per_objfile *per_objfile, struct dwarf2_cu *parent_cu=nullptr, struct dwo_file *dwo_file=nullptr) | |
DISABLE_COPY_AND_ASSIGN (cutu_reader) | |
cutu_reader (cutu_reader &&)=default | |
void | keep () |
abbrev_table_up | release_abbrev_table () |
Public Attributes | |
const gdb_byte * | info_ptr = nullptr |
struct die_info * | comp_unit_die = nullptr |
bool | dummy_p = false |
![]() | |
bfd * | abfd |
struct dwarf2_cu * | cu |
struct dwo_file * | dwo_file |
struct dwarf2_section_info * | die_section |
const gdb_byte * | buffer |
const gdb_byte * | buffer_end |
struct abbrev_table * | abbrev_table |
Private Member Functions | |
void | init_tu_and_read_dwo_dies (dwarf2_per_cu_data *this_cu, dwarf2_per_objfile *per_objfile, dwarf2_cu *existing_cu) |
Private Attributes | |
struct dwarf2_per_cu_data * | m_this_cu |
std::unique_ptr< dwarf2_cu > | m_new_cu |
abbrev_table_up | m_abbrev_table_holder |
abbrev_table_up | m_dwo_abbrev_table |
cutu_reader::cutu_reader | ( | dwarf2_per_cu_data * | this_cu, |
dwarf2_per_objfile * | per_objfile, | ||
struct abbrev_table * | abbrev_table, | ||
dwarf2_cu * | existing_cu, | ||
bool | skip_partial, | ||
abbrev_cache * | cache = nullptr ) |
Definition at line 4197 of file read.c.
References comp_unit_head::abbrev_sect_off, die_reader_specs::abfd, dwarf2_section_info::buffer, comp_unit_die, COMPILE, complaint, die_reader_specs::cu, dummy_p, dwarf2_dwo_name(), dwarf_die_debug, dwarf2_cu::dwo_unit, abbrev_cache::find(), comp_unit_head::first_die_cu_offset, gdb_printf(), gdb_stdlog, get_abbrev_section_for_cu(), dwarf2_section_info::get_bfd_owner(), dwarf2_per_objfile::get_cu(), comp_unit_head::get_length_with_initial(), die_info::has_children, dwarf2_cu::header, info_ptr, init_cu_die_reader(), init_tu_and_read_dwo_dies(), dwarf2_per_cu_data::is_debug_types, dwarf2_per_cu_data::length(), lookup_dwo_unit(), m_abbrev_table_holder, m_dwo_abbrev_table, m_new_cu, dwarf2_per_objfile::objfile, peek_abbrev_code(), abbrev_table::read(), dwarf2_section_info::read(), read_and_check_comp_unit_head(), read_cutu_die_from_dwo(), read_toplevel_die(), dwarf2_per_cu_data::reading_dwo_directly, abbrev_table::sect_off, comp_unit_head::sect_off, dwarf2_per_cu_data::sect_off, sect_offset_str(), dwarf2_per_cu_data::section, dwarf2_per_cu_data::set_length(), dwarf2_per_cu_data::set_version(), comp_unit_head::signature, signatured_type::signature, die_info::tag, TYPE, comp_unit_head::type_cu_offset_in_tu, signatured_type::type_offset_in_section, signatured_type::type_offset_in_tu, and comp_unit_head::version.
|
explicit |
Definition at line 4427 of file read.c.
References die_reader_specs::abfd, dwarf2_cu::addr_base, dwarf2_section_info::buffer, comp_unit_die, COMPILE, dummy_p, dwarf_die_debug, gdb_printf(), gdb_stdlog, get_abbrev_section_for_cu(), dwarf2_section_info::get_bfd_owner(), dwarf2_per_objfile::get_cu(), info_ptr, init_cu_die_reader(), dwarf2_per_cu_data::is_debug_types, dwarf2_per_cu_data::length(), m_abbrev_table_holder, m_new_cu, dwarf2_per_objfile::objfile, peek_abbrev_code(), abbrev_table::read(), dwarf2_section_info::read(), read_and_check_comp_unit_head(), read_toplevel_die(), dwarf2_per_cu_data::sect_off, sect_offset_str(), dwarf2_per_cu_data::section, dwarf2_per_cu_data::set_length(), dwarf2_cu::str_offsets_base, and TYPE.
|
default |
cutu_reader::DISABLE_COPY_AND_ASSIGN | ( | cutu_reader | ) |
|
private |
Definition at line 4141 of file read.c.
References dwo_file::comp_dir, comp_unit_die, die_reader_specs::cu, dummy_p, dwo_unit::dwo_file, dwarf2_cu::dwo_unit, signatured_type::dwo_unit, dwarf2_per_objfile::get_cu(), info_ptr, dwarf2_per_cu_data::is_debug_types, m_dwo_abbrev_table, m_new_cu, read_cutu_die_from_dwo(), and dwarf2_per_cu_data::reading_dwo_directly.
Referenced by cutu_reader().
void cutu_reader::keep | ( | ) |
Definition at line 4398 of file read.c.
References dummy_p, m_new_cu, m_this_cu, and dwarf2_per_objfile::set_cu().
Referenced by load_full_comp_unit(), and read_signatured_type().
|
inline |
Definition at line 608 of file read.c.
References m_abbrev_table_holder.
Definition at line 599 of file read.c.
Referenced by build_type_psymtabs_reader(), cooked_indexer::check_bounds(), create_cus_hash_table(), cutu_reader(), cutu_reader(), dw2_get_file_names(), cooked_indexer::ensure_cu_exists(), init_tu_and_read_dwo_dies(), load_full_comp_unit(), cooked_indexer::make_index(), process_psymtab_comp_unit(), and read_signatured_type().
bool cutu_reader::dummy_p = false |
Definition at line 600 of file read.c.
Referenced by build_type_psymtabs(), create_cus_hash_table(), cutu_reader(), cutu_reader(), dw2_get_file_names(), cooked_indexer::ensure_cu_exists(), init_tu_and_read_dwo_dies(), keep(), load_full_comp_unit(), process_psymtab_comp_unit(), process_skeletonless_type_unit(), and read_signatured_type().
const gdb_byte* cutu_reader::info_ptr = nullptr |
Definition at line 598 of file read.c.
Referenced by create_cus_hash_table(), cutu_reader(), cutu_reader(), cooked_indexer::index_imported_unit(), init_tu_and_read_dwo_dies(), load_full_comp_unit(), cooked_indexer::make_index(), and read_signatured_type().
|
private |
Definition at line 622 of file read.c.
Referenced by cutu_reader(), cutu_reader(), and release_abbrev_table().
|
private |
Definition at line 625 of file read.c.
Referenced by cutu_reader(), and init_tu_and_read_dwo_dies().
|
private |
Definition at line 619 of file read.c.
Referenced by cutu_reader(), cutu_reader(), init_tu_and_read_dwo_dies(), and keep().
|
private |