GDB (xrefs)
|
#include "defs.h"
#include "read-debug-names.h"
#include "complaints.h"
#include "cp-support.h"
#include "dwz.h"
#include "mapped-index.h"
#include "read.h"
#include "stringify.h"
Go to the source code of this file.
Classes | |
struct | mapped_debug_names |
struct | mapped_debug_names::index_val |
struct | mapped_debug_names::index_val::attr |
struct | dwarf2_debug_names_index |
class | dw2_debug_names_iterator |
Functions | |
static void | create_signatured_type_table_from_debug_names (dwarf2_per_objfile *per_objfile, const mapped_debug_names &map, struct dwarf2_section_info *section, struct dwarf2_section_info *abbrev_section) |
static void | create_addrmap_from_aranges (dwarf2_per_objfile *per_objfile, struct dwarf2_section_info *section) |
static bool | read_debug_names_from_section (struct objfile *objfile, const char *filename, struct dwarf2_section_info *section, mapped_debug_names &map) |
static bool | create_cus_from_debug_names_list (dwarf2_per_bfd *per_bfd, const mapped_debug_names &map, dwarf2_section_info §ion, bool is_dwz) |
static bool | create_cus_from_debug_names (dwarf2_per_bfd *per_bfd, const mapped_debug_names &map, const mapped_debug_names &dwz_map) |
bool | dwarf2_read_debug_names (dwarf2_per_objfile *per_objfile) |
Variables | |
static const gdb_byte | dwarf5_augmentation [] = { 'G', 'D', 'B', 0 } |
|
static |
Definition at line 162 of file read-debug-names.c.
References dwarf2_per_objfile::per_bfd, objfile::per_bfd, and read_addrmap_from_aranges().
Referenced by dwarf2_read_debug_names().
|
static |
Definition at line 441 of file read-debug-names.c.
References create_cus_from_debug_names_list(), mapped_debug_names::cu_count, dwarf2_get_dwz_file(), and objfile::per_bfd.
Referenced by dwarf2_read_debug_names().
|
static |
Definition at line 368 of file read-debug-names.c.
References mapped_debug_names::augmentation_is_gdb, create_cu_from_index_list(), mapped_debug_names::cu_count, mapped_debug_names::cu_table_reordered, mapped_debug_names::dwarf5_byte_order, extract_unsigned_integer(), mapped_debug_names::offset_size, objfile::per_bfd, and dwarf2_section_info::size.
Referenced by create_cus_from_debug_names().
|
static |
Definition at line 113 of file read-debug-names.c.
References dwarf2_per_bfd::all_units, dwarf2_per_bfd::allocate_signatured_type(), allocate_signatured_type_table(), dwarf2_section_info::buffer, mapped_debug_names::dwarf5_byte_order, extract_unsigned_integer(), dwarf2_per_objfile::objfile, mapped_debug_names::offset_size, dwarf2_per_objfile::per_bfd, dwarf2_section_info::read(), read_and_check_comp_unit_head(), comp_unit_head::signature, dwarf2_per_bfd::signatured_types, mapped_debug_names::tu_count, mapped_debug_names::tu_table_reordered, TYPE, and comp_unit_head::type_cu_offset_in_tu.
Referenced by dwarf2_read_debug_names().
bool dwarf2_read_debug_names | ( | dwarf2_per_objfile * | per_objfile | ) |
Definition at line 463 of file read-debug-names.c.
References create_addrmap_from_aranges(), create_cus_from_debug_names(), create_quick_file_names_table(), create_signatured_type_table_from_debug_names(), dwarf2_get_dwz_file(), dwz_file::dwz_bfd, finalize_all_units(), dwarf2_per_objfile::objfile, objfile_name(), dwarf2_per_objfile::per_bfd, objfile::per_bfd, and read_debug_names_from_section().
Referenced by dwarf2_initialize_objfile().
|
static |
Definition at line 187 of file read-debug-names.c.
References mapped_debug_names::abbrev_map, objfile::arch(), mapped_debug_names::index_val::attr_vec, mapped_debug_names::augmentation_is_gdb, mapped_debug_names::bucket_count, mapped_debug_names::bucket_table_reordered, dwarf2_section_info::buffer, mapped_debug_names::cu_count, mapped_debug_names::cu_table_reordered, mapped_debug_names::index_val::attr::dw_idx, dwarf5_augmentation, mapped_debug_names::dwarf5_byte_order, mapped_debug_names::dwarf5_is_dwarf64, mapped_debug_names::index_val::dwarf_tag, dwarf2_section_info::empty(), mapped_debug_names::entry_pool, mapped_debug_names::index_val::attr::form, gdbarch_byte_order(), dwarf2_section_info::get_bfd_owner(), dwarf2_section_info::get_flags(), mapped_debug_names::hash_table_reordered, mapped_debug_names::index_val::attr::implicit_const, mapped_debug_names::name_count, mapped_debug_names::name_table_entry_offs_reordered, mapped_debug_names::name_table_string_offs_reordered, mapped_debug_names::offset_size, dwarf2_section_info::read(), read_2_bytes(), read_4_bytes(), read_initial_length(), read_signed_leb128(), read_unsigned_leb128(), dwarf2_section_info::size, mapped_debug_names::tu_count, mapped_debug_names::tu_table_reordered, and version.
Referenced by dwarf2_read_debug_names().
Definition at line 178 of file read-debug-names.c.
Referenced by read_debug_names_from_section().