GDB (xrefs)
|
#include "read.h"
Classes | |
struct | tu_stats |
Public Member Functions | |
dwarf2_per_bfd (bfd *obfd, const dwarf2_debug_sections *names, bool can_copy) | |
~dwarf2_per_bfd () | |
DISABLE_COPY_AND_ASSIGN (dwarf2_per_bfd) | |
dwarf2_per_cu_data * | get_cu (int index) const |
dwarf2_per_cu_data_up | allocate_per_cu () |
signatured_type_up | allocate_signatured_type (ULONGEST signature) |
void | map_info_sections (struct objfile *objfile) |
Private Member Functions | |
void | locate_sections (bfd *abfd, asection *sectp, const dwarf2_debug_sections &names) |
dwarf2_per_bfd::dwarf2_per_bfd | ( | bfd * | obfd, |
const dwarf2_debug_sections * | names, | ||
bool | can_copy ) |
Definition at line 1258 of file read.c.
References dwarf2_elf_names, and locate_sections().
dwarf2_per_bfd::~dwarf2_per_bfd | ( | ) |
Definition at line 1270 of file read.c.
References all_units, and index_table.
dwarf2_per_cu_data_up dwarf2_per_bfd::allocate_per_cu | ( | ) |
Definition at line 1802 of file read.c.
References all_units.
Referenced by create_cu_from_index_list(), and read_comp_units_from_section().
signatured_type_up dwarf2_per_bfd::allocate_signatured_type | ( | ULONGEST | signature | ) |
Definition at line 1813 of file read.c.
References all_units.
Referenced by add_type_unit(), create_signatured_type_table_from_debug_names(), create_signatured_type_table_from_gdb_index(), and read_comp_units_from_section().
dwarf2_per_bfd::DISABLE_COPY_AND_ASSIGN | ( | dwarf2_per_bfd | ) |
|
inline |
Definition at line 434 of file read.h.
References all_units.
Referenced by create_addrmap_from_gdb_index(), dw2_expand_marked_cus(), dw2_symtab_iter_next(), dwarf2_base_index_functions::expand_all_symtabs(), dw2_debug_names_iterator::next(), all_units_iterator::operator*(), and dwarf2_base_index_functions::print_stats().
|
private |
Definition at line 1412 of file read.c.
References abbrev, dwarf2_debug_sections::abbrev, addr, dwarf2_debug_sections::addr, debug_aranges, dwarf2_debug_sections::debug_aranges, dwarf2_debug_sections::debug_names, eh_frame, dwarf2_debug_sections::eh_frame, frame, dwarf2_debug_sections::frame, gdb_index, dwarf2_debug_sections::gdb_index, has_section_at_zero, info, dwarf2_debug_sections::info, line, dwarf2_debug_sections::line, line_str, dwarf2_debug_sections::line_str, loc, dwarf2_debug_sections::loc, loclists, dwarf2_debug_sections::loclists, macinfo, dwarf2_debug_sections::macinfo, macro, dwarf2_debug_sections::macro, dwarf2_section_names::matches(), ranges, dwarf2_debug_sections::ranges, rnglists, dwarf2_debug_sections::rnglists, dwarf2_section_info::s, dwarf2_section_info::section, dwarf2_section_info::size, size, str, dwarf2_debug_sections::str, str_offsets, dwarf2_debug_sections::str_offsets, and dwarf2_debug_sections::types.
Referenced by dwarf2_per_bfd().
void dwarf2_per_bfd::map_info_sections | ( | struct objfile * | objfile | ) |
dwarf2_section_info dwarf2_per_bfd::abbrev {} |
Definition at line 470 of file read.h.
Referenced by build_type_psymtabs(), create_all_units(), dwarf2_has_info(), get_abbrev_section_for_cu(), locate_sections(), and map_info_sections().
std::unordered_map<sect_offset, std::vector<sect_offset>, gdb::hash_enum<sect_offset> > dwarf2_per_bfd::abstract_to_concrete |
Definition at line 555 of file read.h.
Referenced by read_variable().
dwarf2_section_info dwarf2_per_bfd::addr {} |
Definition at line 481 of file read.h.
Referenced by locate_sections(), map_info_sections(), and read_addr_index_1().
gdb::array_view<dwarf2_per_cu_data_up> dwarf2_per_bfd::all_comp_units |
Definition at line 496 of file read.h.
Referenced by dw2_debug_names_iterator::next(), and write_debug_names().
gdb::array_view<dwarf2_per_cu_data_up> dwarf2_per_bfd::all_type_units |
Definition at line 497 of file read.h.
Referenced by build_type_psymtabs(), dw2_debug_names_iterator::next(), and write_debug_names().
std::vector<dwarf2_per_cu_data_up> dwarf2_per_bfd::all_units |
Definition at line 492 of file read.h.
Referenced by add_type_unit(), allocate_per_cu(), allocate_signatured_type(), build_type_psymtabs(), check_dwarf64_offsets(), create_addrmap_from_gdb_index(), create_all_units(), create_cus_from_gdb_index(), create_cus_from_gdb_index_list(), create_signatured_type_table_from_debug_names(), create_signatured_type_table_from_gdb_index(), dw2_expand_marked_cus(), dw2_symtab_iter_next(), dw_expand_symtabs_matching_file_matcher(), dwarf2_find_containing_comp_unit(), dwarf2_initialize_objfile(), dwarf2_base_index_functions::expand_all_symtabs(), dwarf2_base_index_functions::find_last_source_symtab(), dwarf2_base_index_functions::forget_cached_source_info(), get_cu(), dwarf2_base_index_functions::has_unexpanded_symtabs(), dwarf2_base_index_functions::map_symbol_filenames(), dwarf2_base_index_functions::print_stats(), read_addrmap_from_aranges(), read_comp_units_from_section(), write_debug_names(), write_gdbindex(), and ~dwarf2_per_bfd().
bool dwarf2_per_bfd::can_copy |
Definition at line 526 of file read.h.
Referenced by new_symbol().
dwarf2_section_info dwarf2_per_bfd::debug_aranges {} |
Definition at line 486 of file read.h.
Referenced by locate_sections().
dwarf2_section_info dwarf2_per_bfd::debug_names {} |
htab_up dwarf2_per_bfd::dwo_files |
Definition at line 513 of file read.h.
Referenced by lookup_dwo_file_slot(), and process_skeletonless_type_units().
bool dwarf2_per_bfd::dwp_checked = false |
Definition at line 516 of file read.h.
Referenced by get_dwp_file().
std::unique_ptr<struct dwp_file> dwarf2_per_bfd::dwp_file |
Definition at line 519 of file read.h.
Referenced by get_dwp_file().
std::unique_ptr<struct dwz_file> dwarf2_per_bfd::dwz_file |
Definition at line 523 of file read.h.
Referenced by dwarf2_get_dwz_file().
dwarf2_section_info dwarf2_per_bfd::eh_frame {} |
Definition at line 483 of file read.h.
Referenced by dwarf2_get_section_info(), and locate_sections().
dwarf2_section_info dwarf2_per_bfd::frame {} |
Definition at line 482 of file read.h.
Referenced by gdb.FrameDecorator.FrameVars::__init__(), gdb.FrameDecorator.SymValueWrapper::__init__(), gdb.FrameIterator.FrameIterator::__init__(), gdb.dap.scopes._ScopeReference::__init__(), gdb.FrameIterator.FrameIterator::__next__(), dwarf2_get_section_info(), gdb.FrameDecorator.FrameVars::fetch_frame_args(), gdb.FrameDecorator.FrameVars::fetch_frame_locals(), gdb.dap.scopes._ScopeReference::fetch_one_child(), locate_sections(), and gdb.FrameDecorator.SymValueWrapper::value().
dwarf2_section_info dwarf2_per_bfd::gdb_index {} |
Definition at line 484 of file read.h.
Referenced by locate_sections().
bool dwarf2_per_bfd::has_section_at_zero = false |
Definition at line 530 of file read.h.
Referenced by dwarf2_get_pc_bounds(), dwarf2_ranges_process(), dwarf2_rnglists_process(), locate_sections(), new_symbol(), read_addrmap_from_aranges(), and cooked_indexer::scan_attributes().
Definition at line 558 of file read.h.
Referenced by create_addrmap_from_gdb_index(), and dwarf2_base_index_functions::find_per_cu().
std::unique_ptr<index_cache_resource> dwarf2_per_bfd::index_cache_res |
Definition at line 549 of file read.h.
Referenced by get_gdb_index_contents_from_cache().
std::unique_ptr<dwarf_scanner_base> dwarf2_per_bfd::index_table |
Definition at line 533 of file read.h.
Referenced by dwarf2_gdb_index::dump(), cooked_index_functions::dump(), dw2_do_instantiate_symtab(), dw2_expand_marked_cus(), dwarf2_build_psymtabs(), dwarf2_initialize_objfile(), dwarf2_debug_names_index::expand_matching_symbols(), dwarf2_gdb_index::expand_matching_symbols(), cooked_index_functions::expand_matching_symbols(), dwarf2_debug_names_index::expand_symtabs_matching(), dwarf2_gdb_index::expand_symtabs_matching(), cooked_index_functions::expand_symtabs_matching(), cooked_index_functions::find_compunit_symtab_by_address(), cooked_index_functions::find_per_cu(), follow_die_sig_1(), cooked_index_functions::lookup_global_symbol_language(), write_dwarf_index(), and ~dwarf2_per_bfd().
dwarf2_section_info dwarf2_per_bfd::info {} |
Definition at line 469 of file read.h.
Referenced by create_all_units(), create_cus_from_gdb_index(), dwarf2_has_info(), locate_sections(), and map_info_sections().
std::vector<dwarf2_per_cu_data *> dwarf2_per_bfd::just_read_cus |
Definition at line 545 of file read.h.
Referenced by process_cu_includes(), and process_full_comp_unit().
dwarf2_section_info dwarf2_per_bfd::line {} |
Definition at line 471 of file read.h.
Referenced by gdb.dap.scopes._ScopeReference::__init__(), get_debug_line_section(), locate_sections(), map_info_sections(), and gdb.dap.scopes._ScopeReference::to_object().
dwarf2_section_info dwarf2_per_bfd::line_str {} |
Definition at line 478 of file read.h.
Referenced by locate_sections(), map_info_sections(), dwarf2_per_objfile::read_line_string(), and dwarf2_per_objfile::read_line_string().
dwarf2_section_info dwarf2_per_bfd::loc {} |
Definition at line 472 of file read.h.
Referenced by cu_debug_loc_section(), and locate_sections().
dwarf2_section_info dwarf2_per_bfd::loclists {} |
Definition at line 473 of file read.h.
Referenced by cu_debug_loc_section(), and locate_sections().
dwarf2_section_info dwarf2_per_bfd::macinfo {} |
Definition at line 474 of file read.h.
Referenced by dwarf_decode_macros(), and locate_sections().
dwarf2_section_info dwarf2_per_bfd::macro {} |
Definition at line 475 of file read.h.
Referenced by dwarf_decode_macros(), and locate_sections().
bfd* dwarf2_per_bfd::obfd |
Definition at line 462 of file read.h.
Referenced by dwarf2_find_containing_comp_unit(), dwarf2_get_dwz_file(), index_cache_store_context::index_cache_store_context(), lookup_dwo_unit(), index_cache::store(), and write_debug_names().
auto_obstack dwarf2_per_bfd::obstack |
Definition at line 467 of file read.h.
Referenced by create_addrmap_from_gdb_index(), create_cus_hash_table(), create_debug_type_hash_table(), create_dwo_unit_in_dwp_v1(), create_dwo_unit_in_dwp_v2(), create_dwo_unit_in_dwp_v5(), create_dwp_hash_table(), dw2_get_file_names_reader(), dw2_get_real_path(), and open_and_init_dwp_file().
htab_up dwarf2_per_bfd::quick_file_names_table |
Definition at line 542 of file read.h.
Referenced by dw2_get_file_names_reader(), and dwarf2_initialize_objfile().
dwarf2_section_info dwarf2_per_bfd::ranges {} |
Definition at line 479 of file read.h.
Referenced by dwarf2_ranges_process(), locate_sections(), and map_info_sections().
dwarf2_section_info dwarf2_per_bfd::rnglists {} |
Definition at line 480 of file read.h.
Referenced by cu_debug_rnglists_section(), locate_sections(), and map_info_sections().
htab_up dwarf2_per_bfd::signatured_types |
Definition at line 505 of file read.h.
Referenced by add_type_unit(), create_all_units(), create_signatured_type_table_from_debug_names(), create_signatured_type_table_from_gdb_index(), lookup_dwo_signatured_type(), lookup_dwp_signatured_type(), and lookup_signatured_type().
dwarf2_section_info dwarf2_per_bfd::str {} |
Definition at line 476 of file read.h.
Referenced by debug_names::debug_str_lookup::debug_str_lookup(), dwarf_decode_macro_bytes(), dwarf_decode_macros(), locate_sections(), debug_names::debug_str_lookup::lookup(), map_info_sections(), read_indirect_string_at_offset(), and read_stub_str_index().
dwarf2_section_info dwarf2_per_bfd::str_offsets {} |
Definition at line 477 of file read.h.
Referenced by dwarf_decode_macros(), locate_sections(), map_info_sections(), and read_stub_str_index().
htab_up dwarf2_per_bfd::type_unit_groups |
Definition at line 501 of file read.h.
Referenced by build_type_psymtabs(), and get_type_unit_group().
std::vector<dwarf2_section_info> dwarf2_per_bfd::types |
Definition at line 488 of file read.h.
Referenced by create_all_units(), determine_prefix(), map_info_sections(), and write_dwarf_index().