|
GDB (xrefs)
|
#include "defs.h"#include "bfd.h"#include "elf-bfd.h"#include "symtab.h"#include "gdbtypes.h"#include "objfiles.h"#include "dwarf2.h"#include "buildsym.h"#include "demangle.h"#include "gdb-demangle.h"#include "expression.h"#include "filenames.h"#include "macrotab.h"#include "language.h"#include "complaints.h"#include "bcache.h"#include "dwarf2expr.h"#include "dwarf2loc.h"#include "cp-support.h"#include "hashtab.h"#include "command.h"#include "gdbcmd.h"#include "block.h"#include "addrmap.h"#include "typeprint.h"#include "psympriv.h"#include <sys/stat.h>#include "completer.h"#include "vec.h"#include "c-lang.h"#include "go-lang.h"#include "valprint.h"#include "gdbcore.h"#include "gdb/gdb-index.h"#include <ctype.h>#include "gdb_bfd.h"#include "f-lang.h"#include "source.h"#include "filestuff.h"#include "build-id.h"#include "namespace.h"#include "common/gdb_unlinker.h"#include "common/function-view.h"#include "common/gdb_optional.h"#include "common/underlying.h"#include "common/byte-vector.h"#include "common/hash_enum.h"#include "filename-seen-cache.h"#include "producer.h"#include <fcntl.h>#include <sys/types.h>#include <algorithm>#include <unordered_set>#include <unordered_map>#include "selftest.h"#include <cmath>#include <set>#include <forward_list>Go to the source code of this file.
Macros | |
| #define | DW2_GDB_INDEX_SYMBOL_STATIC_SET_VALUE(cu_index, value) |
| #define | DW2_GDB_INDEX_SYMBOL_KIND_SET_VALUE(cu_index, value) |
| #define | DW2_GDB_INDEX_CU_SET_VALUE(cu_index, value) |
| #define | MAYBE_SWAP(V) static_cast<offset_type> (V) |
| #define | IS_TYPE_UNIT_GROUP(per_cu) ((per_cu)->section == NULL) |
| #define | MAX_NR_V2_DWO_SECTIONS |
| #define | ABBREV_HASH_SIZE 121 |
| #define | DW_STRING(attr) ((attr)->u.str) |
| #define | DW_STRING_IS_CANONICAL(attr) ((attr)->string_is_canonical) |
| #define | DW_UNSND(attr) ((attr)->u.unsnd) |
| #define | DW_BLOCK(attr) ((attr)->u.blk) |
| #define | DW_SND(attr) ((attr)->u.snd) |
| #define | DW_ADDR(attr) ((attr)->u.addr) |
| #define | DW_SIGNATURE(attr) ((attr)->u.signature) |
| #define | ATTR_ALLOC_CHUNK 4 |
| #define | DW_FIELD_ALLOC_CHUNK 4 |
| #define | INDEX4_SUFFIX ".gdb-index" |
| #define | INDEX5_SUFFIX ".debug_names" |
| #define | DEBUG_STR_SUFFIX ".debug_str" |
| #define | NO_STMT_LIST_TYPE_UNIT_PSYMTAB (1 << 31) |
| #define | NO_STMT_LIST_TYPE_UNIT_PSYMTAB_SIZE 10 |
| #define | MAX_NESTED_IMPORTED_DECLARATIONS 100 |
| #define | MAX_NR_V1_DWO_SECTIONS |
| #define | MAX_SEP_LEN 7 /* strlen ("__") + strlen ("_MOD_") */ |
| #define | X(n) |
Typedefs | |
| typedef struct symbol * | symbolp |
| typedef struct dwarf2_section_info | dwarf2_section_info_def |
| typedef uint32_t | offset_type |
| typedef struct dwarf2_per_cu_data * | dwarf2_per_cu_ptr |
| typedef struct delayed_method_info | delayed_method_info |
| typedef struct signatured_type * | sig_type_ptr |
| typedef void() | die_reader_func_ftype(const struct die_reader_specs *reader, const gdb_byte *info_ptr, struct die_info *comp_unit_die, int has_children, void *data) |
| typedef std::unique_ptr< line_header > | line_header_up |
| typedef std::unordered_map< partial_symtab *, unsigned int > | psym_index_map |
Enumerations | |
| enum | dwp_v2_section_ids { DW_SECT_MIN = 1 } |
| enum | dir_index : unsigned int |
| enum | file_name_index : unsigned int |
| enum | pc_bounds_kind { PC_BOUNDS_NOT_PRESENT, PC_BOUNDS_INVALID, PC_BOUNDS_RANGES, PC_BOUNDS_HIGH_LOW } |
| enum | rcuh_kind { rcuh_kind::COMPILE, rcuh_kind::TYPE } |
Functions | |
| DEF_VEC_P (symbolp) | |
| DEF_VEC_O (dwarf2_section_info_def) | |
| DEF_VEC_I (offset_type) | |
| DEF_VEC_P (dwarf2_per_cu_ptr) | |
| DEF_VEC_O (delayed_method_info) | |
| DEF_VEC_P (sig_type_ptr) | |
| static void | show_dwarf_max_cache_age (struct ui_file *file, int from_tty, struct cmd_list_element *c, const char *value) |
| static const char * | get_section_name (const struct dwarf2_section_info *) |
| static const char * | get_section_file_name (const struct dwarf2_section_info *) |
| static void | dwarf2_find_base_address (struct die_info *die, struct dwarf2_cu *cu) |
| static struct partial_symtab * | create_partial_symtab (struct dwarf2_per_cu_data *per_cu, const char *name) |
| static void | build_type_psymtabs_reader (const struct die_reader_specs *reader, const gdb_byte *info_ptr, struct die_info *type_unit_die, int has_children, void *data) |
| static void | dwarf2_build_psymtabs_hard (struct objfile *) |
| static void | scan_partial_symbols (struct partial_die_info *, CORE_ADDR *, CORE_ADDR *, int, struct dwarf2_cu *) |
| static void | add_partial_symbol (struct partial_die_info *, struct dwarf2_cu *) |
| static void | add_partial_namespace (struct partial_die_info *pdi, CORE_ADDR *lowpc, CORE_ADDR *highpc, int set_addrmap, struct dwarf2_cu *cu) |
| static void | add_partial_module (struct partial_die_info *pdi, CORE_ADDR *lowpc, CORE_ADDR *highpc, int set_addrmap, struct dwarf2_cu *cu) |
| static void | add_partial_enumeration (struct partial_die_info *enum_pdi, struct dwarf2_cu *cu) |
| static void | add_partial_subprogram (struct partial_die_info *pdi, CORE_ADDR *lowpc, CORE_ADDR *highpc, int need_pc, struct dwarf2_cu *cu) |
| static void | dwarf2_read_symtab (struct partial_symtab *, struct objfile *) |
| static void | psymtab_to_symtab_1 (struct partial_symtab *) |
| static struct abbrev_info * | abbrev_table_lookup_abbrev (const struct abbrev_table *, unsigned int) |
| static struct abbrev_table * | abbrev_table_read_table (struct dwarf2_section_info *, sect_offset) |
| static void | abbrev_table_free (struct abbrev_table *) |
| static void | abbrev_table_free_cleanup (void *) |
| static void | dwarf2_read_abbrevs (struct dwarf2_cu *, struct dwarf2_section_info *) |
| static void | dwarf2_free_abbrev_table (void *) |
| static unsigned int | peek_abbrev_code (bfd *, const gdb_byte *) |
| static struct partial_die_info * | load_partial_dies (const struct die_reader_specs *, const gdb_byte *, int) |
| static const gdb_byte * | read_partial_die (const struct die_reader_specs *, struct partial_die_info *, struct abbrev_info *, unsigned int, const gdb_byte *) |
| static struct partial_die_info * | find_partial_die (sect_offset, int, struct dwarf2_cu *) |
| static void | fixup_partial_die (struct partial_die_info *, struct dwarf2_cu *) |
| static const gdb_byte * | read_attribute (const struct die_reader_specs *, struct attribute *, struct attr_abbrev *, const gdb_byte *) |
| static unsigned int | read_1_byte (bfd *, const gdb_byte *) |
| static int | read_1_signed_byte (bfd *, const gdb_byte *) |
| static unsigned int | read_2_bytes (bfd *, const gdb_byte *) |
| static unsigned int | read_4_bytes (bfd *, const gdb_byte *) |
| static ULONGEST | read_8_bytes (bfd *, const gdb_byte *) |
| static CORE_ADDR | read_address (bfd *, const gdb_byte *ptr, struct dwarf2_cu *, unsigned int *) |
| static LONGEST | read_initial_length (bfd *, const gdb_byte *, unsigned int *) |
| static LONGEST | read_checked_initial_length_and_offset (bfd *, const gdb_byte *, const struct comp_unit_head *, unsigned int *, unsigned int *) |
| static LONGEST | read_offset (bfd *, const gdb_byte *, const struct comp_unit_head *, unsigned int *) |
| static LONGEST | read_offset_1 (bfd *, const gdb_byte *, unsigned int) |
| static sect_offset | read_abbrev_offset (struct dwarf2_section_info *, sect_offset) |
| static const gdb_byte * | read_n_bytes (bfd *, const gdb_byte *, unsigned int) |
| static const char * | read_direct_string (bfd *, const gdb_byte *, unsigned int *) |
| static const char * | read_indirect_string (bfd *, const gdb_byte *, const struct comp_unit_head *, unsigned int *) |
| static const char * | read_indirect_line_string (bfd *, const gdb_byte *, const struct comp_unit_head *, unsigned int *) |
| static const char * | read_indirect_string_at_offset (bfd *abfd, LONGEST str_offset) |
| static const char * | read_indirect_string_from_dwz (struct dwz_file *, LONGEST) |
| static LONGEST | read_signed_leb128 (bfd *, const gdb_byte *, unsigned int *) |
| static CORE_ADDR | read_addr_index_from_leb128 (struct dwarf2_cu *, const gdb_byte *, unsigned int *) |
| static const char * | read_str_index (const struct die_reader_specs *reader, ULONGEST str_index) |
| static void | set_cu_language (unsigned int, struct dwarf2_cu *) |
| static struct attribute * | dwarf2_attr (struct die_info *, unsigned int, struct dwarf2_cu *) |
| static struct attribute * | dwarf2_attr_no_follow (struct die_info *, unsigned int) |
| static const char * | dwarf2_string_attr (struct die_info *die, unsigned int name, struct dwarf2_cu *cu) |
| static int | dwarf2_flag_true_p (struct die_info *die, unsigned name, struct dwarf2_cu *cu) |
| static int | die_is_declaration (struct die_info *, struct dwarf2_cu *cu) |
| static struct die_info * | die_specification (struct die_info *die, struct dwarf2_cu **) |
| static line_header_up | dwarf_decode_line_header (sect_offset sect_off, struct dwarf2_cu *cu) |
| static void | dwarf_decode_lines (struct line_header *, const char *, struct dwarf2_cu *, struct partial_symtab *, CORE_ADDR, int decode_mapping) |
| static void | dwarf2_start_subfile (const char *, const char *) |
| static struct compunit_symtab * | dwarf2_start_symtab (struct dwarf2_cu *, const char *, const char *, CORE_ADDR) |
| static struct symbol * | new_symbol (struct die_info *, struct type *, struct dwarf2_cu *) |
| static struct symbol * | new_symbol_full (struct die_info *, struct type *, struct dwarf2_cu *, struct symbol *) |
| static void | dwarf2_const_value (const struct attribute *, struct symbol *, struct dwarf2_cu *) |
| static void | dwarf2_const_value_attr (const struct attribute *attr, struct type *type, const char *name, struct obstack *obstack, struct dwarf2_cu *cu, LONGEST *value, const gdb_byte **bytes, struct dwarf2_locexpr_baton **baton) |
| static struct type * | die_type (struct die_info *, struct dwarf2_cu *) |
| static int | need_gnat_info (struct dwarf2_cu *) |
| static struct type * | die_descriptive_type (struct die_info *, struct dwarf2_cu *) |
| static void | set_descriptive_type (struct type *, struct die_info *, struct dwarf2_cu *) |
| static struct type * | die_containing_type (struct die_info *, struct dwarf2_cu *) |
| static struct type * | lookup_die_type (struct die_info *, const struct attribute *, struct dwarf2_cu *) |
| static struct type * | read_type_die (struct die_info *, struct dwarf2_cu *) |
| static struct type * | read_type_die_1 (struct die_info *, struct dwarf2_cu *) |
| static const char * | determine_prefix (struct die_info *die, struct dwarf2_cu *) |
| static char * | typename_concat (struct obstack *obs, const char *prefix, const char *suffix, int physname, struct dwarf2_cu *cu) |
| static void | read_file_scope (struct die_info *, struct dwarf2_cu *) |
| static void | read_type_unit_scope (struct die_info *, struct dwarf2_cu *) |
| static void | read_func_scope (struct die_info *, struct dwarf2_cu *) |
| static void | read_lexical_block_scope (struct die_info *, struct dwarf2_cu *) |
| static void | read_call_site_scope (struct die_info *die, struct dwarf2_cu *cu) |
| static void | read_variable (struct die_info *die, struct dwarf2_cu *cu) |
| static int | dwarf2_ranges_read (unsigned, CORE_ADDR *, CORE_ADDR *, struct dwarf2_cu *, struct partial_symtab *) |
| static enum pc_bounds_kind | dwarf2_get_pc_bounds (struct die_info *, CORE_ADDR *, CORE_ADDR *, struct dwarf2_cu *, struct partial_symtab *) |
| static void | get_scope_pc_bounds (struct die_info *, CORE_ADDR *, CORE_ADDR *, struct dwarf2_cu *) |
| static void | dwarf2_record_block_ranges (struct die_info *, struct block *, CORE_ADDR, struct dwarf2_cu *) |
| static void | dwarf2_add_field (struct field_info *, struct die_info *, struct dwarf2_cu *) |
| static void | dwarf2_attach_fields_to_type (struct field_info *, struct type *, struct dwarf2_cu *) |
| static void | dwarf2_add_member_fn (struct field_info *, struct die_info *, struct type *, struct dwarf2_cu *) |
| static void | dwarf2_attach_fn_fields_to_type (struct field_info *, struct type *, struct dwarf2_cu *) |
| static void | process_structure_scope (struct die_info *, struct dwarf2_cu *) |
| static void | read_common_block (struct die_info *, struct dwarf2_cu *) |
| static void | read_namespace (struct die_info *die, struct dwarf2_cu *) |
| static void | read_module (struct die_info *die, struct dwarf2_cu *cu) |
| static struct using_direct ** | using_directives (enum language) |
| static void | read_import_statement (struct die_info *die, struct dwarf2_cu *) |
| static int | read_namespace_alias (struct die_info *die, struct dwarf2_cu *cu) |
| static struct type * | read_module_type (struct die_info *die, struct dwarf2_cu *cu) |
| static const char * | namespace_name (struct die_info *die, int *is_anonymous, struct dwarf2_cu *) |
| static void | process_enumeration_scope (struct die_info *, struct dwarf2_cu *) |
| static CORE_ADDR | decode_locdesc (struct dwarf_block *, struct dwarf2_cu *) |
| static enum dwarf_array_dim_ordering | read_array_order (struct die_info *, struct dwarf2_cu *) |
| static struct die_info * | read_die_and_siblings_1 (const struct die_reader_specs *, const gdb_byte *, const gdb_byte **, struct die_info *) |
| static struct die_info * | read_die_and_siblings (const struct die_reader_specs *, const gdb_byte *info_ptr, const gdb_byte **new_info_ptr, struct die_info *parent) |
| static const gdb_byte * | read_full_die_1 (const struct die_reader_specs *, struct die_info **, const gdb_byte *, int *, int) |
| static const gdb_byte * | read_full_die (const struct die_reader_specs *, struct die_info **, const gdb_byte *, int *) |
| static void | process_die (struct die_info *, struct dwarf2_cu *) |
| static const char * | dwarf2_canonicalize_name (const char *, struct dwarf2_cu *, struct obstack *) |
| static const char * | dwarf2_name (struct die_info *die, struct dwarf2_cu *) |
| static const char * | dwarf2_full_name (const char *name, struct die_info *die, struct dwarf2_cu *cu) |
| static const char * | dwarf2_physname (const char *name, struct die_info *die, struct dwarf2_cu *cu) |
| static struct die_info * | dwarf2_extension (struct die_info *die, struct dwarf2_cu **) |
| static const char * | dwarf_tag_name (unsigned int) |
| static const char * | dwarf_attr_name (unsigned int) |
| static const char * | dwarf_form_name (unsigned int) |
| static const char * | dwarf_bool_name (unsigned int) |
| static const char * | dwarf_type_encoding_name (unsigned int) |
| static struct die_info * | sibling_die (struct die_info *) |
| static void | dump_die_shallow (struct ui_file *, int indent, struct die_info *) |
| static void | dump_die_for_error (struct die_info *) |
| static void | dump_die_1 (struct ui_file *, int level, int max_level, struct die_info *) |
| void | dump_die (struct die_info *, int max_level) |
| static void | store_in_ref_table (struct die_info *, struct dwarf2_cu *) |
| static sect_offset | dwarf2_get_ref_die_offset (const struct attribute *) |
| static LONGEST | dwarf2_get_attr_constant_value (const struct attribute *, int) |
| static struct die_info * | follow_die_ref_or_sig (struct die_info *, const struct attribute *, struct dwarf2_cu **) |
| static struct die_info * | follow_die_ref (struct die_info *, const struct attribute *, struct dwarf2_cu **) |
| static struct die_info * | follow_die_sig (struct die_info *, const struct attribute *, struct dwarf2_cu **) |
| static struct type * | get_signatured_type (struct die_info *, ULONGEST, struct dwarf2_cu *) |
| static struct type * | get_DW_AT_signature_type (struct die_info *, const struct attribute *, struct dwarf2_cu *) |
| static void | load_full_type_unit (struct dwarf2_per_cu_data *per_cu) |
| static void | read_signatured_type (struct signatured_type *) |
| static int | attr_to_dynamic_prop (const struct attribute *attr, struct die_info *die, struct dwarf2_cu *cu, struct dynamic_prop *prop) |
| static struct dwarf_block * | dwarf_alloc_block (struct dwarf2_cu *) |
| static struct die_info * | dwarf_alloc_die (struct dwarf2_cu *, int) |
| static void | dwarf_decode_macros (struct dwarf2_cu *, unsigned int, int) |
| static int | attr_form_is_block (const struct attribute *) |
| static int | attr_form_is_section_offset (const struct attribute *) |
| static int | attr_form_is_constant (const struct attribute *) |
| static int | attr_form_is_ref (const struct attribute *) |
| static void | fill_in_loclist_baton (struct dwarf2_cu *cu, struct dwarf2_loclist_baton *baton, const struct attribute *attr) |
| static void | dwarf2_symbol_mark_computed (const struct attribute *attr, struct symbol *sym, struct dwarf2_cu *cu, int is_block) |
| static const gdb_byte * | skip_one_die (const struct die_reader_specs *reader, const gdb_byte *info_ptr, struct abbrev_info *abbrev) |
| static void | free_stack_comp_unit (void *) |
| static hashval_t | partial_die_hash (const void *item) |
| static int | partial_die_eq (const void *item_lhs, const void *item_rhs) |
| static struct dwarf2_per_cu_data * | dwarf2_find_containing_comp_unit (sect_offset sect_off, unsigned int offset_in_dwz, struct objfile *objfile) |
| static void | init_one_comp_unit (struct dwarf2_cu *cu, struct dwarf2_per_cu_data *per_cu) |
| static void | prepare_one_comp_unit (struct dwarf2_cu *cu, struct die_info *comp_unit_die, enum language pretend_language) |
| static void | free_heap_comp_unit (void *) |
| static void | free_cached_comp_units (void *) |
| static void | age_cached_comp_units (void) |
| static void | free_one_cached_comp_unit (struct dwarf2_per_cu_data *) |
| static struct type * | set_die_type (struct die_info *, struct type *, struct dwarf2_cu *) |
| static void | create_all_comp_units (struct objfile *) |
| static int | create_all_type_units (struct objfile *) |
| static void | load_full_comp_unit (struct dwarf2_per_cu_data *, enum language) |
| static void | process_full_comp_unit (struct dwarf2_per_cu_data *, enum language) |
| static void | process_full_type_unit (struct dwarf2_per_cu_data *, enum language) |
| static void | dwarf2_add_dependence (struct dwarf2_cu *, struct dwarf2_per_cu_data *) |
| static void | dwarf2_mark (struct dwarf2_cu *) |
| static void | dwarf2_clear_marks (struct dwarf2_per_cu_data *) |
| static struct type * | get_die_type_at_offset (sect_offset, struct dwarf2_per_cu_data *) |
| static struct type * | get_die_type (struct die_info *die, struct dwarf2_cu *cu) |
| static void | dwarf2_release_queue (void *dummy) |
| static void | queue_comp_unit (struct dwarf2_per_cu_data *per_cu, enum language pretend_language) |
| static void | process_queue (void) |
| static file_and_directory | find_file_and_directory (struct die_info *die, struct dwarf2_cu *cu) |
| static char * | file_full_name (int file, struct line_header *lh, const char *comp_dir) |
| static const gdb_byte * | read_and_check_comp_unit_head (struct comp_unit_head *header, struct dwarf2_section_info *section, struct dwarf2_section_info *abbrev_section, const gdb_byte *info_ptr, rcuh_kind section_kind) |
| static void | init_cutu_and_read_dies (struct dwarf2_per_cu_data *this_cu, struct abbrev_table *abbrev_table, int use_existing_cu, int keep, die_reader_func_ftype *die_reader_func, void *data) |
| static void | init_cutu_and_read_dies_simple (struct dwarf2_per_cu_data *this_cu, die_reader_func_ftype *die_reader_func, void *data) |
| static htab_t | allocate_signatured_type_table (struct objfile *objfile) |
| static htab_t | allocate_dwo_unit_table (struct objfile *objfile) |
| static struct dwo_unit * | lookup_dwo_unit_in_dwp (struct dwp_file *dwp_file, const char *comp_dir, ULONGEST signature, int is_debug_types) |
| static struct dwp_file * | get_dwp_file (void) |
| static struct dwo_unit * | lookup_dwo_comp_unit (struct dwarf2_per_cu_data *, const char *, const char *, ULONGEST) |
| static struct dwo_unit * | lookup_dwo_type_unit (struct signatured_type *, const char *, const char *) |
| static void | queue_and_load_all_dwo_tus (struct dwarf2_per_cu_data *) |
| static void | free_dwo_file_cleanup (void *) |
| static void | process_cu_includes (void) |
| static void | check_producer (struct dwarf2_cu *cu) |
| static void | free_line_header_voidp (void *arg) |
| static void | dwarf2_statement_list_fits_in_line_number_section_complaint (void) |
| static void | dwarf2_debug_line_missing_file_complaint (void) |
| static void | dwarf2_debug_line_missing_end_sequence_complaint (void) |
| static void | dwarf2_complex_location_expr_complaint (void) |
| static void | dwarf2_const_value_length_mismatch_complaint (const char *arg1, int arg2, int arg3) |
| static void | dwarf2_section_buffer_overflow_complaint (struct dwarf2_section_info *section) |
| static void | dwarf2_macro_malformed_definition_complaint (const char *arg1) |
| static void | dwarf2_invalid_attrib_class_complaint (const char *arg1, const char *arg2) |
| static hashval_t | line_header_hash (const struct line_header *ofs) |
| static hashval_t | line_header_hash_voidp (const void *item) |
| static int | line_header_eq_voidp (const void *item_lhs, const void *item_rhs) |
| static CORE_ADDR | attr_value_as_address (struct attribute *attr) |
| int | dwarf2_has_info (struct objfile *objfile, const struct dwarf2_debug_sections *names) |
| static struct dwarf2_section_info * | get_containing_section (const struct dwarf2_section_info *section) |
| static struct bfd * | get_section_bfd_owner (const struct dwarf2_section_info *section) |
| static asection * | get_section_bfd_section (const struct dwarf2_section_info *section) |
| static int | get_section_id (const struct dwarf2_section_info *section) |
| static int | get_section_flags (const struct dwarf2_section_info *section) |
| static int | section_is_p (const char *section_name, const struct dwarf2_section_names *names) |
| static int | dwarf2_section_empty_p (const struct dwarf2_section_info *section) |
| static void | dwarf2_read_section (struct objfile *objfile, struct dwarf2_section_info *info) |
| static bfd_size_type | dwarf2_section_size (struct objfile *objfile, struct dwarf2_section_info *info) |
| void | dwarf2_get_section_info (struct objfile *objfile, enum dwarf2_section_enum sect, asection **sectp, const gdb_byte **bufp, bfd_size_type *sizep) |
| static void | locate_dwz_sections (bfd *abfd, asection *sectp, void *arg) |
| static struct dwz_file * | dwarf2_get_dwz_file (void) |
| static hashval_t | hash_stmt_list_entry (const struct stmt_list_hash *stmt_list_hash) |
| static int | eq_stmt_list_entry (const struct stmt_list_hash *lhs, const struct stmt_list_hash *rhs) |
| static hashval_t | hash_file_name_entry (const void *e) |
| static int | eq_file_name_entry (const void *a, const void *b) |
| static void | delete_file_name_entry (void *e) |
| static htab_t | create_quick_file_names_table (unsigned int nr_initial_entries) |
| static void | load_cu (struct dwarf2_per_cu_data *per_cu) |
| static void | dw2_do_instantiate_symtab (struct dwarf2_per_cu_data *per_cu) |
| static struct compunit_symtab * | dw2_instantiate_symtab (struct dwarf2_per_cu_data *per_cu) |
| static struct dwarf2_per_cu_data * | dw2_get_cutu (int index) |
| static struct dwarf2_per_cu_data * | dw2_get_cu (int index) |
| static dwarf2_per_cu_data * | create_cu_from_index_list (struct objfile *objfile, struct dwarf2_section_info *section, int is_dwz, sect_offset sect_off, ULONGEST length) |
| static void | create_cus_from_index_list (struct objfile *objfile, const gdb_byte *cu_list, offset_type n_elements, struct dwarf2_section_info *section, int is_dwz, int base_offset) |
| static void | create_cus_from_index (struct objfile *objfile, const gdb_byte *cu_list, offset_type cu_list_elements, const gdb_byte *dwz_list, offset_type dwz_elements) |
| static void | create_signatured_type_table_from_index (struct objfile *objfile, struct dwarf2_section_info *section, const gdb_byte *bytes, offset_type elements) |
| static void | create_signatured_type_table_from_debug_names (struct objfile *objfile, const mapped_debug_names &map, struct dwarf2_section_info *section, struct dwarf2_section_info *abbrev_section) |
| static void | create_addrmap_from_index (struct objfile *objfile, struct mapped_index *index) |
| static void | create_addrmap_from_aranges (struct objfile *objfile, struct dwarf2_section_info *section) |
| static hashval_t | mapped_index_string_hash (int index_version, const void *p) |
| static bool | find_slot_in_mapped_hash (struct mapped_index *index, const char *name, offset_type **vec_out) |
| static int | read_index_from_section (struct objfile *objfile, const char *filename, int deprecated_ok, struct dwarf2_section_info *section, struct mapped_index *map, const gdb_byte **cu_list, offset_type *cu_list_elements, const gdb_byte **types_list, offset_type *types_list_elements) |
| static int | dwarf2_read_index (struct objfile *objfile) |
| static void | dw2_setup (struct objfile *objfile) |
| static void | dw2_get_file_names_reader (const struct die_reader_specs *reader, const gdb_byte *info_ptr, struct die_info *comp_unit_die, int has_children, void *data) |
| static struct quick_file_names * | dw2_get_file_names (struct dwarf2_per_cu_data *this_cu) |
| static const char * | dw2_get_real_path (struct objfile *objfile, struct quick_file_names *qfn, int index) |
| static struct symtab * | dw2_find_last_source_symtab (struct objfile *objfile) |
| static int | dw2_free_cached_file_names (void **slot, void *info) |
| static void | dw2_forget_cached_source_info (struct objfile *objfile) |
| static int | dw2_map_expand_apply (struct objfile *objfile, struct dwarf2_per_cu_data *per_cu, const char *name, const char *real_path, gdb::function_view< bool(symtab *)> callback) |
| static bool | dw2_map_symtabs_matching_filename (struct objfile *objfile, const char *name, const char *real_path, gdb::function_view< bool(symtab *)> callback) |
| static void | dw2_symtab_iter_init (struct dw2_symtab_iterator *iter, struct mapped_index *index, int want_specific_block, int block_index, domain_enum domain, const char *name) |
| static struct dwarf2_per_cu_data * | dw2_symtab_iter_next (struct dw2_symtab_iterator *iter) |
| static struct compunit_symtab * | dw2_lookup_symbol (struct objfile *objfile, int block_index, const char *name, domain_enum domain) |
| static void | dw2_print_stats (struct objfile *objfile) |
| static void | dw2_dump (struct objfile *objfile) |
| static void | dw2_relocate (struct objfile *objfile, const struct section_offsets *new_offsets, const struct section_offsets *delta) |
| static void | dw2_expand_symtabs_for_function (struct objfile *objfile, const char *func_name) |
| static void | dw2_expand_all_symtabs (struct objfile *objfile) |
| static void | dw2_expand_symtabs_with_fullname (struct objfile *objfile, const char *fullname) |
| static void | dw2_map_matching_symbols (struct objfile *objfile, const char *name, domain_enum domain, int global, int(*callback)(struct block *, struct symbol *, void *), void *data, symbol_name_match_type match, symbol_compare_ftype *ordered_compare) |
| static std::string | make_sort_after_prefix_name (const char *search_name) |
| static void | dw2_expand_symtabs_matching_symbol (mapped_index_base &index, const lookup_name_info &lookup_name_in, gdb::function_view< expand_symtabs_symbol_matcher_ftype > symbol_matcher, enum search_domain kind, gdb::function_view< void(offset_type)> match_callback) |
| static void | dw2_expand_symtabs_matching_one (struct dwarf2_per_cu_data *per_cu, gdb::function_view< expand_symtabs_file_matcher_ftype > file_matcher, gdb::function_view< expand_symtabs_exp_notify_ftype > expansion_notify) |
| static void | dw2_expand_marked_cus (mapped_index &index, offset_type idx, struct objfile *objfile, gdb::function_view< expand_symtabs_file_matcher_ftype > file_matcher, gdb::function_view< expand_symtabs_exp_notify_ftype > expansion_notify, search_domain kind) |
| static void | dw_expand_symtabs_matching_file_matcher (gdb::function_view< expand_symtabs_file_matcher_ftype > file_matcher) |
| static void | dw2_expand_symtabs_matching (struct objfile *objfile, gdb::function_view< expand_symtabs_file_matcher_ftype > file_matcher, const lookup_name_info &lookup_name, gdb::function_view< expand_symtabs_symbol_matcher_ftype > symbol_matcher, gdb::function_view< expand_symtabs_exp_notify_ftype > expansion_notify, enum search_domain kind) |
| static struct compunit_symtab * | recursively_find_pc_sect_compunit_symtab (struct compunit_symtab *cust, CORE_ADDR pc) |
| static struct compunit_symtab * | dw2_find_pc_sect_compunit_symtab (struct objfile *objfile, struct bound_minimal_symbol msymbol, CORE_ADDR pc, struct obj_section *section, int warn_if_readin) |
| static void | dw2_map_symbol_filenames (struct objfile *objfile, symbol_filename_ftype *fun, void *data, int need_fullname) |
| static int | dw2_has_symbols (struct objfile *objfile) |
| static bool | read_debug_names_from_section (struct objfile *objfile, const char *filename, struct dwarf2_section_info *section, mapped_debug_names &map) |
| static void | create_cus_from_debug_names_list (struct objfile *objfile, const mapped_debug_names &map, dwarf2_section_info §ion, bool is_dwz, int base_offset) |
| static void | create_cus_from_debug_names (struct objfile *objfile, const mapped_debug_names &map, const mapped_debug_names &dwz_map) |
| static bool | dwarf2_read_debug_names (struct objfile *objfile) |
| static uint32_t | dwarf5_djb_hash (const char *str_) |
| static struct compunit_symtab * | dw2_debug_names_lookup_symbol (struct objfile *objfile, int block_index_int, const char *name, domain_enum domain) |
| static void | dw2_debug_names_dump (struct objfile *objfile) |
| static void | dw2_debug_names_expand_symtabs_for_function (struct objfile *objfile, const char *func_name) |
| static void | dw2_debug_names_expand_symtabs_matching (struct objfile *objfile, gdb::function_view< expand_symtabs_file_matcher_ftype > file_matcher, const lookup_name_info &lookup_name, gdb::function_view< expand_symtabs_symbol_matcher_ftype > symbol_matcher, gdb::function_view< expand_symtabs_exp_notify_ftype > expansion_notify, enum search_domain kind) |
| bool | dwarf2_initialize_objfile (struct objfile *objfile, dw_index_kind *index_kind) |
| void | dwarf2_build_psymtabs (struct objfile *objfile) |
| static unsigned int | get_cu_length (const struct comp_unit_head *header) |
| static bool | offset_in_cu_p (const comp_unit_head *cu_header, sect_offset sect_off) |
| static const gdb_byte * | read_comp_unit_head (struct comp_unit_head *cu_header, const gdb_byte *info_ptr, struct dwarf2_section_info *section, rcuh_kind section_kind) |
| static struct dwarf2_section_info * | get_abbrev_section_for_cu (struct dwarf2_per_cu_data *this_cu) |
| static void | error_check_comp_unit_head (struct comp_unit_head *header, struct dwarf2_section_info *section, struct dwarf2_section_info *abbrev_section) |
| static void | dwarf2_create_include_psymtab (const char *name, struct partial_symtab *pst, struct objfile *objfile) |
| static void | dwarf2_build_include_psymtabs (struct dwarf2_cu *cu, struct die_info *die, struct partial_symtab *pst) |
| static hashval_t | hash_signatured_type (const void *item) |
| static int | eq_signatured_type (const void *item_lhs, const void *item_rhs) |
| static int | add_signatured_type_cu_to_table (void **slot, void *datum) |
| static void | create_debug_type_hash_table (struct dwo_file *dwo_file, dwarf2_section_info *section, htab_t &types_htab, rcuh_kind section_kind) |
| static void | create_debug_types_hash_table (struct dwo_file *dwo_file, VEC(dwarf2_section_info_def) *types, htab_t &types_htab) |
| static struct signatured_type * | add_type_unit (ULONGEST sig, void **slot) |
| static void | fill_in_sig_entry_from_dwo_entry (struct objfile *objfile, struct signatured_type *sig_entry, struct dwo_unit *dwo_entry) |
| static struct signatured_type * | lookup_dwo_signatured_type (struct dwarf2_cu *cu, ULONGEST sig) |
| static struct signatured_type * | lookup_dwp_signatured_type (struct dwarf2_cu *cu, ULONGEST sig) |
| static struct signatured_type * | lookup_signatured_type (struct dwarf2_cu *cu, ULONGEST sig) |
| static void | init_cu_die_reader (struct die_reader_specs *reader, struct dwarf2_cu *cu, struct dwarf2_section_info *section, struct dwo_file *dwo_file) |
| static int | read_cutu_die_from_dwo (struct dwarf2_per_cu_data *this_cu, struct dwo_unit *dwo_unit, int abbrev_table_provided, struct die_info *stub_comp_unit_die, const char *stub_comp_dir, struct die_reader_specs *result_reader, const gdb_byte **result_info_ptr, struct die_info **result_comp_unit_die, int *result_has_children) |
| static struct dwo_unit * | lookup_dwo_unit (struct dwarf2_per_cu_data *this_cu, struct die_info *comp_unit_die) |
| static void | init_tu_and_read_dwo_dies (struct dwarf2_per_cu_data *this_cu, int use_existing_cu, int keep, die_reader_func_ftype *die_reader_func, void *data) |
| static void | init_cutu_and_read_dies_no_follow (struct dwarf2_per_cu_data *this_cu, struct dwo_file *dwo_file, die_reader_func_ftype *die_reader_func, void *data) |
| static hashval_t | hash_type_unit_group (const void *item) |
| static int | eq_type_unit_group (const void *item_lhs, const void *item_rhs) |
| static htab_t | allocate_type_unit_groups_table (void) |
| static struct type_unit_group * | create_type_unit_group (struct dwarf2_cu *cu, sect_offset line_offset_struct) |
| static struct type_unit_group * | get_type_unit_group (struct dwarf2_cu *cu, const struct attribute *stmt_list) |
| static void | process_psymtab_comp_unit_reader (const struct die_reader_specs *reader, const gdb_byte *info_ptr, struct die_info *comp_unit_die, int has_children, void *data) |
| static void | process_psymtab_comp_unit (struct dwarf2_per_cu_data *this_cu, int want_partial_unit, enum language pretend_language) |
| static int | sort_tu_by_abbrev_offset (const void *ap, const void *bp) |
| static void | build_type_psymtabs_1 (void) |
| static void | print_tu_stats (void) |
| static int | build_type_psymtab_dependencies (void **slot, void *info) |
| static void | build_type_psymtabs (struct objfile *objfile) |
| static int | process_skeletonless_type_unit (void **slot, void *info) |
| static int | process_dwo_file_for_skeletonless_type_units (void **slot, void *info) |
| static void | process_skeletonless_type_units (struct objfile *objfile) |
| static void | set_partial_user (struct objfile *objfile) |
| static void | load_partial_comp_unit_reader (const struct die_reader_specs *reader, const gdb_byte *info_ptr, struct die_info *comp_unit_die, int has_children, void *data) |
| static void | load_partial_comp_unit (struct dwarf2_per_cu_data *this_cu) |
| static void | read_comp_units_from_section (struct objfile *objfile, struct dwarf2_section_info *section, struct dwarf2_section_info *abbrev_section, unsigned int is_dwz, int *n_allocated, int *n_comp_units, struct dwarf2_per_cu_data ***all_comp_units) |
| static const char * | partial_die_parent_scope (struct partial_die_info *pdi, struct dwarf2_cu *cu) |
| static char * | partial_die_full_name (struct partial_die_info *pdi, struct dwarf2_cu *cu) |
| static struct abbrev_info * | peek_die_abbrev (const gdb_byte *info_ptr, unsigned int *bytes_read, struct dwarf2_cu *cu) |
| static const gdb_byte * | skip_children (const struct die_reader_specs *reader, const gdb_byte *info_ptr) |
| static const gdb_byte * | locate_pdi_sibling (const struct die_reader_specs *reader, struct partial_die_info *orig_pdi, const gdb_byte *info_ptr) |
| static int | maybe_queue_comp_unit (struct dwarf2_cu *dependent_cu, struct dwarf2_per_cu_data *per_cu, enum language pretend_language) |
| static hashval_t | die_hash (const void *item) |
| static int | die_eq (const void *item_lhs, const void *item_rhs) |
| static void | load_full_comp_unit_reader (const struct die_reader_specs *reader, const gdb_byte *info_ptr, struct die_info *comp_unit_die, int has_children, void *data) |
| static void | add_to_method_list (struct type *type, int fnfield_index, int index, const char *name, struct die_info *die, struct dwarf2_cu *cu) |
| static void | free_delayed_list (void *ptr) |
| template<size_t N> | |
| static bool | check_modifier (const char *physname, size_t &len, const char(&mod)[N]) |
| static void | compute_delayed_physnames (struct dwarf2_cu *cu) |
| static void | fixup_go_packaging (struct dwarf2_cu *cu) |
| static struct compunit_symtab * | get_compunit_symtab (struct dwarf2_per_cu_data *per_cu) |
| static void | recursively_compute_inclusions (VEC(compunit_symtab_ptr) **result, htab_t all_children, htab_t all_type_symtabs, struct dwarf2_per_cu_data *per_cu, struct compunit_symtab *immediate_parent) |
| static void | compute_compunit_symtab_includes (struct dwarf2_per_cu_data *per_cu) |
| static void | process_imported_unit_die (struct die_info *die, struct dwarf2_cu *cu) |
| static int | die_needs_namespace (struct die_info *die, struct dwarf2_cu *cu) |
| static struct attribute * | dw2_linkage_name_attr (struct die_info *die, struct dwarf2_cu *cu) |
| static const char * | dw2_linkage_name (struct die_info *die, struct dwarf2_cu *cu) |
| static const char * | dwarf2_compute_name (const char *name, struct die_info *die, struct dwarf2_cu *cu, int physname) |
| static int | producer_is_icc_lt_14 (struct dwarf2_cu *cu) |
| static int | producer_is_gcc_lt_4_3 (struct dwarf2_cu *cu) |
| static void | handle_DW_AT_stmt_list (struct die_info *die, struct dwarf2_cu *cu, const char *comp_dir, CORE_ADDR lowpc) |
| static void | setup_type_unit_groups (struct die_info *die, struct dwarf2_cu *cu) |
| static hashval_t | hash_dwo_file (const void *item) |
| static int | eq_dwo_file (const void *item_lhs, const void *item_rhs) |
| static htab_t | allocate_dwo_file_hash_table (void) |
| static void ** | lookup_dwo_file_slot (const char *dwo_name, const char *comp_dir) |
| static hashval_t | hash_dwo_unit (const void *item) |
| static int | eq_dwo_unit (const void *item_lhs, const void *item_rhs) |
| static void | create_dwo_cu_reader (const struct die_reader_specs *reader, const gdb_byte *info_ptr, struct die_info *comp_unit_die, int has_children, void *datap) |
| static void | create_cus_hash_table (struct dwo_file &dwo_file, dwarf2_section_info §ion, htab_t &cus_htab) |
| static struct dwp_hash_table * | create_dwp_hash_table (struct dwp_file *dwp_file, int is_debug_types) |
| static int | locate_v1_virtual_dwo_sections (asection *sectp, struct virtual_v1_dwo_sections *sections) |
| static struct dwo_unit * | create_dwo_unit_in_dwp_v1 (struct dwp_file *dwp_file, uint32_t unit_index, const char *comp_dir, ULONGEST signature, int is_debug_types) |
| static struct dwarf2_section_info | create_dwp_v2_section (struct dwarf2_section_info *section, bfd_size_type offset, bfd_size_type size) |
| static struct dwo_unit * | create_dwo_unit_in_dwp_v2 (struct dwp_file *dwp_file, uint32_t unit_index, const char *comp_dir, ULONGEST signature, int is_debug_types) |
| static gdb_bfd_ref_ptr | try_open_dwop_file (const char *file_name, int is_dwp, int search_cwd) |
| static gdb_bfd_ref_ptr | open_dwo_file (const char *file_name, const char *comp_dir) |
| static void | dwarf2_locate_dwo_sections (bfd *abfd, asection *sectp, void *dwo_sections_ptr) |
| static struct dwo_file * | open_and_init_dwo_file (struct dwarf2_per_cu_data *per_cu, const char *dwo_name, const char *comp_dir) |
| static void | dwarf2_locate_common_dwp_sections (bfd *abfd, asection *sectp, void *dwp_file_ptr) |
| static void | dwarf2_locate_v2_dwp_sections (bfd *abfd, asection *sectp, void *dwp_file_ptr) |
| static hashval_t | hash_dwp_loaded_cutus (const void *item) |
| static int | eq_dwp_loaded_cutus (const void *a, const void *b) |
| static htab_t | allocate_dwp_loaded_cutus_table (struct objfile *objfile) |
| static gdb_bfd_ref_ptr | open_dwp_file (const char *file_name) |
| static struct dwp_file * | open_and_init_dwp_file (void) |
| static struct dwo_unit * | lookup_dwo_cutu (struct dwarf2_per_cu_data *this_unit, const char *dwo_name, const char *comp_dir, ULONGEST signature, int is_debug_types) |
| static int | queue_and_load_dwo_tu (void **slot, void *info) |
| static void | free_dwo_file (struct dwo_file *dwo_file, struct objfile *objfile) |
| static int | free_dwo_file_from_slot (void **slot, void *info) |
| static void | free_dwo_files (htab_t dwo_files, struct objfile *objfile) |
| static void | inherit_abstract_dies (struct die_info *die, struct dwarf2_cu *cu) |
| static struct type * | rust_containing_type (struct die_info *die, struct dwarf2_cu *cu) |
| template<typename Callback > | |
| static bool | dwarf2_rnglists_process (unsigned offset, struct dwarf2_cu *cu, Callback &&callback) |
| template<typename Callback > | |
| static int | dwarf2_ranges_process (unsigned offset, struct dwarf2_cu *cu, Callback &&callback) |
| static void | dwarf2_get_subprogram_pc_bounds (struct die_info *die, CORE_ADDR *lowpc, CORE_ADDR *highpc, struct dwarf2_cu *cu) |
| static int | producer_is_gxx_lt_4_6 (struct dwarf2_cu *cu) |
| static enum dwarf_access_attribute | dwarf2_default_access_attribute (struct die_info *die, struct dwarf2_cu *cu) |
| static int | handle_data_member_location (struct die_info *die, struct dwarf2_cu *cu, LONGEST *offset) |
| static bool | type_can_define_types (const struct die_info *die) |
| static void | dwarf2_add_type_defn (struct field_info *fip, struct die_info *die, struct dwarf2_cu *cu) |
| static int | dwarf2_is_constructor (struct die_info *die, struct dwarf2_cu *cu) |
| static int | is_vtable_name (const char *name, struct dwarf2_cu *cu) |
| static void | quirk_gcc_member_function_pointer (struct type *type, struct objfile *objfile) |
| static struct type * | read_structure_type (struct die_info *die, struct dwarf2_cu *cu) |
| static void | update_enumeration_type_from_children (struct die_info *die, struct type *type, struct dwarf2_cu *cu) |
| static struct type * | read_enumeration_type (struct die_info *die, struct dwarf2_cu *cu) |
| static struct type * | read_array_type (struct die_info *die, struct dwarf2_cu *cu) |
| static struct type * | read_set_type (struct die_info *die, struct dwarf2_cu *cu) |
| static void | mark_common_block_symbol_computed (struct symbol *sym, struct die_info *common_die, struct attribute *common_loc, struct attribute *member_loc, struct dwarf2_cu *cu) |
| static struct type * | read_namespace_type (struct die_info *die, struct dwarf2_cu *cu) |
| static struct type * | read_tag_pointer_type (struct die_info *die, struct dwarf2_cu *cu) |
| static struct type * | read_tag_ptr_to_member_type (struct die_info *die, struct dwarf2_cu *cu) |
| static struct type * | read_tag_reference_type (struct die_info *die, struct dwarf2_cu *cu, enum type_code refcode) |
| static struct type * | add_array_cv_type (struct die_info *die, struct dwarf2_cu *cu, struct type *base_type, int cnst, int voltl) |
| static struct type * | read_tag_const_type (struct die_info *die, struct dwarf2_cu *cu) |
| static struct type * | read_tag_volatile_type (struct die_info *die, struct dwarf2_cu *cu) |
| static struct type * | read_tag_restrict_type (struct die_info *die, struct dwarf2_cu *cu) |
| static struct type * | read_tag_atomic_type (struct die_info *die, struct dwarf2_cu *cu) |
| static struct type * | read_tag_string_type (struct die_info *die, struct dwarf2_cu *cu) |
| static int | prototyped_function_p (struct die_info *die, struct dwarf2_cu *cu) |
| static struct type * | read_subroutine_type (struct die_info *die, struct dwarf2_cu *cu) |
| static struct type * | read_typedef (struct die_info *die, struct dwarf2_cu *cu) |
| static struct type * | dwarf2_init_float_type (struct objfile *objfile, int bits, const char *name, const char *name_hint) |
| static struct type * | read_base_type (struct die_info *die, struct dwarf2_cu *cu) |
| static struct type * | read_subrange_type (struct die_info *die, struct dwarf2_cu *cu) |
| static struct type * | read_unspecified_type (struct die_info *die, struct dwarf2_cu *cu) |
| static struct die_info * | read_die_and_children (const struct die_reader_specs *reader, const gdb_byte *info_ptr, const gdb_byte **new_info_ptr, struct die_info *parent) |
| static struct abbrev_info * | abbrev_table_alloc_abbrev (struct abbrev_table *abbrev_table) |
| static void | abbrev_table_add_abbrev (struct abbrev_table *abbrev_table, unsigned int abbrev_number, struct abbrev_info *abbrev) |
| static int | is_type_tag_for_partial (int tag) |
| static struct partial_die_info * | find_partial_die_in_comp_unit (sect_offset sect_off, struct dwarf2_cu *cu) |
| static void | guess_partial_die_structure_name (struct partial_die_info *struct_pdi, struct dwarf2_cu *cu) |
| static const gdb_byte * | read_attribute_value (const struct die_reader_specs *reader, struct attribute *attr, unsigned form, LONGEST implicit_const, const gdb_byte *info_ptr) |
| static int | read_2_signed_bytes (bfd *abfd, const gdb_byte *buf) |
| static int | read_4_signed_bytes (bfd *abfd, const gdb_byte *buf) |
| static const char * | read_indirect_string_at_offset_from (bfd *abfd, LONGEST str_offset, struct dwarf2_section_info *sect, const char *form_name, const char *sect_name) |
| static const char * | read_indirect_line_string_at_offset (bfd *abfd, LONGEST str_offset) |
| ULONGEST | read_unsigned_leb128 (bfd *abfd, const gdb_byte *buf, unsigned int *bytes_read_ptr) |
| static CORE_ADDR | read_addr_index_1 (unsigned int addr_index, ULONGEST addr_base, int addr_size) |
| static CORE_ADDR | read_addr_index (struct dwarf2_cu *cu, unsigned int addr_index) |
| static void | dwarf2_read_addr_index_reader (const struct die_reader_specs *reader, const gdb_byte *info_ptr, struct die_info *comp_unit_die, int has_children, void *data) |
| CORE_ADDR | dwarf2_read_addr_index (struct dwarf2_per_cu_data *per_cu, unsigned int addr_index) |
| static int | leb128_size (const gdb_byte *buf) |
| static struct dwarf2_section_info * | get_debug_line_section (struct dwarf2_cu *cu) |
| static void | read_formatted_entries (bfd *abfd, const gdb_byte **bufp, struct line_header *lh, const struct comp_unit_head *cu_header, void(*callback)(struct line_header *lh, const char *name, dir_index d_index, unsigned int mod_time, unsigned int length)) |
| static const char * | psymtab_include_file_name (const struct line_header *lh, int file_index, const struct partial_symtab *pst, const char *comp_dir) |
| static void | noop_record_line (struct subfile *subfile, int line, CORE_ADDR pc) |
| static int | dwarf_record_line_p (unsigned int line, unsigned int last_line, int line_has_non_zero_discriminator, struct subfile *last_subfile) |
| static void | dwarf_record_line_1 (struct gdbarch *gdbarch, struct subfile *subfile, unsigned int line, CORE_ADDR address, record_line_ftype p_record_line) |
| static void | dwarf_finish_line (struct gdbarch *gdbarch, struct subfile *subfile, CORE_ADDR address, record_line_ftype p_record_line) |
| static void | dwarf_decode_lines_1 (struct line_header *lh, struct dwarf2_cu *cu, const int decode_for_pst_p, CORE_ADDR lowpc) |
| static void | var_decode_location (struct attribute *attr, struct symbol *sym, struct dwarf2_cu *cu) |
| static gdb_byte * | dwarf2_const_value_data (const struct attribute *attr, struct obstack *obstack, struct dwarf2_cu *cu, LONGEST *value, int bits) |
| static struct type * | build_error_marker_type (struct dwarf2_cu *cu, struct die_info *die) |
| static char * | guess_full_die_structure_name (struct die_info *die, struct dwarf2_cu *cu) |
| static const char * | anonymous_struct_prefix (struct die_info *die, struct dwarf2_cu *cu) |
| static struct die_info * | follow_die_offset (sect_offset sect_off, int offset_in_dwz, struct dwarf2_cu **ref_cu) |
| struct dwarf2_locexpr_baton | dwarf2_fetch_die_loc_sect_off (sect_offset sect_off, struct dwarf2_per_cu_data *per_cu, CORE_ADDR(*get_frame_pc)(void *baton), void *baton) |
| struct dwarf2_locexpr_baton | dwarf2_fetch_die_loc_cu_off (cu_offset offset_in_cu, struct dwarf2_per_cu_data *per_cu, CORE_ADDR(*get_frame_pc)(void *baton), void *baton) |
| static const gdb_byte * | write_constant_as_bytes (struct obstack *obstack, enum bfd_endian byte_order, struct type *type, ULONGEST value, LONGEST *len) |
| const gdb_byte * | dwarf2_fetch_constant_bytes (sect_offset sect_off, struct dwarf2_per_cu_data *per_cu, struct obstack *obstack, LONGEST *len) |
| struct type * | dwarf2_fetch_die_type_sect_off (sect_offset sect_off, struct dwarf2_per_cu_data *per_cu) |
| struct type * | dwarf2_get_die_type (cu_offset die_offset, struct dwarf2_per_cu_data *per_cu) |
| static struct die_info * | follow_die_sig_1 (struct die_info *src_die, struct signatured_type *sig_type, struct dwarf2_cu **ref_cu) |
| static void | read_signatured_type_reader (const struct die_reader_specs *reader, const gdb_byte *info_ptr, struct die_info *comp_unit_die, int has_children, void *data) |
| static char * | file_file_name (int file, struct line_header *lh) |
| static struct macro_source_file * | macro_start_file (int file, int line, struct macro_source_file *current_file, struct line_header *lh) |
| static const char * | consume_improper_spaces (const char *p, const char *body) |
| static void | parse_macro_definition (struct macro_source_file *file, int line, const char *body) |
| static const gdb_byte * | skip_form_bytes (bfd *abfd, const gdb_byte *bytes, const gdb_byte *buffer_end, enum dwarf_form form, unsigned int offset_size, struct dwarf2_section_info *section) |
| static const gdb_byte * | skip_unknown_opcode (unsigned int opcode, const gdb_byte **opcode_definitions, const gdb_byte *mac_ptr, const gdb_byte *mac_end, bfd *abfd, unsigned int offset_size, struct dwarf2_section_info *section) |
| static const gdb_byte * | dwarf_parse_macro_header (const gdb_byte **opcode_definitions, bfd *abfd, const gdb_byte *mac_ptr, unsigned int *offset_size, int section_is_gnu) |
| static void | dwarf_decode_macro_bytes (bfd *abfd, const gdb_byte *mac_ptr, const gdb_byte *mac_end, struct macro_source_file *current_file, struct line_header *lh, struct dwarf2_section_info *section, int section_is_gnu, int section_is_dwz, unsigned int offset_size, htab_t include_hash) |
| static struct dwarf2_section_info * | cu_debug_loc_section (struct dwarf2_cu *cu) |
| struct objfile * | dwarf2_per_cu_objfile (struct dwarf2_per_cu_data *per_cu) |
| static const struct comp_unit_head * | per_cu_header_read_in (struct comp_unit_head *cu_headerp, struct dwarf2_per_cu_data *per_cu) |
| int | dwarf2_per_cu_addr_size (struct dwarf2_per_cu_data *per_cu) |
| int | dwarf2_per_cu_offset_size (struct dwarf2_per_cu_data *per_cu) |
| int | dwarf2_per_cu_ref_addr_size (struct dwarf2_per_cu_data *per_cu) |
| CORE_ADDR | dwarf2_per_cu_text_offset (struct dwarf2_per_cu_data *per_cu) |
| short | dwarf2_version (struct dwarf2_per_cu_data *per_cu) |
| void | dwarf2_free_objfile (struct objfile *objfile) |
| static hashval_t | per_cu_offset_and_type_hash (const void *item) |
| static int | per_cu_offset_and_type_eq (const void *item_lhs, const void *item_rhs) |
| static int | dwarf2_mark_helper (void **slot, void *data) |
| static void | set_dwarf_cmd (const char *args, int from_tty) |
| static void | show_dwarf_cmd (const char *args, int from_tty) |
| static void | dwarf2_per_objfile_free (struct objfile *objfile, void *d) |
| static void | file_write (FILE *file, const void *data, size_t size) |
| template<typename Elem , typename Alloc > | |
| static void | file_write (FILE *file, const std::vector< Elem, Alloc > &vec) |
| static symtab_index_entry & | find_slot (struct mapped_symtab *symtab, const char *name) |
| static void | hash_expand (struct mapped_symtab *symtab) |
| static void | add_index_entry (struct mapped_symtab *symtab, const char *name, int is_static, gdb_index_symbol_kind kind, offset_type cu_index) |
| static void | uniquify_cu_indices (struct mapped_symtab *symtab) |
| static void | write_hash_table (mapped_symtab *symtab, data_buf &output, data_buf &cpool) |
| static void | add_address_entry (struct objfile *objfile, data_buf &addr_vec, CORE_ADDR start, CORE_ADDR end, unsigned int cu_index) |
| static int | add_address_entry_worker (void *datap, CORE_ADDR start_addr, void *obj) |
| static void | write_address_map (struct objfile *objfile, data_buf &addr_vec, psym_index_map &cu_index_htab) |
| static gdb_index_symbol_kind | symbol_kind (struct partial_symbol *psym) |
| static void | write_psymbols (struct mapped_symtab *symtab, std::unordered_set< partial_symbol *> &psyms_seen, struct partial_symbol **psymp, int count, offset_type cu_index, int is_static) |
| static int | write_one_signatured_type (void **slot, void *d) |
| static void | recursively_count_psymbols (struct partial_symtab *psymtab, size_t &psyms_seen) |
| static void | recursively_write_psymbols (struct objfile *objfile, struct partial_symtab *psymtab, struct mapped_symtab *symtab, std::unordered_set< partial_symbol *> &psyms_seen, offset_type cu_index) |
| static bool | check_dwarf64_offsets () |
| static size_t | psyms_seen_size () |
| static size_t | write_gdbindex (struct objfile *objfile, FILE *out_file) |
| static size_t | write_debug_names (struct objfile *objfile, FILE *out_file, FILE *out_file_str) |
| static void | assert_file_size (FILE *file, const char *filename, size_t expected_size) |
| static void | write_psymtabs_to_index (struct objfile *objfile, const char *dir, dw_index_kind index_kind) |
| static void | save_gdb_index_command (const char *arg, int from_tty) |
| static void | show_dwarf_always_disassemble (struct ui_file *file, int from_tty, struct cmd_list_element *c, const char *value) |
| static void | show_check_physname (struct ui_file *file, int from_tty, struct cmd_list_element *c, const char *value) |
| void | _initialize_dwarf2_read (void) |
| #define ABBREV_HASH_SIZE 121 |
Definition at line 1494 of file dwarf2read.c.
Referenced by abbrev_table_add_abbrev(), abbrev_table_lookup_abbrev(), and abbrev_table_read_table().
| #define ATTR_ALLOC_CHUNK 4 |
Definition at line 1593 of file dwarf2read.c.
Referenced by abbrev_table_read_table().
| #define DEBUG_STR_SUFFIX ".debug_str" |
Definition at line 2370 of file dwarf2read.c.
Referenced by write_psymtabs_to_index().
| #define DW2_GDB_INDEX_CU_SET_VALUE | ( | cu_index, | |
| value | |||
| ) |
Definition at line 184 of file dwarf2read.c.
Referenced by add_index_entry().
| #define DW2_GDB_INDEX_SYMBOL_KIND_SET_VALUE | ( | cu_index, | |
| value | |||
| ) |
Definition at line 176 of file dwarf2read.c.
Referenced by add_index_entry().
| #define DW2_GDB_INDEX_SYMBOL_STATIC_SET_VALUE | ( | cu_index, | |
| value | |||
| ) |
Definition at line 169 of file dwarf2read.c.
Referenced by add_index_entry().
| #define DW_ADDR | ( | attr | ) | ((attr)->u.addr) |
Definition at line 1580 of file dwarf2read.c.
Referenced by attr_value_as_address(), dump_die_shallow(), dwarf2_const_value_attr(), dwarf2_fetch_constant_bytes(), and read_attribute_value().
| #define DW_BLOCK | ( | attr | ) | ((attr)->u.blk) |
Definition at line 1578 of file dwarf2read.c.
Referenced by attr_to_dynamic_prop(), dump_die_shallow(), dwarf2_add_member_fn(), dwarf2_const_value_attr(), dwarf2_fetch_constant_bytes(), dwarf2_fetch_die_loc_sect_off(), dwarf2_symbol_mark_computed(), handle_data_member_location(), mark_common_block_symbol_computed(), read_attribute_value(), read_call_site_scope(), read_partial_die(), and var_decode_location().
| #define DW_FIELD_ALLOC_CHUNK 4 |
Definition at line 1598 of file dwarf2read.c.
Referenced by dwarf2_add_member_fn(), and process_enumeration_scope().
| #define DW_SIGNATURE | ( | attr | ) | ((attr)->u.signature) |
Definition at line 1581 of file dwarf2read.c.
Referenced by dump_die_shallow(), follow_die_sig(), get_DW_AT_signature_type(), lookup_die_type(), and read_attribute_value().
| #define DW_SND | ( | attr | ) | ((attr)->u.snd) |
Definition at line 1579 of file dwarf2read.c.
Referenced by dump_die_shallow(), dwarf2_const_value_attr(), dwarf2_fetch_constant_bytes(), dwarf2_get_attr_constant_value(), read_array_order(), and read_attribute_value().
| #define DW_STRING | ( | attr | ) | ((attr)->u.str) |
Definition at line 1575 of file dwarf2read.c.
Referenced by anonymous_struct_prefix(), dump_die_shallow(), dwarf2_const_value_attr(), dwarf2_fetch_constant_bytes(), dwarf2_name(), dwarf2_string_attr(), read_attribute_value(), read_cutu_die_from_dwo(), and read_partial_die().
| #define DW_STRING_IS_CANONICAL | ( | attr | ) | ((attr)->string_is_canonical) |
Definition at line 1576 of file dwarf2read.c.
Referenced by anonymous_struct_prefix(), dump_die_shallow(), dwarf2_name(), read_attribute_value(), and read_cutu_die_from_dwo().
| #define DW_UNSND | ( | attr | ) | ((attr)->u.unsnd) |
Definition at line 1577 of file dwarf2read.c.
Referenced by attr_value_as_address(), create_dwo_cu_reader(), dump_die_shallow(), dw2_get_file_names_reader(), dwarf2_add_field(), dwarf2_add_member_fn(), dwarf2_add_type_defn(), dwarf2_build_include_psymtabs(), dwarf2_const_value_attr(), dwarf2_const_value_data(), dwarf2_fetch_constant_bytes(), dwarf2_flag_true_p(), dwarf2_get_attr_constant_value(), dwarf2_get_pc_bounds(), dwarf2_get_ref_die_offset(), dwarf2_record_block_ranges(), dwarf2_symbol_mark_computed(), fill_in_loclist_baton(), get_type_unit_group(), handle_DW_AT_stmt_list(), lookup_dwo_unit(), new_symbol_full(), prepare_one_comp_unit(), prototyped_function_p(), read_array_type(), read_attribute_value(), read_base_type(), read_cutu_die_from_dwo(), read_enumeration_type(), read_file_scope(), read_func_scope(), read_partial_die(), read_set_type(), read_structure_type(), read_subrange_type(), read_subroutine_type(), read_tag_pointer_type(), read_tag_reference_type(), read_tag_string_type(), and setup_type_unit_groups().
| #define INDEX4_SUFFIX ".gdb-index" |
Definition at line 2368 of file dwarf2read.c.
Referenced by write_psymtabs_to_index().
| #define INDEX5_SUFFIX ".debug_names" |
Definition at line 2369 of file dwarf2read.c.
Referenced by write_psymtabs_to_index().
| #define IS_TYPE_UNIT_GROUP | ( | per_cu | ) | ((per_cu)->section == NULL) |
Definition at line 940 of file dwarf2read.c.
Referenced by build_type_psymtab_dependencies(), dw2_do_instantiate_symtab(), dw2_get_file_names(), and load_full_type_unit().
| #define MAX_NESTED_IMPORTED_DECLARATIONS 100 |
Referenced by read_namespace_alias().
| #define MAX_NR_V1_DWO_SECTIONS |
Referenced by create_dwo_unit_in_dwp_v1().
| #define MAX_NR_V2_DWO_SECTIONS |
Definition at line 1153 of file dwarf2read.c.
Referenced by create_dwp_hash_table().
| #define MAX_SEP_LEN 7 /* strlen ("__") + strlen ("_MOD_") */ |
Definition at line 22298 of file dwarf2read.c.
Referenced by typename_concat().
| #define MAYBE_SWAP | ( | V | ) | static_cast<offset_type> (V) |
Definition at line 209 of file dwarf2read.c.
Referenced by add_address_entry(), dw2_expand_marked_cus(), dw2_symtab_iter_init(), dw2_symtab_iter_next(), find_slot_in_mapped_hash(), read_index_from_section(), mapped_index::symbol_name_at(), write_gdbindex(), and write_hash_table().
| #define NO_STMT_LIST_TYPE_UNIT_PSYMTAB (1 << 31) |
Definition at line 8085 of file dwarf2read.c.
Referenced by create_type_unit_group(), and get_type_unit_group().
| #define NO_STMT_LIST_TYPE_UNIT_PSYMTAB_SIZE 10 |
Definition at line 8086 of file dwarf2read.c.
Referenced by get_type_unit_group().
| #define X | ( | n | ) |
Referenced by debug_names::symbol_value::operator<().
| typedef struct delayed_method_info delayed_method_info |
Definition at line 636 of file dwarf2read.c.
| typedef void() die_reader_func_ftype(const struct die_reader_specs *reader, const gdb_byte *info_ptr, struct die_info *comp_unit_die, int has_children, void *data) |
Definition at line 1247 of file dwarf2read.c.
| typedef struct dwarf2_per_cu_data* dwarf2_per_cu_ptr |
Definition at line 366 of file dwarf2read.c.
| typedef struct dwarf2_section_info dwarf2_section_info_def |
Definition at line 159 of file dwarf2read.c.
| typedef std::unique_ptr<line_header> line_header_up |
Definition at line 1379 of file dwarf2read.c.
| typedef uint32_t offset_type |
Definition at line 164 of file dwarf2read.c.
| typedef std::unordered_map<partial_symtab *, unsigned int> psym_index_map |
Definition at line 25785 of file dwarf2read.c.
| typedef struct signatured_type* sig_type_ptr |
Definition at line 915 of file dwarf2read.c.
Definition at line 90 of file dwarf2read.c.
|
strong |
Definition at line 1256 of file dwarf2read.c.
| enum dwp_v2_section_ids |
| Enumerator | |
|---|---|
| DW_SECT_MIN | |
Definition at line 1015 of file dwarf2read.c.
|
strong |
Definition at line 1259 of file dwarf2read.c.
| enum pc_bounds_kind |
| Enumerator | |
|---|---|
| PC_BOUNDS_NOT_PRESENT | |
| PC_BOUNDS_INVALID | |
| PC_BOUNDS_RANGES | |
| PC_BOUNDS_HIGH_LOW | |
Definition at line 1924 of file dwarf2read.c.
|
strong |
| Enumerator | |
|---|---|
| COMPILE | |
| TYPE | |
Definition at line 2196 of file dwarf2read.c.
| void _initialize_dwarf2_read | ( | void | ) |
Definition at line 27067 of file dwarf2read.c.
References _, add_cmd(), add_prefix_cmd(), add_setshow_boolean_cmd(), add_setshow_zinteger_cmd(), add_setshow_zuinteger_cmd(), check_physname, class_files, class_maintenance, class_obscure, dwarf2_block_frame_base_locexpr_funcs, dwarf2_block_frame_base_loclist_funcs, dwarf2_locexpr_block_index, dwarf2_locexpr_funcs, dwarf2_locexpr_index, dwarf2_loclist_block_index, dwarf2_loclist_funcs, dwarf2_loclist_index, dwarf2_objfile_data_key, dwarf2_per_objfile_free(), dwarf_always_disassemble, dwarf_die_debug, dwarf_line_debug, dwarf_max_cache_age, dwarf_read_debug, filename_completer(), LOC_BLOCK, LOC_COMPUTED, maintenance_set_cmdlist, maintenance_show_cmdlist, no_class, register_symbol_block_impl(), register_symbol_computed_impl(), selftests::register_test(), save_cmdlist, save_gdb_index_command(), set_cmd_completer(), set_dwarf_cmd(), set_dwarf_cmdlist, setdebuglist, setlist, show_check_physname(), show_dwarf_always_disassemble(), show_dwarf_cmd(), show_dwarf_cmdlist, show_dwarf_max_cache_age(), showdebuglist, showlist, and use_deprecated_index_sections.
|
static |
Definition at line 17930 of file dwarf2read.c.
References ABBREV_HASH_SIZE, abbrev_table::abbrevs, and abbrev_info::next.
Referenced by abbrev_table_read_table().
|
static |
Definition at line 17917 of file dwarf2read.c.
References abbrev_table::abbrev_obstack, and memset().
Referenced by abbrev_table_read_table().
|
static |
Definition at line 18078 of file dwarf2read.c.
References abbrev_table::abbrev_obstack, and xfree().
Referenced by abbrev_table_free_cleanup(), build_type_psymtabs_1(), and dwarf2_free_abbrev_table().
|
static |
Definition at line 18090 of file dwarf2read.c.
References abbrev_table_free().
Referenced by build_type_psymtabs_1().
|
static |
Definition at line 17945 of file dwarf2read.c.
References ABBREV_HASH_SIZE, abbrev_table::abbrevs, abbrev_info::next, and abbrev_info::number.
Referenced by abbrev_table_read_table(), peek_die_abbrev(), and read_full_die_1().
|
static |
Definition at line 17966 of file dwarf2read.c.
References ABBREV_HASH_SIZE, abbrev_table::abbrev_obstack, abbrev_table_add_abbrev(), abbrev_table_alloc_abbrev(), abbrev_table_lookup_abbrev(), abbrev_table::abbrevs, ATTR_ALLOC_CHUNK, abbrev_info::attrs, dwarf2_section_info::buffer, dwarf2_read_section(), attr_abbrev::form, get_section_bfd_owner(), abbrev_info::has_children, attr_abbrev::implicit_const, memset(), attr_abbrev::name, abbrev_info::num_attrs, abbrev_info::number, read_1_byte(), read_signed_leb128(), read_unsigned_leb128(), abbrev_table::sect_off, dwarf2_section_info::size, abbrev_info::tag, to_underlying(), xfree(), XNEW, XNEWVEC, and XRESIZEVEC.
Referenced by build_type_psymtabs_1(), and dwarf2_read_abbrevs().
|
static |
Definition at line 25811 of file dwarf2read.c.
References ANOFFSET, data_buf::append_data(), data_buf::append_uint(), MAYBE_SWAP, SECT_OFF_TEXT, and objfile::section_offsets.
Referenced by add_address_entry_worker(), and write_address_map().
|
static |
Definition at line 25826 of file dwarf2read.c.
References add_address_entry(), addrmap_index_data::addr_vec, addrmap_index_data::cu_index_htab, gdb_assert, addrmap_index_data::objfile, addrmap_index_data::previous_cu_index, addrmap_index_data::previous_cu_start, and addrmap_index_data::previous_valid.
Referenced by write_address_map().
|
static |
Definition at line 16964 of file dwarf2read.c.
References copy_type(), make_cv_type(), set_die_type(), TYPE_CODE, TYPE_CODE_ARRAY, TYPE_CONST, TYPE_TARGET_TYPE, and TYPE_VOLATILE.
Referenced by read_tag_const_type(), and read_tag_volatile_type().
|
static |
Definition at line 25617 of file dwarf2read.c.
References symtab_index_entry::cu_indices, DW2_GDB_INDEX_CU_SET_VALUE, DW2_GDB_INDEX_SYMBOL_KIND_SET_VALUE, DW2_GDB_INDEX_SYMBOL_STATIC_SET_VALUE, find_slot(), hash_expand(), name, and symtab_index_entry::name.
Referenced by write_psymbols().
|
static |
Definition at line 9471 of file dwarf2read.c.
References _, add_partial_symbol(), complaint, partial_die_info::die_child, partial_die_info::die_sibling, partial_die_info::name, symfile_complaints, and partial_die_info::tag.
Referenced by scan_partial_symbols().
|
static |
Definition at line 9383 of file dwarf2read.c.
References add_partial_symbol(), partial_die_info::die_child, partial_die_info::has_children, and scan_partial_symbols().
Referenced by scan_partial_symbols().
|
static |
Definition at line 9366 of file dwarf2read.c.
References add_partial_symbol(), partial_die_info::die_child, partial_die_info::has_children, and scan_partial_symbols().
Referenced by scan_partial_symbols().
|
static |
Definition at line 9409 of file dwarf2read.c.
References add_partial_symbol(), addrmap_set_empty(), ANOFFSET, partial_die_info::die_child, partial_die_info::die_sibling, fixup_partial_die(), gdbarch_adjust_dwarf2_addr(), get_objfile_arch(), partial_die_info::has_children, partial_die_info::has_pc_info, partial_die_info::highpc, partial_die_info::is_declaration, partial_die_info::is_external, dwarf2_cu::language, language_ada, partial_die_info::lowpc, partial_die_info::may_be_inlined, partial_die_info::name, dwarf2_cu::objfile, dwarf2_cu::per_cu, dwarf2_per_cu_data::psymtab, objfile::psymtabs_addrmap, SECT_OFF_TEXT, objfile::section_offsets, partial_die_info::tag, and dwarf2_per_cu_data::v.
Referenced by scan_partial_symbols().
|
static |
Definition at line 9179 of file dwarf2read.c.
References add_psymbol_to_list(), ANOFFSET, partial_die_info::d, decode_locdesc(), gdbarch_adjust_dwarf2_addr(), get_objfile_arch(), objfile::global_psymbols, partial_die_info::has_byte_size, partial_die_info::has_const_value, dwarf2_per_objfile::has_section_at_zero, partial_die_info::has_type, partial_die_info::is_declaration, partial_die_info::is_external, dwarf2_cu::language, language_ada, language_cplus, LOC_BLOCK, LOC_CONST, LOC_STATIC, LOC_TYPEDEF, partial_die_info::locdesc, partial_die_info::lowpc, partial_die_info::main_subprogram, MODULE_DOMAIN, partial_die_info::name, dwarf2_cu::objfile, partial_die_full_name(), SECT_OFF_TEXT, objfile::section_offsets, set_objfile_main_name(), objfile::static_psymbols, STRUCT_DOMAIN, partial_die_info::tag, VAR_DOMAIN, and xfree().
Referenced by add_partial_enumeration(), add_partial_module(), add_partial_namespace(), add_partial_subprogram(), and scan_partial_symbols().
|
static |
Definition at line 6883 of file dwarf2read.c.
Referenced by create_all_type_units().
|
static |
Definition at line 10056 of file dwarf2read.c.
References delayed_method_info::die, delayed_method_info::fnfield_index, delayed_method_info::index, name, delayed_method_info::name, type, delayed_method_info::type, and VEC_safe_push.
Referenced by dwarf2_add_member_fn().
|
static |
Definition at line 7107 of file dwarf2read.c.
References gdb_assert, dwarf2_per_cu_data::is_debug_types, OBSTACK_ZALLOC, signatured_type::per_cu, dwarf2_per_cu_data::quick, signatured_type::signature, dwarf2_per_objfile::signatured_types, dwarf2_per_objfile::using_index, dwarf2_per_cu_data::v, and XRESIZEVEC.
Referenced by lookup_dwo_signatured_type(), lookup_dwp_signatured_type(), and process_skeletonless_type_unit().
|
static |
Definition at line 25047 of file dwarf2read.c.
References dwarf2_per_cu_data::cu, dwarf2_clear_marks(), dwarf2_mark(), dwarf_max_cache_age, free_heap_comp_unit(), dwarf2_cu::last_used, dwarf2_per_objfile::read_in_chain, and dwarf2_cu::read_in_chain.
Referenced by dw2_do_instantiate_symtab(), dwarf2_fetch_die_loc_sect_off(), and process_psymtab_comp_unit().
|
static |
Definition at line 11802 of file dwarf2read.c.
References dummy_obstack_deallocate(), eq_dwo_file(), hash_dwo_file(), and hashtab_obstack_allocate().
Referenced by lookup_dwo_file_slot().
|
static |
Definition at line 11860 of file dwarf2read.c.
References dummy_obstack_deallocate(), eq_dwo_unit(), hash_dwo_unit(), and hashtab_obstack_allocate().
Referenced by create_cus_hash_table(), and create_debug_type_hash_table().
|
static |
Definition at line 13114 of file dwarf2read.c.
References dummy_obstack_deallocate(), eq_dwp_loaded_cutus(), hash_dwp_loaded_cutus(), and hashtab_obstack_allocate().
Referenced by open_and_init_dwp_file().
|
static |
Definition at line 6869 of file dwarf2read.c.
References dummy_obstack_deallocate(), eq_signatured_type(), hash_signatured_type(), and hashtab_obstack_allocate().
Referenced by create_debug_type_hash_table(), create_signatured_type_table_from_debug_names(), create_signatured_type_table_from_index(), lookup_dwo_signatured_type(), lookup_dwp_signatured_type(), and process_skeletonless_type_unit().
|
static |
Definition at line 8071 of file dwarf2read.c.
References dummy_obstack_deallocate(), eq_type_unit_group(), hash_type_unit_group(), and hashtab_obstack_allocate().
Referenced by get_type_unit_group().
Definition at line 22102 of file dwarf2read.c.
References dw2_linkage_name_attr(), DW_STRING, DW_STRING_IS_CANONICAL, dwarf2_string_attr(), gdb_assert, dwarf2_cu::objfile, objfile::per_bfd, objfile_per_bfd_storage::storage_obstack, and die_info::tag.
Referenced by determine_prefix().
|
static |
Definition at line 26914 of file dwarf2read.c.
References _, error(), partial_symtab::filename, and gdb_assert.
Referenced by write_psymtabs_to_index().
|
static |
Definition at line 24630 of file dwarf2read.c.
References attribute::form.
Referenced by attr_to_dynamic_prop(), dwarf2_add_member_fn(), dwarf2_fetch_die_loc_sect_off(), dwarf2_symbol_mark_computed(), handle_data_member_location(), mark_common_block_symbol_computed(), read_call_site_scope(), read_common_block(), read_partial_die(), set_die_type(), and var_decode_location().
|
static |
Definition at line 24674 of file dwarf2read.c.
References attribute::form.
Referenced by attr_to_dynamic_prop(), dwarf2_get_pc_bounds(), dwarf2_record_block_ranges(), handle_data_member_location(), mark_common_block_symbol_computed(), read_common_block(), read_partial_die(), and read_structure_type().
|
static |
Definition at line 24696 of file dwarf2read.c.
References attribute::form.
Referenced by attr_to_dynamic_prop(), dwarf2_get_ref_die_offset(), follow_die_ref_or_sig(), get_DW_AT_signature_type(), lookup_die_type(), read_attribute_value(), read_call_site_scope(), and rust_containing_type().
|
static |
Definition at line 24650 of file dwarf2read.c.
References attribute::form.
Referenced by attr_to_dynamic_prop(), dwarf2_add_member_fn(), dwarf2_fetch_die_loc_sect_off(), dwarf2_symbol_mark_computed(), handle_data_member_location(), read_common_block(), and read_partial_die().
|
static |
Definition at line 17448 of file dwarf2read.c.
References attr_form_is_block(), attr_form_is_constant(), attr_form_is_ref(), attr_form_is_section_offset(), dynamic_prop_data::baton, dynamic_prop_data::const_val, dwarf2_locexpr_baton::data, dynamic_prop::data, die_type(), DW_BLOCK, dwarf2_attr(), dwarf2_get_attr_constant_value(), dwarf2_invalid_attrib_class_complaint(), dwarf2_name(), dwarf_form_name(), fill_in_loclist_baton(), follow_die_ref(), attribute::form, gdb_assert, handle_data_member_location(), dynamic_prop::kind, dwarf2_property_baton::locexpr, dwarf2_property_baton::loclist, attribute::name, dwarf2_cu::objfile, offset, dwarf2_offset_baton::offset, dwarf2_property_baton::offset_info, die_info::parent, dwarf2_locexpr_baton::per_cu, dwarf2_cu::per_cu, PROP_ADDR_OFFSET, PROP_CONST, PROP_LOCEXPR, PROP_LOCLIST, read_type_die(), dwarf2_property_baton::referenced_type, dwarf2_locexpr_baton::size, and dwarf2_offset_baton::type.
Referenced by read_array_type(), read_func_scope(), read_subrange_type(), and set_die_type().
Definition at line 2341 of file dwarf2read.c.
References DW_ADDR, DW_UNSND, and attribute::form.
Referenced by dwarf2_find_base_address(), dwarf2_get_pc_bounds(), dwarf2_record_block_ranges(), new_symbol_full(), read_call_site_scope(), and read_partial_die().
Definition at line 21835 of file dwarf2read.c.
References _, dwarf2_cu::header, init_type(), objfile_name(), comp_unit_head::sect_off, die_info::sect_off, to_underlying(), TYPE_CODE_ERROR, xfree(), and xstrprintf().
Referenced by get_DW_AT_signature_type(), get_signatured_type(), and lookup_die_type().
|
static |
Definition at line 8595 of file dwarf2read.c.
References partial_symtab::dependencies, gdb_assert, dwarf2_per_cu_data::is_debug_types, IS_TYPE_UNIT_GROUP, partial_symtab::number_of_dependencies, signatured_type::per_cu, type_unit_group::per_cu, dwarf2_per_cu_data::psymtab, signatured_type::type_unit_group, dwarf2_per_cu_data::v, VEC_free, VEC_iterate, and VEC_length.
Referenced by dwarf2_build_psymtabs_hard().
|
static |
Definition at line 8629 of file dwarf2read.c.
References build_type_psymtabs_1(), and create_all_type_units().
Referenced by dwarf2_build_psymtabs_hard().
|
static |
Definition at line 8483 of file dwarf2read.c.
References dwarf2_per_objfile::abbrev, tu_abbrev_offset::abbrev_offset, abbrev_table_free(), abbrev_table_free_cleanup(), abbrev_table_read_table(), build_type_psymtabs_reader(), do_cleanups(), dwarf_read_debug, fprintf_unfiltered(), gdb_assert, gdb_stdlog, init_cutu_and_read_dies(), make_cleanup(), tu_stats::nr_uniq_abbrev_tables, signatured_type::per_cu, qsort, read_abbrev_offset(), dwarf2_per_cu_data::sect_off, dwarf2_per_cu_data::section, tu_abbrev_offset::sig_type, sort_tu_by_abbrev_offset(), xfree(), and XNEWVEC.
Referenced by build_type_psymtabs().
|
static |
Definition at line 8399 of file dwarf2read.c.
References partial_symtab::anonymous, create_partial_symtab(), dwarf2_per_cu_data::cu, die_reader_specs::cu, dwarf2_attr_no_follow(), end_psymtab_common(), file_symbols, gdb_assert, get_type_unit_group(), partial_die_info::highpc, dwarf2_per_cu_data::is_debug_types, language_minimal, dwarf2_cu::list_in_scope, load_partial_dies(), partial_die_info::lowpc, dwarf2_cu::per_cu, signatured_type::per_cu, prepare_one_comp_unit(), scan_partial_symbols(), and VEC_safe_push.
Referenced by build_type_psymtabs_1(), process_psymtab_comp_unit(), and process_skeletonless_type_unit().
|
static |
Definition at line 26632 of file dwarf2read.c.
References signatured_type::per_cu, dwarf2_per_cu_data::sect_off, and to_underlying().
Referenced by write_debug_names().
|
static |
Definition at line 10088 of file dwarf2read.c.
References startswith().
Referenced by compute_delayed_physnames().
|
static |
Definition at line 14887 of file dwarf2read.c.
References dwarf2_cu::producer, producer_is_gcc(), and producer_is_icc().
Referenced by producer_is_gcc_lt_4_3(), producer_is_gxx_lt_4_6(), and producer_is_icc_lt_14().
|
static |
Definition at line 10296 of file dwarf2read.c.
References gdb_assert, get_compunit_symtab(), compunit_symtab::includes, dwarf2_per_cu_data::is_debug_types, recursively_compute_inclusions(), VEC, VEC_empty, VEC_free, VEC_iterate, VEC_length, xcalloc(), and xfree().
Referenced by process_cu_includes().
|
static |
Definition at line 10106 of file dwarf2read.c.
References check_modifier(), delayed_method_info::die, dwarf2_physname(), fn_fieldlist::fn_fields, delayed_method_info::fnfield_index, gdb_assert, delayed_method_info::index, dwarf2_cu::language, language_cplus, delayed_method_info::name, delayed_method_info::type, TYPE_FN_FIELD_CONST, TYPE_FN_FIELD_PHYSNAME, TYPE_FN_FIELD_VOLATILE, TYPE_FN_FIELDLIST, VEC_empty, and VEC_iterate.
Referenced by process_full_comp_unit(), and process_full_type_unit().
|
static |
Definition at line 23807 of file dwarf2read.c.
References _, complaint, and symfile_complaints.
Referenced by parse_macro_definition().
|
static |
Definition at line 3420 of file dwarf2read.c.
References _, addrmap_create_fixed(), addrmap_create_mutable(), addrmap_set_empty(), ANOFFSET, dwarf2_section_info::buffer, dw2_get_cutu(), dwarf2_read_section(), extract_unsigned_integer(), gdbarch_adjust_dwarf2_addr(), gdbarch_byte_order(), get_objfile_arch(), dwarf2_per_objfile::has_section_at_zero, objfile::obfd, objfile_name(), plongest(), objfile::psymtabs_addrmap, pulongest(), read_2_bytes(), read_initial_length(), dwarf2_per_cu_data::sect_off, SECT_OFF_TEXT, objfile::section_offsets, dwarf2_section_info::size, to_underlying(), version, and warning().
Referenced by dwarf2_read_debug_names().
|
static |
Definition at line 3365 of file dwarf2read.c.
References _, mapped_index::address_table, addrmap_create_fixed(), addrmap_create_mutable(), addrmap_set_empty(), ANOFFSET, complaint, gdb::array_view< T >::data(), dw2_get_cutu(), extract_unsigned_integer(), gdbarch_adjust_dwarf2_addr(), get_objfile_arch(), hex_string(), objfile::psymtabs_addrmap, SECT_OFF_TEXT, objfile::section_offsets, gdb::array_view< T >::size(), and symfile_complaints.
Referenced by dwarf2_read_index().
|
static |
Definition at line 8903 of file dwarf2read.c.
References dwarf2_per_objfile::abbrev, dwz_file::abbrev, dwarf2_get_dwz_file(), dwarf2_per_objfile::info, dwz_file::info, read_comp_units_from_section(), xfree(), and XNEWVEC.
Referenced by dwarf2_build_psymtabs_hard(), and dwarf2_initialize_objfile().
|
static |
Definition at line 7073 of file dwarf2read.c.
References add_signatured_type_cu_to_table(), COMPILE, create_debug_type_hash_table(), create_debug_types_hash_table(), gdb_assert, dwarf2_per_objfile::info, dwarf2_per_objfile::signatured_types, and XNEWVEC.
Referenced by build_type_psymtabs(), and dwarf2_initialize_objfile().
|
static |
Definition at line 3176 of file dwarf2read.c.
References dwarf2_per_cu_data::is_dwz, dwarf2_per_cu_data::length, dwarf2_per_cu_data::objfile, OBSTACK_ZALLOC, dwarf2_per_cu_data::quick, dwarf2_per_cu_data::sect_off, dwarf2_per_cu_data::section, and dwarf2_per_cu_data::v.
Referenced by create_cus_from_debug_names_list(), and create_cus_from_index_list().
|
static |
Definition at line 5862 of file dwarf2read.c.
References create_cus_from_debug_names_list(), mapped_debug_names::cu_count, dwarf2_get_dwz_file(), dwarf2_per_objfile::info, and dwz_file::info.
Referenced by dwarf2_read_debug_names().
|
static |
Definition at line 5828 of file dwarf2read.c.
References 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(), if(), mapped_debug_names::offset_size, and dwarf2_section_info::size.
Referenced by create_cus_from_debug_names().
|
static |
Definition at line 3224 of file dwarf2read.c.
References create_cus_from_index_list(), dwarf2_get_dwz_file(), dwarf2_per_objfile::info, and dwz_file::info.
Referenced by dwarf2_read_index().
|
static |
Definition at line 3198 of file dwarf2read.c.
References create_cu_from_index_list(), extract_unsigned_integer(), gdb_static_assert, dwarf2_per_cu_data::is_dwz, dwarf2_per_cu_data::length, dwarf2_per_cu_data::sect_off, and dwarf2_per_cu_data::section.
Referenced by create_cus_from_index().
|
static |
Definition at line 11924 of file dwarf2read.c.
References _, allocate_dwo_unit_table(), dwarf2_section_info::buffer, complaint, create_dwo_cu_reader(), dwarf2_read_section(), dwarf_read_debug, dwo_unit::dwo_file, create_dwo_cu_data::dwo_file, create_dwo_cu_data::dwo_unit, fprintf_unfiltered(), gdb_assert, gdb_stdlog, get_section_file_name(), get_section_name(), hex_string(), init_cutu_and_read_dies_no_follow(), dwarf2_per_cu_data::is_debug_types, dwarf2_per_cu_data::length, memset(), dwarf2_per_cu_data::objfile, OBSTACK_ZALLOC, dwarf2_per_cu_data::sect_off, dwo_unit::sect_off, dwarf2_per_cu_data::section, dwo_unit::section, dwo_unit::signature, dwarf2_section_info::size, symfile_complaints, and to_underlying().
Referenced by open_and_init_dwo_file().
|
static |
Definition at line 6899 of file dwarf2read.c.
References _, dwarf2_per_objfile::abbrev, dwo_sections::abbrev, allocate_dwo_unit_table(), allocate_signatured_type_table(), dwarf2_section_info::buffer, complaint, dwarf2_read_section(), dwarf_read_debug, dwo_unit::dwo_file, fprintf_unfiltered(), gdb_assert, gdb_stdlog, get_cu_length(), get_section_bfd_owner(), get_section_file_name(), get_section_name(), hex_string(), dwarf2_per_cu_data::is_debug_types, comp_unit_head::length, dwarf2_per_cu_data::length, dwo_unit::length, dwarf2_per_cu_data::objfile, OBSTACK_ZALLOC, peek_abbrev_code(), signatured_type::per_cu, read_and_check_comp_unit_head(), comp_unit_head::sect_off, dwarf2_per_cu_data::sect_off, dwo_unit::sect_off, dwarf2_section_info::section, dwarf2_per_cu_data::section, dwo_unit::section, dwo_file::sections, comp_unit_head::signature, signatured_type::signature, dwo_unit::signature, symfile_complaints, to_underlying(), comp_unit_head::type_cu_offset_in_tu, signatured_type::type_offset_in_tu, dwo_unit::type_offset_in_tu, and comp_unit_head::unit_type.
Referenced by create_all_type_units(), and create_debug_types_hash_table().
|
static |
Definition at line 7050 of file dwarf2read.c.
References create_debug_type_hash_table(), dwarf2_section_info::section, TYPE, VEC_empty, and VEC_iterate.
Referenced by create_all_type_units(), and open_and_init_dwo_file().
|
static |
Definition at line 11884 of file dwarf2read.c.
References _, complaint, die_reader_specs::cu, DW_UNSND, dwarf2_attr(), dwarf_read_debug, dwo_unit::dwo_file, create_dwo_cu_data::dwo_file, dwo_file::dwo_name, create_dwo_cu_data::dwo_unit, fprintf_unfiltered(), gdb_stdlog, hex_string(), dwarf2_per_cu_data::length, dwo_unit::length, dwarf2_cu::per_cu, dwarf2_per_cu_data::sect_off, dwo_unit::sect_off, dwarf2_section_info::section, dwarf2_per_cu_data::section, dwo_unit::section, dwo_unit::signature, symfile_complaints, and to_underlying().
Referenced by create_cus_hash_table().
|
static |
Definition at line 12366 of file dwarf2read.c.
References _, dwo_sections::abbrev, virtual_v1_dwo_sections::abbrev, dwo_file::comp_dir, dwp_file::cus, dwp_file::dbfd, dwarf2_section_empty_p(), dwarf_read_debug, dwo_unit::dwo_file, dwo_file::dwo_name, dwp_file::elf_sections, error(), fprintf_unfiltered(), gdb_assert, gdb_stdlog, get_section_id(), hex_string(), virtual_v1_dwo_sections::info_or_types, dwo_sections::line, virtual_v1_dwo_sections::line, dwo_sections::loc, virtual_v1_dwo_sections::loc, locate_v1_virtual_dwo_sections(), lookup_dwo_file_slot(), dwo_sections::macinfo, virtual_v1_dwo_sections::macinfo, dwo_sections::macro, virtual_v1_dwo_sections::macro, MAX_NR_V1_DWO_SECTIONS, memset(), dwp_file::name, dwp_file::num_sections, OBSTACK_ZALLOC, pulongest(), read_4_bytes(), dwo_unit::section, dwp_hash_table::section_pool, dwo_file::sections, dwp_file::sections, dwo_unit::signature, dwo_sections::str, dwp_sections::str, dwo_sections::str_offsets, virtual_v1_dwo_sections::str_offsets, string, string_printf(), dwp_file::tus, dwp_hash_table::v1, and dwp_file::version.
Referenced by lookup_dwo_unit_in_dwp().
|
static |
Definition at line 12564 of file dwarf2read.c.
References dwo_sections::abbrev, dwp_sections::abbrev, virtual_v2_dwo_sections::abbrev_offset, virtual_v2_dwo_sections::abbrev_size, dwo_file::comp_dir, create_dwp_v2_section(), dwp_file::cus, dwp_file::dbfd, dwarf_read_debug, dwo_unit::dwo_file, dwo_file::dwo_name, fprintf_unfiltered(), gdb_assert, gdb_stdlog, hex_string(), dwp_sections::info, virtual_v2_dwo_sections::info_or_types_offset, virtual_v2_dwo_sections::info_or_types_size, dwo_sections::line, dwp_sections::line, virtual_v2_dwo_sections::line_offset, virtual_v2_dwo_sections::line_size, dwo_sections::loc, dwp_sections::loc, virtual_v2_dwo_sections::loc_offset, virtual_v2_dwo_sections::loc_size, lookup_dwo_file_slot(), dwo_sections::macinfo, dwp_sections::macinfo, virtual_v2_dwo_sections::macinfo_offset, virtual_v2_dwo_sections::macinfo_size, dwo_sections::macro, dwp_sections::macro, virtual_v2_dwo_sections::macro_offset, virtual_v2_dwo_sections::macro_size, memset(), dwp_file::name, dwp_hash_table::nr_columns, OBSTACK_ZALLOC, offset, pulongest(), read_4_bytes(), dwo_unit::section, dwp_hash_table::section_pool, dwo_file::sections, dwp_file::sections, dwo_unit::signature, size, dwo_sections::str, dwp_sections::str, dwo_sections::str_offsets, dwp_sections::str_offsets, virtual_v2_dwo_sections::str_offsets_offset, virtual_v2_dwo_sections::str_offsets_size, string, string_printf(), dwp_file::tus, dwp_sections::types, dwp_hash_table::v2, and dwp_file::version.
Referenced by lookup_dwo_unit_in_dwp().
|
static |
Definition at line 12129 of file dwarf2read.c.
References _, dwarf2_section_info::buffer, complaint, dwp_sections::cu_index, dwp_file::dbfd, dwarf2_read_section(), dwarf2_section_empty_p(), error(), dwp_hash_table::hash_table, MAX_NR_V2_DWO_SECTIONS, memset(), dwp_file::name, dwp_hash_table::nr_columns, dwp_hash_table::nr_slots, dwp_hash_table::nr_units, OBSTACK_ZALLOC, pulongest(), read_4_bytes(), dwp_hash_table::section_pool, dwp_file::sections, dwarf2_section_info::size, symfile_complaints, dwp_sections::tu_index, dwp_hash_table::unit_table, dwp_hash_table::v1, dwp_hash_table::v2, version, and dwp_hash_table::version.
Referenced by open_and_init_dwp_file().
|
static |
Definition at line 12523 of file dwarf2read.c.
References _, dwarf2_section_info::containing_section, error(), gdb_assert, get_section_bfd_section(), dwarf2_section_info::is_virtual, memset(), objfile_name(), offset, dwarf2_section_info::s, dwarf2_section_info::section, dwarf2_section_info::size, size, and dwarf2_section_info::virtual_offset.
Referenced by create_dwo_unit_in_dwp_v2().
|
static |
Definition at line 8199 of file dwarf2read.c.
References dwarf2_read_symtab(), objfile::global_psymbols, name, dwarf2_per_cu_data::objfile, dwarf2_per_cu_data::psymtab, partial_symtab::psymtabs_addrmap_supported, partial_symtab::read_symtab, partial_symtab::read_symtab_private, start_psymtab_common(), objfile::static_psymbols, and dwarf2_per_cu_data::v.
Referenced by build_type_psymtabs_reader(), create_type_unit_group(), and process_psymtab_comp_unit_reader().
|
static |
Definition at line 3045 of file dwarf2read.c.
References delete_file_name_entry(), eq_file_name_entry(), hash_file_name_entry(), xcalloc(), and xfree().
Referenced by dwarf2_initialize_objfile(), dwarf2_read_debug_names(), and dwarf2_read_index().
|
static |
Definition at line 3306 of file dwarf2read.c.
References allocate_signatured_type_table(), dwarf2_section_info::buffer, dwarf2_read_section(), mapped_debug_names::dwarf5_byte_order, extract_unsigned_integer(), dwarf2_per_cu_data::is_debug_types, dwarf2_per_cu_data::objfile, OBSTACK_ZALLOC, mapped_debug_names::offset_size, signatured_type::per_cu, dwarf2_per_cu_data::quick, read_and_check_comp_unit_head(), dwarf2_per_cu_data::sect_off, dwarf2_per_cu_data::section, comp_unit_head::signature, signatured_type::signature, dwarf2_per_objfile::signatured_types, to_underlying(), mapped_debug_names::tu_count, mapped_debug_names::tu_table_reordered, TYPE, comp_unit_head::type_cu_offset_in_tu, signatured_type::type_offset_in_tu, dwarf2_per_cu_data::v, and XNEWVEC.
Referenced by dwarf2_read_debug_names().
|
static |
Definition at line 3249 of file dwarf2read.c.
References allocate_signatured_type_table(), extract_unsigned_integer(), gdb_static_assert, dwarf2_per_cu_data::is_debug_types, dwarf2_per_cu_data::objfile, OBSTACK_ZALLOC, signatured_type::per_cu, dwarf2_per_cu_data::quick, dwarf2_per_cu_data::sect_off, dwarf2_per_cu_data::section, signatured_type::signature, dwarf2_per_objfile::signatured_types, signatured_type::type_offset_in_tu, dwarf2_per_cu_data::v, and XNEWVEC.
Referenced by dwarf2_read_index().
|
static |
Definition at line 8092 of file dwarf2read.c.
References partial_symtab::anonymous, create_partial_symtab(), name, NO_STMT_LIST_TYPE_UNIT_PSYMTAB, dwarf2_per_cu_data::objfile, OBSTACK_ZALLOC, type_unit_group::per_cu, dwarf2_per_cu_data::quick, to_underlying(), dwarf2_per_objfile::using_index, dwarf2_per_cu_data::v, xfree(), and xstrprintf().
Referenced by get_type_unit_group().
|
static |
Definition at line 24717 of file dwarf2read.c.
References dwarf2_cu::header, dwarf2_per_objfile::loc, dwo_sections::loc, dwarf2_per_objfile::loclists, dwo_sections::loclists, and comp_unit_head::version.
Referenced by dwarf2_symbol_mark_computed(), and fill_in_loclist_baton().
|
static |
Definition at line 23450 of file dwarf2read.c.
References _, complaint, dwarf_block::data, dwarf2_complex_location_expr_complaint(), name, objfile::obfd, dwarf2_cu::objfile, read_1_byte(), read_1_signed_byte(), read_2_bytes(), read_2_signed_bytes(), read_4_bytes(), read_4_signed_bytes(), read_8_bytes(), read_addr_index_from_leb128(), read_address(), read_signed_leb128(), read_unsigned_leb128(), size, dwarf_block::size, and symfile_complaints.
Referenced by add_partial_symbol(), dwarf2_add_member_fn(), and handle_data_member_location().
| DEF_VEC_I | ( | offset_type | ) |
| DEF_VEC_O | ( | dwarf2_section_info_def | ) |
| DEF_VEC_O | ( | delayed_method_info | ) |
| DEF_VEC_P | ( | symbolp | ) |
| DEF_VEC_P | ( | dwarf2_per_cu_ptr | ) |
| DEF_VEC_P | ( | sig_type_ptr | ) |
|
static |
Definition at line 3026 of file dwarf2read.c.
References quick_file_names::file_names, quick_file_names::num_file_names, quick_file_names::real_names, and xfree().
Referenced by create_quick_file_names_table().
Definition at line 22147 of file dwarf2read.c.
References _, anonymous_struct_prefix(), die_info::building_fullname, die_info::child, complaint, die_specification(), dwarf2_name(), guess_full_die_structure_name(), dwarf2_cu::language, language_cplus, language_d, language_fortran, language_rust, name, die_info::parent, read_type_die(), symfile_complaints, die_info::tag, TYPE_DECLARED_CLASS, TYPE_TAG_NAME, and VEC_empty.
Referenced by dwarf2_compute_name(), read_func_scope(), read_import_statement(), read_namespace(), and read_namespace_type().
Definition at line 21820 of file dwarf2read.c.
References _, dwarf2_attr(), error(), lookup_die_type(), dwarf2_cu::objfile, and objfile_name().
Referenced by dwarf2_add_member_fn(), process_structure_scope(), read_tag_ptr_to_member_type(), and rust_containing_type().
Definition at line 21789 of file dwarf2read.c.
References dwarf2_attr(), and lookup_die_type().
Referenced by set_descriptive_type().
|
static |
Definition at line 9994 of file dwarf2read.c.
References die_info::sect_off.
Referenced by load_full_comp_unit_reader(), and read_signatured_type_reader().
|
static |
Definition at line 9983 of file dwarf2read.c.
References die_info::sect_off, and to_underlying().
Referenced by load_full_comp_unit_reader(), and read_signatured_type_reader().
Definition at line 19873 of file dwarf2read.c.
References dwarf2_attr(), and dwarf2_flag_true_p().
Referenced by dwarf2_add_field(), new_symbol_full(), process_enumeration_scope(), process_structure_scope(), read_call_site_scope(), read_enumeration_type(), and read_structure_type().
Definition at line 10718 of file dwarf2read.c.
References die_specification(), dwarf2_attr(), die_info::parent, and die_info::tag.
Referenced by dwarf2_compute_name(), and dwarf2_physname().
|
static |
Definition at line 19893 of file dwarf2read.c.
References dwarf2_attr(), and follow_die_ref().
Referenced by determine_prefix(), die_needs_namespace(), guess_full_die_structure_name(), and read_func_scope().
Definition at line 21752 of file dwarf2read.c.
References objfile_type::builtin_void, dwarf2_attr(), lookup_die_type(), dwarf2_cu::objfile, and objfile_type().
Referenced by attr_to_dynamic_prop(), dwarf2_add_field(), dwarf2_compute_name(), dwarf2_fetch_constant_bytes(), dwarf2_fetch_die_type_sect_off(), new_symbol_full(), read_array_type(), read_enumeration_type(), read_set_type(), read_subrange_type(), read_subroutine_type(), read_tag_atomic_type(), read_tag_const_type(), read_tag_pointer_type(), read_tag_ptr_to_member_type(), read_tag_reference_type(), read_tag_restrict_type(), read_tag_volatile_type(), and read_typedef().
| void dump_die | ( | struct die_info * | die, |
| int | max_level | ||
| ) |
Definition at line 22740 of file dwarf2read.c.
References dump_die_1(), and gdb_stdlog.
Referenced by read_cutu_die_from_dwo(), read_die_and_siblings(), and read_full_die().
|
static |
Definition at line 22703 of file dwarf2read.c.
References die_info::child, dump_die_shallow(), fprintf_unfiltered(), gdb_assert, print_spaces(), and die_info::sibling.
Referenced by dump_die().
|
static |
Definition at line 22697 of file dwarf2read.c.
References dump_die_shallow(), and gdb_stderr.
Referenced by follow_die_ref_or_sig(), and follow_die_sig().
Definition at line 22574 of file dwarf2read.c.
References die_info::abbrev, die_info::attrs, die_info::child, DW_ADDR, DW_BLOCK, DW_SIGNATURE, DW_SND, DW_STRING, DW_STRING_IS_CANONICAL, DW_UNSND, dwarf_attr_name(), dwarf_bool_name(), dwarf_form_name(), dwarf_tag_name(), attribute::form, fprintf_unfiltered(), fputs_filtered(), hex_string(), attribute::name, die_info::num_attrs, die_info::parent, plongest(), print_spaces(), pulongest(), die_info::sect_off, die_info::tag, and to_underlying().
Referenced by dump_die_1(), and dump_die_for_error().
|
static |
Definition at line 6377 of file dwarf2read.c.
References dwarf2_per_objfile::debug_names_table, dw2_setup(), gdb_assert, printf_filtered(), and dwarf2_per_objfile::using_index.
|
static |
Definition at line 6390 of file dwarf2read.c.
References dwarf2_per_objfile::debug_names_table, dw2_instantiate_symtab(), dw2_setup(), GLOBAL_BLOCK, dw2_debug_names_iterator::next(), and VAR_DOMAIN.
|
static |
Definition at line 6412 of file dwarf2read.c.
References dwarf2_per_objfile::debug_names_table, dw2_expand_symtabs_matching_one(), dw2_expand_symtabs_matching_symbol(), dw2_setup(), dw_expand_symtabs_matching_file_matcher(), and dw2_debug_names_iterator::next().
|
static |
Definition at line 6325 of file dwarf2read.c.
References block_find_non_opaque_type_preferred(), block_find_symbol(), BLOCKVECTOR_BLOCK, COMPUNIT_BLOCKVECTOR, dwarf2_per_objfile::debug_names_table, dw2_instantiate_symtab(), dw2_setup(), name, dw2_debug_names_iterator::next(), strcmp_iw(), and SYMBOL_SEARCH_NAME.
|
static |
Definition at line 3073 of file dwarf2read.c.
References age_cached_comp_units(), dwarf2_per_cu_quick_data::compunit_symtab, dwarf2_per_cu_data::cu, do_cleanups(), dwarf2_release_queue(), get_dwp_file(), dwarf2_per_objfile::index_table, dwarf2_per_cu_data::is_debug_types, IS_TYPE_UNIT_GROUP, language_minimal, load_cu(), make_cleanup(), process_queue(), dwarf2_per_cu_data::psymtab, queue_and_load_all_dwo_tus(), queue_comp_unit(), dwarf2_per_cu_data::quick, partial_symtab::readin, dwarf2_per_objfile::using_index, dwarf2_per_cu_data::v, and mapped_index::version.
Referenced by dw2_instantiate_symtab(), and psymtab_to_symtab_1().
|
static |
Definition at line 4355 of file dwarf2read.c.
References dw2_setup(), gdb_assert, dwarf2_per_objfile::index_table, printf_filtered(), dwarf2_per_objfile::using_index, and mapped_index::version.
|
static |
Definition at line 4404 of file dwarf2read.c.
References dw2_get_cutu(), dw2_instantiate_symtab(), and dw2_setup().
|
static |
Definition at line 5291 of file dwarf2read.c.
References _, complaint, mapped_index::constant_pool, dw2_expand_symtabs_matching_one(), dw2_get_cutu(), FUNCTIONS_DOMAIN, MAYBE_SWAP, objfile_name(), symbol_kind(), mapped_index::symbol_table, symfile_complaints, TYPES_DOMAIN, VARIABLES_DOMAIN, and mapped_index::version.
Referenced by dw2_expand_symtabs_matching().
|
static |
Definition at line 4379 of file dwarf2read.c.
References dw2_instantiate_symtab(), dw2_setup(), dw2_symtab_iter_init(), dw2_symtab_iter_next(), GLOBAL_BLOCK, dwarf2_per_objfile::index_table, and VAR_DOMAIN.
|
static |
Definition at line 5452 of file dwarf2read.c.
References dw2_expand_marked_cus(), dw2_expand_symtabs_matching_symbol(), dw2_setup(), dw_expand_symtabs_matching_file_matcher(), and dwarf2_per_objfile::index_table.
|
static |
Definition at line 5267 of file dwarf2read.c.
References dwarf2_per_cu_quick_data::compunit_symtab, dw2_instantiate_symtab(), dwarf2_per_cu_quick_data::mark, dwarf2_per_cu_data::quick, and dwarf2_per_cu_data::v.
Referenced by dw2_debug_names_expand_symtabs_matching(), and dw2_expand_marked_cus().
|
static |
Definition at line 4776 of file dwarf2read.c.
References mapped_index_base::build_name_components(), mapped_index_base::find_name_components_bounds(), lookup_name_info::make_ignore_params(), gdb_index_symbol_name_matcher::matches(), and mapped_index_base::symbol_name_at().
Referenced by dw2_debug_names_expand_symtabs_matching(), and dw2_expand_symtabs_matching().
|
static |
Definition at line 4420 of file dwarf2read.c.
References dwarf2_per_cu_quick_data::compunit_symtab, dw2_get_cutu(), dw2_get_file_names(), dw2_instantiate_symtab(), dw2_setup(), quick_file_names::file_names, quick_file_names::num_file_names, dwarf2_per_cu_data::quick, and dwarf2_per_cu_data::v.
Definition at line 3997 of file dwarf2read.c.
References compunit_primary_filetab(), dw2_get_cutu(), dw2_instantiate_symtab(), and dw2_setup().
|
static |
Definition at line 5507 of file dwarf2read.c.
References _, addrmap_find(), dwarf2_per_cu_quick_data::compunit_symtab, dw2_instantiate_symtab(), dw2_setup(), gdb_assert, get_objfile_arch(), paddress(), objfile::psymtabs_addrmap, dwarf2_per_cu_data::quick, recursively_find_pc_sect_compunit_symtab(), dwarf2_per_cu_data::v, and warning().
|
static |
Definition at line 4032 of file dwarf2read.c.
References dw2_free_cached_file_names(), dw2_setup(), and dwarf2_per_objfile::quick_file_names_table.
|
static |
Definition at line 4013 of file dwarf2read.c.
References quick_file_names::num_file_names, quick_file_names::real_names, and xfree().
Referenced by dw2_forget_cached_source_info().
|
static |
Definition at line 3164 of file dwarf2read.c.
References gdb_assert.
Referenced by dw2_map_symbol_filenames(), dw2_map_symtabs_matching_filename(), and dw_expand_symtabs_matching_file_matcher().
|
static |
Definition at line 3147 of file dwarf2read.c.
References gdb_assert.
Referenced by create_addrmap_from_aranges(), create_addrmap_from_index(), dw2_expand_all_symtabs(), dw2_expand_marked_cus(), dw2_expand_symtabs_with_fullname(), dw2_find_last_source_symtab(), dw2_map_symbol_filenames(), dw2_print_stats(), dw2_symtab_iter_next(), dwarf2_build_psymtabs_hard(), dwarf2_initialize_objfile(), dw2_debug_names_iterator::next(), and set_partial_user().
|
static |
Definition at line 3959 of file dwarf2read.c.
References dw2_get_file_names_reader(), dwarf2_per_cu_quick_data::file_names, gdb_assert, init_cutu_and_read_dies_simple(), dwarf2_per_cu_data::is_debug_types, IS_TYPE_UNIT_GROUP, dwarf2_per_cu_quick_data::no_file_data, dwarf2_per_cu_data::quick, and dwarf2_per_cu_data::v.
Referenced by dw2_expand_symtabs_with_fullname(), dw2_map_symbol_filenames(), dw2_map_symtabs_matching_filename(), and dw_expand_symtabs_matching_file_matcher().
|
static |
Definition at line 3879 of file dwarf2read.c.
References file_and_directory::comp_dir, dwarf2_per_cu_data::cu, die_reader_specs::cu, DW_UNSND, dwarf2_attr(), dwarf_decode_line_header(), stmt_list_hash::dwo_unit, file_full_name(), quick_file_names::file_names, dwarf2_per_cu_quick_data::file_names, find_entry(), find_file_and_directory(), gdb_assert, quick_file_names::hash, dwarf2_per_cu_data::is_debug_types, stmt_list_hash::line_sect_off, dwarf2_per_cu_quick_data::no_file_data, quick_file_names::num_file_names, dwarf2_cu::per_cu, dwarf2_per_cu_data::quick, dwarf2_per_objfile::quick_file_names_table, quick_file_names::real_names, die_info::tag, and dwarf2_per_cu_data::v.
Referenced by dw2_get_file_names().
|
static |
Definition at line 3983 of file dwarf2read.c.
References quick_file_names::file_names, gdb_realpath(), quick_file_names::num_file_names, OBSTACK_CALLOC, and quick_file_names::real_names.
Referenced by dw2_map_symtabs_matching_filename(), and dw_expand_symtabs_matching_file_matcher().
|
static |
Definition at line 5610 of file dwarf2read.c.
|
static |
Definition at line 3118 of file dwarf2read.c.
References dwarf2_per_cu_quick_data::compunit_symtab, do_cleanups(), dw2_do_instantiate_symtab(), free_cached_comp_units(), gdb_assert, increment_reading_symtab(), make_cleanup(), process_cu_includes(), dwarf2_per_cu_data::quick, dwarf2_per_objfile::using_index, and dwarf2_per_cu_data::v.
Referenced by dw2_debug_names_expand_symtabs_for_function(), dw2_debug_names_lookup_symbol(), dw2_expand_all_symtabs(), dw2_expand_symtabs_for_function(), dw2_expand_symtabs_matching_one(), dw2_expand_symtabs_with_fullname(), dw2_find_last_source_symtab(), dw2_find_pc_sect_compunit_symtab(), dw2_lookup_symbol(), and dw2_map_expand_apply().
Definition at line 10793 of file dwarf2read.c.
References dwarf2_string_attr().
Referenced by dwarf2_compute_name(), dwarf2_physname(), guess_full_die_structure_name(), and read_call_site_scope().
|
static |
Definition at line 10777 of file dwarf2read.c.
References dwarf2_attr().
Referenced by anonymous_struct_prefix(), and dwarf2_name().
|
static |
Definition at line 4281 of file dwarf2read.c.
References block_find_non_opaque_type_preferred(), block_find_symbol(), BLOCKVECTOR_BLOCK, COMPUNIT_BLOCKVECTOR, dw2_instantiate_symtab(), dw2_setup(), dw2_symtab_iter_init(), dw2_symtab_iter_next(), FULL, dwarf2_per_objfile::index_table, name, and SYMBOL_MATCHES_SEARCH_NAME.
|
static |
Definition at line 4044 of file dwarf2read.c.
References dwarf2_per_cu_quick_data::compunit_symtab, objfile::compunit_symtabs, dw2_instantiate_symtab(), iterate_over_some_symtabs(), name, dwarf2_per_cu_data::quick, and dwarf2_per_cu_data::v.
Referenced by dw2_map_symtabs_matching_filename().
|
static |
Definition at line 4460 of file dwarf2read.c.
|
static |
Definition at line 5538 of file dwarf2read.c.
References dwarf2_per_cu_quick_data::compunit_symtab, dw2_get_cu(), dw2_get_cutu(), dw2_get_file_names(), dw2_setup(), gdb::optional< T >::emplace(), quick_file_names::file_names, dwarf2_per_cu_quick_data::file_names, dwarf2_per_objfile::filenames_cache, gdb_realpath(), quick_file_names::num_file_names, dwarf2_per_cu_data::quick, filename_seen_cache::seen(), filename_seen_cache::traverse(), dwarf2_per_cu_data::v, xcalloc(), and xfree().
|
static |
Definition at line 4067 of file dwarf2read.c.
References basenames_may_differ, compare_filenames_for_search(), dwarf2_per_cu_quick_data::compunit_symtab, dw2_get_cu(), dw2_get_file_names(), dw2_get_real_path(), dw2_map_expand_apply(), dw2_setup(), quick_file_names::file_names, gdb_assert, name, quick_file_names::num_file_names, dwarf2_per_cu_data::quick, and dwarf2_per_cu_data::v.
|
static |
Definition at line 4331 of file dwarf2read.c.
References _, dwarf2_per_cu_quick_data::compunit_symtab, dw2_get_cutu(), dw2_setup(), printf_filtered(), dwarf2_per_cu_data::quick, and dwarf2_per_cu_data::v.
|
static |
Definition at line 4371 of file dwarf2read.c.
|
static |
Definition at line 3869 of file dwarf2read.c.
References dwarf2_objfile_data_key, and gdb_assert.
Referenced by dw2_debug_names_dump(), dw2_debug_names_expand_symtabs_for_function(), dw2_debug_names_expand_symtabs_matching(), dw2_debug_names_lookup_symbol(), dw2_dump(), dw2_expand_all_symtabs(), dw2_expand_symtabs_for_function(), dw2_expand_symtabs_matching(), dw2_expand_symtabs_with_fullname(), dw2_find_last_source_symtab(), dw2_find_pc_sect_compunit_symtab(), dw2_forget_cached_source_info(), dw2_lookup_symbol(), dw2_map_symbol_filenames(), dw2_map_symtabs_matching_filename(), dw2_print_stats(), dwarf2_fetch_constant_bytes(), dwarf2_fetch_die_loc_sect_off(), dwarf2_fetch_die_type_sect_off(), dwarf2_get_die_type(), and dwarf2_read_addr_index().
|
static |
Definition at line 4171 of file dwarf2read.c.
References dw2_symtab_iterator::block_index, dw2_symtab_iterator::domain, find_slot_in_mapped_hash(), dw2_symtab_iterator::global_seen, dw2_symtab_iterator::index, dw2_symtab_iterator::length, MAYBE_SWAP, name, dw2_symtab_iterator::next, dw2_symtab_iterator::vec, and dw2_symtab_iterator::want_specific_block.
Referenced by dw2_expand_symtabs_for_function(), and dw2_lookup_symbol().
|
static |
Definition at line 4197 of file dwarf2read.c.
References _, dw2_symtab_iterator::block_index, complaint, dwarf2_per_cu_quick_data::compunit_symtab, dw2_symtab_iterator::domain, dw2_get_cutu(), GLOBAL_BLOCK, dw2_symtab_iterator::global_seen, dw2_symtab_iterator::index, LABEL_DOMAIN, dw2_symtab_iterator::length, MAYBE_SWAP, dw2_symtab_iterator::next, objfile_name(), dwarf2_per_cu_data::quick, STRUCT_DOMAIN, symbol_kind(), symfile_complaints, dwarf2_per_cu_data::v, VAR_DOMAIN, dw2_symtab_iterator::vec, mapped_index::version, and dw2_symtab_iterator::want_specific_block.
Referenced by dw2_expand_symtabs_for_function(), and dw2_lookup_symbol().
|
static |
Definition at line 5373 of file dwarf2read.c.
References basenames_may_differ, dwarf2_per_cu_quick_data::compunit_symtab, dw2_get_cu(), dw2_get_file_names(), dw2_get_real_path(), quick_file_names::file_names, dwarf2_per_cu_quick_data::mark, quick_file_names::num_file_names, dwarf2_per_cu_data::quick, QUIT, dwarf2_per_cu_data::v, xcalloc(), and xfree().
Referenced by dw2_debug_names_expand_symtabs_matching(), and dw2_expand_symtabs_matching().
|
static |
Definition at line 25309 of file dwarf2read.c.
References dwarf2_cu::comp_unit_obstack, dwarf2_cu::dependencies, dummy_obstack_deallocate(), and hashtab_obstack_allocate().
Referenced by maybe_queue_comp_unit().
|
static |
Definition at line 14998 of file dwarf2read.c.
References nextfield::accessibility, field_info::baseclasses, bits_per_byte, die_is_declaration(), die_type(), DW_UNSND, dwarf2_attr(), dwarf2_default_access_attribute(), dwarf2_flag_true_p(), dwarf2_get_attr_constant_value(), dwarf2_name(), dwarf2_physname(), nextfield::field, FIELD_ARTIFICIAL, FIELD_BITPOS, FIELD_BITSIZE, FIELD_NAME, FIELD_TYPE, field_info::fields, gdbarch_bits_big_endian(), get_objfile_arch(), handle_data_member_location(), make_cleanup(), memset(), field::name, field_info::nbaseclasses, new_symbol(), nextfield::next, field_info::nfields, field_info::non_public_fields, dwarf2_cu::objfile, offset, SET_FIELD_BITPOS, SET_FIELD_PHYSNAME, die_info::tag, field::type, TYPE_LENGTH, type_name_no_tag(), nextfield::virtuality, xfree(), and XNEW.
Referenced by process_structure_scope().
|
static |
Definition at line 15397 of file dwarf2read.c.
References _, add_to_method_list(), comp_unit_head::addr_size, alloc_type(), ALLOCATE_CPLUS_STRUCT_TYPE, attr_form_is_block(), attr_form_is_section_offset(), complaint, decode_locdesc(), die_containing_type(), DW_BLOCK, DW_FIELD_ALLOC_CHUNK, DW_UNSND, dwarf2_attr(), dwarf2_complex_location_expr_complaint(), dwarf2_default_access_attribute(), dwarf2_full_name(), dwarf2_invalid_attrib_class_complaint(), dwarf2_is_constructor(), dwarf2_name(), dwarf2_physname(), error(), fn_field::fcontext, nextfnfield::fnfield, field_info::fnfieldlists, free_current_contents(), fnfieldlist::head, dwarf2_cu::header, fn_field::is_artificial, fn_field::is_constructor, fn_field::is_private, fn_field::is_protected, dwarf2_cu::language, language_ada, language_cplus, fnfieldlist::length, make_cleanup(), memset(), fnfieldlist::name, nextfnfield::next, field_info::nfnfields, dwarf2_cu::objfile, fn_field::physname, read_type_die(), die_info::sect_off, size, smash_to_method_type(), symfile_complaints, to_underlying(), fn_field::type, TYPE_CODE, TYPE_CODE_FUNC, TYPE_CPLUS_DYNAMIC, TYPE_FIELD_ARTIFICIAL, TYPE_FIELD_TYPE, TYPE_FIELDS, TYPE_NFIELDS, TYPE_TARGET_TYPE, TYPE_VARARGS, fn_field::voffset, VOFFSET_STATIC, xfree(), XNEW, and xrealloc().
Referenced by process_structure_scope().
|
static |
Definition at line 15208 of file dwarf2read.c.
References _, complaint, DW_UNSND, dwarf2_attr(), dwarf2_default_access_attribute(), dwarf2_name(), decl_field_list::field, gdb_assert, decl_field::is_private, decl_field::is_protected, make_cleanup(), decl_field::name, field_info::nested_types_list, field_info::nested_types_list_count, decl_field_list::next, read_type_die(), symfile_complaints, die_info::tag, decl_field::type, type_can_define_types(), field_info::typedef_field_list, field_info::typedef_field_list_count, XCNEW, and xfree().
Referenced by process_structure_scope().
|
static |
Definition at line 15266 of file dwarf2read.c.
References _, nextfield::accessibility, ALLOCATE_CPLUS_STRUCT_TYPE, B_BYTES, B_CLRALL, B_TYPE, field_info::baseclasses, complaint, error(), nextfield::field, field_info::fields, dwarf2_cu::language, language_ada, memset(), field_info::nbaseclasses, nextfield::next, field_info::nfields, field_info::non_public_fields, SET_TYPE_FIELD_PRIVATE, SET_TYPE_FIELD_PROTECTED, SET_TYPE_FIELD_VIRTUAL, symfile_complaints, TYPE_ALLOC, TYPE_FIELD, TYPE_FIELD_IGNORE_BITS, TYPE_FIELD_PRIVATE_BITS, TYPE_FIELD_PROTECTED_BITS, TYPE_FIELD_VIRTUAL_BITS, TYPE_FIELDS, TYPE_N_BASECLASSES, TYPE_NFIELDS, and nextfield::virtuality.
Referenced by process_structure_scope().
|
static |
Definition at line 15607 of file dwarf2read.c.
References _, ALLOCATE_CPLUS_STRUCT_TYPE, error(), fn_fieldlist::fn_fields, nextfnfield::fnfield, field_info::fnfieldlists, fnfieldlist::head, dwarf2_cu::language, language_ada, fnfieldlist::length, fnfieldlist::name, nextfnfield::next, field_info::nfnfields, TYPE_ALLOC, TYPE_FN_FIELDLIST, TYPE_FN_FIELDLIST_LENGTH, TYPE_FN_FIELDLIST_NAME, TYPE_FN_FIELDLISTS, and TYPE_NFN_FIELDS.
Referenced by process_structure_scope().
|
static |
Definition at line 19788 of file dwarf2read.c.
References die_info::attrs, follow_die_ref(), name, attribute::name, and die_info::num_attrs.
Referenced by attr_to_dynamic_prop(), create_dwo_cu_reader(), die_containing_type(), die_descriptive_type(), die_is_declaration(), die_needs_namespace(), die_specification(), die_type(), dw2_get_file_names_reader(), dw2_linkage_name_attr(), dwarf2_add_field(), dwarf2_add_member_fn(), dwarf2_add_type_defn(), dwarf2_build_include_psymtabs(), dwarf2_compute_name(), dwarf2_extension(), dwarf2_fetch_constant_bytes(), dwarf2_fetch_die_loc_sect_off(), dwarf2_find_base_address(), dwarf2_flag_true_p(), dwarf2_get_pc_bounds(), dwarf2_name(), dwarf2_record_block_ranges(), dwarf2_string_attr(), handle_data_member_location(), handle_DW_AT_stmt_list(), inherit_abstract_dies(), init_cutu_and_read_dies(), lookup_dwo_unit(), new_symbol_full(), prepare_one_comp_unit(), process_imported_unit_die(), process_structure_scope(), prototyped_function_p(), read_array_order(), read_array_type(), read_base_type(), read_call_site_scope(), read_common_block(), read_cutu_die_from_dwo(), read_enumeration_type(), read_file_scope(), read_func_scope(), read_import_statement(), read_namespace(), read_namespace_alias(), read_namespace_type(), read_set_type(), read_structure_type(), read_subrange_type(), read_subroutine_type(), read_tag_pointer_type(), read_tag_reference_type(), read_tag_string_type(), rust_containing_type(), set_die_type(), setup_type_unit_groups(), and update_enumeration_type_from_children().
Definition at line 19820 of file dwarf2read.c.
References die_info::attrs, name, attribute::name, and die_info::num_attrs.
Referenced by build_type_psymtabs_reader(), read_enumeration_type(), and read_structure_type().
|
static |
Definition at line 6830 of file dwarf2read.c.
References partial_symtab::dirname, DW_UNSND, dwarf2_attr(), dwarf_decode_line_header(), dwarf_decode_lines(), and partial_symtab::textlow.
Referenced by process_psymtab_comp_unit_reader().
| void dwarf2_build_psymtabs | ( | struct objfile * | objfile | ) |
Definition at line 6519 of file dwarf2read.c.
References CATCH, dwarf2_build_psymtabs_hard(), END_CATCH, exception_print(), gdb_stderr, objfile::global_psymbols, init_psymbol_list(), psymtab_discarder::keep(), RETURN_MASK_ERROR, objfile::static_psymbols, and TRY.
Referenced by coff_symfile_read(), macho_symfile_read(), read_psyms(), and xcoff_initial_scan().
|
static |
Definition at line 8738 of file dwarf2read.c.
References addrmap_create_fixed(), addrmap_create_mutable(), build_type_psymtab_dependencies(), build_type_psymtabs(), create_all_comp_units(), do_cleanups(), dw2_get_cutu(), dwarf2_read_section(), dwarf_read_debug, fprintf_unfiltered(), free_cached_comp_units(), gdb_stdlog, dwarf2_per_objfile::info, language_minimal, make_cleanup(), make_scoped_restore(), objfile_name(), print_tu_stats(), process_psymtab_comp_unit(), process_skeletonless_type_units(), objfile::psymtabs_addrmap, dwarf2_per_objfile::reading_partial_symbols, scoped_restore_base::release(), and set_partial_user().
Referenced by dwarf2_build_psymtabs().
|
static |
Definition at line 22368 of file dwarf2read.c.
References cp_canonicalize_string(), dwarf2_cu::language, language_cplus, name, and string.
Referenced by dwarf2_compute_name(), dwarf2_name(), and read_partial_die().
|
static |
Definition at line 25367 of file dwarf2read.c.
References dwarf2_per_cu_data::cu, and dwarf2_cu::read_in_chain.
Referenced by age_cached_comp_units().
|
static |
Definition at line 2264 of file dwarf2read.c.
References _, complaint, and symfile_complaints.
Referenced by decode_locdesc(), dwarf2_add_member_fn(), handle_data_member_location(), read_common_block(), and read_partial_die().
|
static |
Definition at line 10819 of file dwarf2read.c.
References _, allocate_value(), die_info::building_fullname, c_print_type(), c_printchar(), c_type_print_args(), die_info::child, dwarf2_cu::comp_unit_obstack, complaint, dwarf2_locexpr_baton::data, determine_prefix(), die_needs_namespace(), die_type(), dw2_linkage_name(), dwarf2_attr(), dwarf2_canonicalize_name(), dwarf2_const_value_attr(), dwarf2_evaluate_loc_desc(), dwarf2_name(), string_file::empty(), get_formatted_print_options(), dwarf2_cu::language, language_ada, language_cplus, language_d, language_fortran, language_rust, name, dwarf2_cu::objfile, objfile::per_bfd, dwarf2_locexpr_baton::per_cu, ui_file::puts(), value_print_options::raw, read_type_die(), release_value(), die_info::sibling, dwarf2_locexpr_baton::size, objfile_per_bfd_storage::storage_obstack, string, string_file::string(), symfile_complaints, die_info::tag, type, TYPE_CODE, TYPE_CODE_PTR, TYPE_CONST, TYPE_FIELD_ARTIFICIAL, TYPE_FIELD_TYPE, TYPE_LENGTH, TYPE_NFIELDS, TYPE_NOSIGN, type_print_raw_options, TYPE_TARGET_TYPE, typename_concat(), value_contents_writeable(), value_free(), value_from_longest(), value_print(), and xfree().
Referenced by dwarf2_full_name(), and dwarf2_physname().
|
static |
Definition at line 21719 of file dwarf2read.c.
References dwarf2_const_value_attr(), dwarf2_locexpr_index, LOC_CONST, LOC_CONST_BYTES, dwarf2_cu::objfile, SYMBOL_ACLASS_INDEX, SYMBOL_LOCATION_BATON, SYMBOL_PRINT_NAME, SYMBOL_TYPE, SYMBOL_VALUE, and SYMBOL_VALUE_BYTES.
Referenced by new_symbol_full().
|
static |
Definition at line 21614 of file dwarf2read.c.
References _, comp_unit_head::addr_size, complaint, dwarf_block::data, DW_ADDR, DW_BLOCK, DW_SND, DW_STRING, DW_UNSND, dwarf2_const_value_data(), dwarf2_const_value_length_mismatch_complaint(), dwarf_form_name(), attribute::form, gdb_assert, dwarf2_cu::header, name, objfile::obfd, dwarf2_cu::objfile, dwarf2_cu::per_cu, dwarf_block::size, store_unsigned_integer(), symfile_complaints, and TYPE_LENGTH.
Referenced by dwarf2_compute_name(), dwarf2_const_value(), and update_enumeration_type_from_children().
|
static |
Definition at line 21582 of file dwarf2read.c.
References bits, DW_UNSND, objfile::obfd, dwarf2_cu::objfile, and store_unsigned_integer().
Referenced by dwarf2_const_value_attr(), and dwarf2_fetch_constant_bytes().
|
static |
Definition at line 2270 of file dwarf2read.c.
References _, complaint, and symfile_complaints.
Referenced by dwarf2_const_value_attr().
|
static |
Definition at line 6792 of file dwarf2read.c.
References allocate_psymtab(), partial_symtab::compunit_symtab, partial_symtab::dependencies, partial_symtab::dirname, partial_symtab::filename, partial_symtab::globals_offset, partial_symtab::n_global_syms, partial_symtab::n_static_syms, name, partial_symtab::number_of_dependencies, partial_symtab::read_symtab, partial_symtab::read_symtab_private, partial_symtab::readin, partial_symtab::statics_offset, partial_symtab::texthigh, and partial_symtab::textlow.
Referenced by dwarf_decode_lines().
|
static |
Definition at line 2256 of file dwarf2read.c.
References _, complaint, and symfile_complaints.
Referenced by dwarf_decode_lines_1().
|
static |
Definition at line 2249 of file dwarf2read.c.
References _, complaint, and symfile_complaints.
Referenced by lnp_state_machine::handle_set_file(), and lnp_state_machine::record_line().
|
static |
Definition at line 14935 of file dwarf2read.c.
References dwarf2_cu::header, die_info::parent, producer_is_gxx_lt_4_6(), die_info::tag, and comp_unit_head::version.
Referenced by dwarf2_add_field(), dwarf2_add_member_fn(), and dwarf2_add_type_defn().
|
static |
Definition at line 22491 of file dwarf2read.c.
References dwarf2_attr(), and follow_die_ref().
Referenced by namespace_name(), and read_namespace_type().
| const gdb_byte* dwarf2_fetch_constant_bytes | ( | sect_offset | sect_off, |
| struct dwarf2_per_cu_data * | per_cu, | ||
| struct obstack * | obstack, | ||
| LONGEST * | len | ||
| ) |
Definition at line 23007 of file dwarf2read.c.
References _, comp_unit_head::addr_size, complaint, dwarf2_per_cu_data::cu, die_type(), dw2_setup(), DW_ADDR, DW_BLOCK, DW_SND, DW_STRING, DW_UNSND, dwarf2_attr(), dwarf2_const_value_data(), dwarf_form_name(), error(), follow_die_offset(), attribute::form, dwarf2_cu::header, dwarf2_per_cu_data::is_dwz, load_cu(), objfile::obfd, dwarf2_per_cu_data::objfile, objfile_name(), store_unsigned_integer(), symfile_complaints, to_underlying(), type, and write_constant_as_bytes().
Referenced by fetch_const_value_from_synthetic_pointer().
| struct dwarf2_locexpr_baton dwarf2_fetch_die_loc_cu_off | ( | cu_offset | offset_in_cu, |
| struct dwarf2_per_cu_data * | per_cu, | ||
| CORE_ADDR(*)(void *baton) | get_frame_pc, | ||
| void * | baton | ||
| ) |
Definition at line 22972 of file dwarf2read.c.
References dwarf2_fetch_die_loc_sect_off(), get_frame_pc(), dwarf2_locexpr_baton::per_cu, dwarf2_per_cu_data::sect_off, and to_underlying().
Referenced by dwarf2_compile_expr_to_ax(), and per_cu_dwarf_call().
| struct dwarf2_locexpr_baton dwarf2_fetch_die_loc_sect_off | ( | sect_offset | sect_off, |
| struct dwarf2_per_cu_data * | per_cu, | ||
| CORE_ADDR(*)(void *baton) | get_frame_pc, | ||
| void * | baton | ||
| ) |
Definition at line 22902 of file dwarf2read.c.
References _, age_cached_comp_units(), attr_form_is_block(), attr_form_is_section_offset(), dwarf2_per_cu_data::cu, dwarf2_locexpr_baton::data, dw2_setup(), DW_BLOCK, dwarf2_attr(), dwarf2_find_location_expression(), error(), fill_in_loclist_baton(), follow_die_offset(), dwarf2_per_cu_data::is_dwz, load_cu(), dwarf2_per_cu_data::objfile, objfile_name(), dwarf2_locexpr_baton::per_cu, dwarf2_loclist_baton::per_cu, dwarf2_cu::per_cu, dwarf2_locexpr_baton::size, size, and to_underlying().
Referenced by dwarf2_fetch_die_loc_cu_off(), and indirect_synthetic_pointer().
| struct type* dwarf2_fetch_die_type_sect_off | ( | sect_offset | sect_off, |
| struct dwarf2_per_cu_data * | per_cu | ||
| ) |
Definition at line 23139 of file dwarf2read.c.
References dwarf2_per_cu_data::cu, die_type(), dw2_setup(), follow_die_offset(), dwarf2_per_cu_data::is_dwz, load_cu(), dwarf2_per_cu_data::objfile, and die_info::sect_off.
Referenced by indirect_synthetic_pointer().
Definition at line 6568 of file dwarf2read.c.
References attr_value_as_address(), dwarf2_cu::base_address, dwarf2_cu::base_known, and dwarf2_attr().
Referenced by load_cu(), and process_psymtab_comp_unit_reader().
|
static |
Definition at line 24917 of file dwarf2read.c.
References _, error(), gdb_assert, dwarf2_per_cu_data::is_dwz, dwarf2_per_cu_data::length, objfile::obfd, dwarf2_per_cu_data::sect_off, and to_underlying().
Referenced by find_partial_die(), follow_die_offset(), lookup_die_type(), process_imported_unit_die(), and scan_partial_symbols().
|
static |
Definition at line 19865 of file dwarf2read.c.
References DW_UNSND, dwarf2_attr(), and name.
Referenced by die_is_declaration(), dwarf2_add_field(), read_call_site_scope(), and read_enumeration_type().
|
static |
Definition at line 18112 of file dwarf2read.c.
References dwarf2_cu::abbrev_table, and abbrev_table_free().
Referenced by init_cutu_and_read_dies(), init_cutu_and_read_dies_no_follow(), init_tu_and_read_dwo_dies(), and read_cutu_die_from_dwo().
| void dwarf2_free_objfile | ( | struct objfile * | objfile | ) |
Definition at line 25113 of file dwarf2read.c.
References dwarf2_objfile_data_key, and dwarf2_per_objfile::~dwarf2_per_objfile().
Referenced by coff_symfile_finish(), elf_symfile_finish(), and xcoff_symfile_finish().
|
static |
Definition at line 11057 of file dwarf2read.c.
References dwarf2_compute_name(), and name.
Referenced by dwarf2_add_member_fn(), new_symbol_full(), partial_die_full_name(), read_enumeration_type(), read_structure_type(), and read_typedef().
|
static |
Definition at line 22776 of file dwarf2read.c.
References _, complaint, DW_SND, DW_UNSND, dwarf_form_name(), attribute::form, and symfile_complaints.
Referenced by attr_to_dynamic_prop(), dwarf2_add_field(), handle_data_member_location(), and mark_common_block_symbol_computed().
| struct type* dwarf2_get_die_type | ( | cu_offset | die_offset, |
| struct dwarf2_per_cu_data * | per_cu | ||
| ) |
Definition at line 23164 of file dwarf2read.c.
References dw2_setup(), get_die_type_at_offset(), dwarf2_per_cu_data::objfile, dwarf2_per_cu_data::sect_off, and to_underlying().
Referenced by disassemble_dwarf_expression(), and dwarf_evaluate_loc_desc::get_base_type().
|
static |
Definition at line 2860 of file dwarf2read.c.
References _, build_id_to_debug_bfd(), build_id_verify(), dwz_file::dwz_bfd, dwarf2_per_objfile::dwz_file, error(), gdb_bfd_open(), gdb_bfd_record_inclusion(), gdb_realpath(), gnutarget, ldirname(), locate_dwz_sections(), objfile_name(), OBSTACK_ZALLOC, SLASH_STRING, and string.
Referenced by create_all_comp_units(), create_cus_from_debug_names(), create_cus_from_index(), dwarf2_read_debug_names(), dwarf2_read_index(), dwarf_decode_macro_bytes(), get_abbrev_section_for_cu(), get_debug_line_section(), and read_attribute_value().
|
static |
Definition at line 14639 of file dwarf2read.c.
References attr_form_is_constant(), attr_value_as_address(), DW_UNSND, dwarf2_attr(), dwarf2_ranges_read(), dwarf2_per_objfile::has_section_at_zero, dwarf2_cu::header, PC_BOUNDS_HIGH_LOW, PC_BOUNDS_INVALID, PC_BOUNDS_NOT_PRESENT, PC_BOUNDS_RANGES, die_info::tag, and comp_unit_head::version.
Referenced by dwarf2_get_subprogram_pc_bounds(), get_scope_pc_bounds(), process_psymtab_comp_unit_reader(), read_call_site_scope(), read_func_scope(), and read_lexical_block_scope().
|
static |
Definition at line 22761 of file dwarf2read.c.
References _, attr_form_is_ref(), complaint, DW_UNSND, dwarf_form_name(), attribute::form, and symfile_complaints.
Referenced by follow_die_ref(), lookup_die_type(), process_imported_unit_die(), read_call_site_scope(), read_namespace_alias(), read_partial_die(), and skip_one_die().
| void dwarf2_get_section_info | ( | struct objfile * | objfile, |
| enum dwarf2_section_enum | sect, | ||
| asection ** | sectp, | ||
| const gdb_byte ** | bufp, | ||
| bfd_size_type * | sizep | ||
| ) |
Definition at line 2771 of file dwarf2read.c.
References dwarf2_section_info::buffer, DWARF2_DEBUG_FRAME, DWARF2_EH_FRAME, dwarf2_objfile_data_key, dwarf2_read_section(), dwarf2_per_objfile::eh_frame, dwarf2_per_objfile::frame, gdb_assert_not_reached, get_section_bfd_section(), and dwarf2_section_info::size.
Referenced by dwarf2_build_frame_info().
|
static |
Definition at line 14719 of file dwarf2read.c.
References die_info::child, dwarf2_get_pc_bounds(), dwarf2_cu::language, language_ada, PC_BOUNDS_RANGES, sibling_die(), and die_info::tag.
Referenced by get_scope_pc_bounds().
| int dwarf2_has_info | ( | struct objfile * | objfile, |
| const struct dwarf2_debug_sections * | names | ||
| ) |
Definition at line 2424 of file dwarf2read.c.
References dwarf2_per_objfile::abbrev, dwarf2_objfile_data_key, objfile::flags, dwarf2_per_objfile::info, dwarf2_section_info::is_virtual, OBJF_READNEVER, dwarf2_section_info::s, and dwarf2_section_info::section.
Referenced by coff_symfile_read(), elf_symfile_read(), macho_symfile_read(), read_psyms(), and xcoff_initial_scan().
|
static |
Definition at line 17318 of file dwarf2read.c.
References bits, gdbarch_floatformat_for_type(), get_objfile_arch(), init_float_type(), init_type(), name, type, and TYPE_CODE_ERROR.
Referenced by read_base_type().
| bool dwarf2_initialize_objfile | ( | struct objfile * | objfile, |
| dw_index_kind * | index_kind | ||
| ) |
Definition at line 6467 of file dwarf2read.c.
References create_all_comp_units(), create_all_type_units(), create_quick_file_names_table(), DEBUG_NAMES, dw2_get_cutu(), dwarf2_read_debug_names(), dwarf2_read_index(), objfile::flags, GDB_INDEX, OBJF_READNOW, OBSTACK_ZALLOC, dwarf2_per_cu_data::quick, dwarf2_per_objfile::quick_file_names_table, dwarf2_per_objfile::using_index, and dwarf2_per_cu_data::v.
Referenced by elf_symfile_read().
|
static |
Definition at line 2298 of file dwarf2read.c.
References _, complaint, and symfile_complaints.
Referenced by attr_to_dynamic_prop(), dwarf2_add_member_fn(), dwarf2_symbol_mark_computed(), read_common_block(), and read_partial_die().
Definition at line 15370 of file dwarf2read.c.
References dwarf2_name(), die_info::parent, and die_info::tag.
Referenced by dwarf2_add_member_fn().
|
static |
Definition at line 12999 of file dwarf2read.c.
References dwop_section_names::cu_index, dwp_sections::cu_index, dwop_section_names, dwp_file::elf_sections, gdb_assert, dwarf2_section_info::s, dwarf2_section_info::section, section_is_p(), dwp_file::sections, dwarf2_section_info::size, dwp_sections::str, dwop_section_names::str_dwo, dwop_section_names::tu_index, and dwp_sections::tu_index.
Referenced by open_and_init_dwp_file().
|
static |
Definition at line 12895 of file dwarf2read.c.
References dwo_sections::abbrev, dwop_section_names::abbrev_dwo, dwop_section_names, dwo_sections::info, dwop_section_names::info_dwo, dwo_sections::line, dwop_section_names::line_dwo, dwo_sections::loc, dwop_section_names::loc_dwo, dwo_sections::macinfo, dwop_section_names::macinfo_dwo, dwo_sections::macro, dwop_section_names::macro_dwo, memset(), dwarf2_section_info::s, dwarf2_section_info::section, section_is_p(), dwarf2_section_info::size, dwo_sections::str, dwop_section_names::str_dwo, dwo_sections::str_offsets, dwop_section_names::str_offsets_dwo, dwop_section_names::types_dwo, and VEC_safe_push.
Referenced by open_and_init_dwo_file().
|
static |
Definition at line 13035 of file dwarf2read.c.
References dwp_sections::abbrev, dwop_section_names::abbrev_dwo, dwop_section_names, dwp_file::elf_sections, gdb_assert, dwp_sections::info, dwop_section_names::info_dwo, dwp_sections::line, dwop_section_names::line_dwo, dwp_sections::loc, dwop_section_names::loc_dwo, dwp_sections::macinfo, dwop_section_names::macinfo_dwo, dwp_sections::macro, dwop_section_names::macro_dwo, dwarf2_section_info::s, dwarf2_section_info::section, section_is_p(), dwp_file::sections, dwarf2_section_info::size, dwp_sections::str_offsets, dwop_section_names::str_offsets_dwo, dwp_sections::types, and dwop_section_names::types_dwo.
Referenced by open_and_init_dwp_file().
|
static |
Definition at line 2289 of file dwarf2read.c.
References _, complaint, and symfile_complaints.
Referenced by parse_macro_definition().
|
static |
Definition at line 25357 of file dwarf2read.c.
References dwarf2_per_cu_data::cu, dwarf2_cu::dependencies, and dwarf2_mark_helper().
Referenced by age_cached_comp_units().
|
static |
Definition at line 25331 of file dwarf2read.c.
References dwarf2_per_cu_data::cu, and dwarf2_cu::dependencies.
Referenced by dwarf2_mark().
Definition at line 22391 of file dwarf2read.c.
References CP_ANONYMOUS_NAMESPACE_STR, dw2_linkage_name_attr(), DW_STRING, DW_STRING_IS_CANONICAL, dwarf2_attr(), dwarf2_canonicalize_name(), gdb_demangle(), dwarf2_cu::objfile, objfile::per_bfd, startswith(), objfile_per_bfd_storage::storage_obstack, die_info::tag, and xfree().
Referenced by attr_to_dynamic_prop(), determine_prefix(), dwarf2_add_field(), dwarf2_add_member_fn(), dwarf2_add_type_defn(), dwarf2_compute_name(), dwarf2_is_constructor(), guess_full_die_structure_name(), new_symbol_full(), process_enumeration_scope(), read_array_type(), read_base_type(), read_func_scope(), read_import_statement(), read_module_type(), read_structure_type(), read_subrange_type(), read_subroutine_type(), read_unspecified_type(), and update_enumeration_type_from_children().
| int dwarf2_per_cu_addr_size | ( | struct dwarf2_per_cu_data * | per_cu | ) |
Definition at line 24853 of file dwarf2read.c.
References comp_unit_head::addr_size, and per_cu_header_read_in().
Referenced by dwarf2_compile_property_to_c(), dwarf2_evaluate_loc_desc_full(), dwarf2_find_location_expression(), dwarf2_loc_desc_get_symbol_read_needs(), dwarf2_locexpr_baton_eval(), locexpr_describe_location(), locexpr_generate_c_location(), locexpr_tracepoint_var_ref(), loclist_describe_location(), loclist_generate_c_location(), loclist_tracepoint_var_ref(), and dwarf_evaluate_loc_desc::push_dwarf_reg_entry_value().
| struct objfile* dwarf2_per_cu_objfile | ( | struct dwarf2_per_cu_data * | per_cu | ) |
Definition at line 24816 of file dwarf2read.c.
References objfile::objfile(), dwarf2_per_cu_data::objfile, and objfile::separate_debug_objfile_backlink.
Referenced by dwarf2_evaluate_loc_desc_full(), dwarf2_find_location_expression(), dwarf2_loc_desc_get_symbol_read_needs(), dwarf2_locexpr_baton_eval(), dwarf_evaluate_loc_desc::get_tls_address(), locexpr_describe_location(), loclist_describe_location(), dwarf_evaluate_loc_desc::push_dwarf_reg_entry_value(), and rw_pieced_value().
| int dwarf2_per_cu_offset_size | ( | struct dwarf2_per_cu_data * | per_cu | ) |
Definition at line 24866 of file dwarf2read.c.
References comp_unit_head::offset_size, and per_cu_header_read_in().
Referenced by locexpr_describe_location(), and loclist_describe_location().
| int dwarf2_per_cu_ref_addr_size | ( | struct dwarf2_per_cu_data * | per_cu | ) |
Definition at line 24879 of file dwarf2read.c.
References comp_unit_head::addr_size, comp_unit_head::offset_size, per_cu_header_read_in(), and comp_unit_head::version.
Referenced by dwarf2_evaluate_loc_desc_full(), dwarf2_loc_desc_get_symbol_read_needs(), and dwarf2_locexpr_baton_eval().
| CORE_ADDR dwarf2_per_cu_text_offset | ( | struct dwarf2_per_cu_data * | per_cu | ) |
Definition at line 24898 of file dwarf2read.c.
References ANOFFSET, dwarf2_per_cu_data::objfile, SECT_OFF_TEXT, and objfile::section_offsets.
Referenced by do_compile_dwarf_expr_to_c(), dwarf2_compile_expr_to_ax(), dwarf2_evaluate_loc_desc_full(), dwarf2_find_location_expression(), dwarf2_loc_desc_get_symbol_read_needs(), dwarf2_locexpr_baton_eval(), loclist_describe_location(), and dwarf_evaluate_loc_desc::push_dwarf_reg_entry_value().
|
static |
Definition at line 25421 of file dwarf2read.c.
References dwp_file::dbfd, dwarf2_per_objfile::dwo_files, dwarf2_per_objfile::dwp_file, dwz_file::dwz_bfd, dwarf2_per_objfile::dwz_file, free_dwo_files(), gdb_bfd_unref(), dwarf2_per_objfile::index_table, VEC_free, and xfree().
Referenced by _initialize_dwarf2_read().
|
static |
Definition at line 11070 of file dwarf2read.c.
References _, check_physname, complaint, die_needs_namespace(), dw2_linkage_name(), dwarf2_compute_name(), gdb_demangle(), dwarf2_cu::language, language_go, language_rust, name, dwarf2_cu::objfile, objfile_name(), objfile::per_bfd, die_info::sect_off, objfile_per_bfd_storage::storage_obstack, symfile_complaints, and to_underlying().
Referenced by compute_delayed_physnames(), dwarf2_add_field(), dwarf2_add_member_fn(), new_symbol_full(), and read_call_site_scope().
|
static |
Definition at line 14466 of file dwarf2read.c.
References _, comp_unit_head::addr_size, ANOFFSET, dwarf2_cu::base_address, dwarf2_cu::base_known, dwarf2_section_info::buffer, complaint, dummy, dwarf2_read_section(), dwarf2_rnglists_process(), dwarf2_per_objfile::has_section_at_zero, dwarf2_cu::header, objfile::obfd, dwarf2_cu::objfile, objfile_name(), offset, dwarf2_per_objfile::ranges, read_address(), SECT_OFF_TEXT, objfile::section_offsets, dwarf2_section_info::size, symfile_complaints, and comp_unit_head::version.
Referenced by dwarf2_ranges_read(), and dwarf2_record_block_ranges().
|
static |
Definition at line 14572 of file dwarf2read.c.
References addrmap_set_empty(), ANOFFSET, dwarf2_ranges_process(), gdbarch_adjust_dwarf2_addr(), get_objfile_arch(), dwarf2_cu::objfile, offset, objfile::psymtabs_addrmap, SECT_OFF_TEXT, and objfile::section_offsets.
Referenced by dwarf2_get_pc_bounds().
|
static |
Definition at line 18102 of file dwarf2read.c.
References comp_unit_head::abbrev_sect_off, dwarf2_cu::abbrev_table, abbrev_table_read_table(), and dwarf2_cu::header.
Referenced by init_cutu_and_read_dies(), init_cutu_and_read_dies_no_follow(), and read_cutu_die_from_dwo().
| CORE_ADDR dwarf2_read_addr_index | ( | struct dwarf2_per_cu_data * | per_cu, |
| unsigned int | addr_index | ||
| ) |
Definition at line 19618 of file dwarf2read.c.
References dwarf2_read_addr_index_data::addr_base, comp_unit_head::addr_size, dwarf2_read_addr_index_data::addr_size, dwarf2_per_cu_data::cu, dw2_setup(), dwarf2_read_addr_index_reader(), dwarf2_cu::header, init_cutu_and_read_dies(), dwarf2_per_cu_data::objfile, dwarf2_cu::per_cu, and read_addr_index_1().
Referenced by decode_debug_loc_dwo_addresses(), disassemble_dwarf_expression(), dwarf_evaluate_loc_desc::get_addr_index(), and locexpr_describe_location_piece().
|
static |
Definition at line 19598 of file dwarf2read.c.
References dwarf2_read_addr_index_data::addr_base, comp_unit_head::addr_size, dwarf2_read_addr_index_data::addr_size, die_reader_specs::cu, and dwarf2_cu::header.
Referenced by dwarf2_read_addr_index().
|
static |
Definition at line 5889 of file dwarf2read.c.
References _, dwarf2_per_objfile::abbrev, create_addrmap_from_aranges(), create_cus_from_debug_names(), create_quick_file_names_table(), create_signatured_type_table_from_debug_names(), dwarf2_per_objfile::debug_aranges, dwarf2_per_objfile::debug_names, dwz_file::debug_names, dwarf2_per_objfile::debug_names_table, dwarf2_get_dwz_file(), dwz_file::dwz_bfd, mapped_debug_names::name_count, objfile_name(), dwarf2_per_objfile::quick_file_names_table, read_debug_names_from_section(), mapped_debug_names::tu_count, dwarf2_per_objfile::using_index, VEC_index, VEC_length, and warning().
Referenced by dwarf2_initialize_objfile().
|
static |
Definition at line 3792 of file dwarf2read.c.
References _, create_addrmap_from_index(), create_cus_from_index(), create_quick_file_names_table(), create_signatured_type_table_from_index(), dwarf2_get_dwz_file(), dwz_file::dwz_bfd, dwarf2_per_objfile::gdb_index, dwz_file::gdb_index, dwarf2_per_objfile::index_table, objfile_name(), dwarf2_per_objfile::quick_file_names_table, read_index_from_section(), dwarf2_section_info::section, mapped_index::symbol_table, use_deprecated_index_sections, dwarf2_per_objfile::using_index, VEC_index, VEC_length, and warning().
Referenced by dwarf2_initialize_objfile().
|
static |
Definition at line 2676 of file dwarf2read.c.
References _, dwarf2_section_info::buffer, dwarf2_section_info::containing_section, dwarf2_section_empty_p(), error(), gdb_assert, gdb_bfd_map_section(), get_containing_section(), get_section_bfd_owner(), get_section_bfd_section(), get_section_file_name(), get_section_name(), dwarf2_section_info::is_virtual, dwarf2_section_info::readin, SEEK_SET, dwarf2_section_info::size, symfile_relocate_debug_section(), and dwarf2_section_info::virtual_offset.
Referenced by abbrev_table_read_table(), create_addrmap_from_aranges(), create_cus_hash_table(), create_debug_type_hash_table(), create_dwp_hash_table(), create_signatured_type_table_from_debug_names(), debug_names::debug_str_lookup::debug_str_lookup(), dwarf2_build_psymtabs_hard(), dwarf2_get_section_info(), dwarf2_ranges_process(), dwarf2_rnglists_process(), dwarf2_section_size(), dwarf_decode_line_header(), dwarf_decode_macro_bytes(), dwarf_decode_macros(), fill_in_loclist_baton(), init_cutu_and_read_dies(), init_cutu_and_read_dies_no_follow(), read_abbrev_offset(), read_addr_index_1(), read_comp_units_from_section(), read_cutu_die_from_dwo(), read_debug_names_from_section(), read_index_from_section(), read_indirect_string_at_offset_from(), read_indirect_string_from_dwz(), and read_str_index().
|
static |
Definition at line 9714 of file dwarf2read.c.
References _, dwarf2_objfile_data_key, gdb_flush(), gdb_stdout, dwarf2_per_objfile::has_section_at_zero, info_verbose, printf_filtered(), process_cu_includes(), psymtab_to_symtab_1(), dwarf2_per_objfile::reading_partial_symbols, objfile::separate_debug_objfile_backlink, and warning().
Referenced by create_partial_symtab().
|
static |
Definition at line 14814 of file dwarf2read.c.
References comp_unit_head::addr_size, attr_form_is_constant(), attr_value_as_address(), dwarf2_cu::base_address, dwarf2_cu::base_known, DW_UNSND, dwarf2_attr(), dwarf2_ranges_process(), gdbarch_adjust_dwarf2_addr(), get_objfile_arch(), dwarf2_cu::header, dwarf2_cu::objfile, offset, record_block_range(), die_info::tag, and comp_unit_head::version.
Referenced by process_full_comp_unit(), read_func_scope(), and read_lexical_block_scope().
|
static |
Definition at line 9912 of file dwarf2read.c.
References dwarf2_per_cu_data::cu, dwarf2_queue, dwarf2_queue_tail, free_one_cached_comp_unit(), dwarf2_queue_item::next, dwarf2_queue_item::per_cu, dwarf2_per_cu_data::queued, and xfree().
Referenced by dw2_do_instantiate_symtab().
|
static |
Definition at line 14300 of file dwarf2read.c.
References _, comp_unit_head::addr_size, ANOFFSET, dwarf2_cu::base_address, dwarf2_cu::base_known, dwarf2_section_info::buffer, complaint, dwarf2_read_section(), dwarf2_per_objfile::has_section_at_zero, dwarf2_cu::header, objfile::obfd, dwarf2_cu::objfile, objfile_name(), offset, read_address(), read_unsigned_leb128(), dwarf2_per_objfile::rnglists, SECT_OFF_TEXT, objfile::section_offsets, dwarf2_section_info::size, and symfile_complaints.
Referenced by dwarf2_ranges_process().
|
static |
Definition at line 2279 of file dwarf2read.c.
References _, complaint, get_section_file_name(), get_section_name(), dwo_unit::section, and symfile_complaints.
Referenced by dwarf_decode_macro_bytes(), read_partial_die(), skip_form_bytes(), and skip_one_die().
|
static |
Definition at line 2662 of file dwarf2read.c.
References dwarf2_section_info::section.
Referenced by create_dwo_unit_in_dwp_v1(), create_dwp_hash_table(), dwarf2_read_section(), read_debug_names_from_section(), and read_index_from_section().
|
static |
Definition at line 2759 of file dwarf2read.c.
References dwarf2_read_section(), dwarf2_section_info::readin, and dwarf2_section_info::size.
Referenced by dwarf2_symbol_mark_computed(), and error_check_comp_unit_head().
|
static |
Definition at line 21066 of file dwarf2read.c.
References compunit_symtab::dirname, SLASH_STRING, start_subfile(), and xfree().
Referenced by dwarf_decode_lines(), dwarf_decode_lines_1(), lnp_state_machine::handle_set_file(), and setup_type_unit_groups().
|
static |
Definition at line 21093 of file dwarf2read.c.
References dwarf2_cu::language, name, dwarf2_cu::objfile, processing_gcc_compilation, dwarf2_cu::producer, record_debugformat(), record_producer(), and start_symtab().
Referenced by read_file_scope(), and setup_type_unit_groups().
|
static |
Definition at line 2242 of file dwarf2read.c.
References _, complaint, and symfile_complaints.
Referenced by dwarf_decode_line_header().
|
static |
Definition at line 19835 of file dwarf2read.c.
References _, complaint, DW_STRING, dwarf2_attr(), dwarf_attr_name(), attribute::form, name, dwarf2_cu::objfile, objfile_name(), die_info::sect_off, attribute::str, symfile_complaints, and to_underlying().
Referenced by anonymous_struct_prefix(), dw2_linkage_name(), find_file_and_directory(), lookup_dwo_unit(), namespace_name(), prepare_one_comp_unit(), and process_psymtab_comp_unit_reader().
|
static |
Definition at line 24751 of file dwarf2read.c.
References _, attr_form_is_block(), attr_form_is_section_offset(), dwarf2_cu::base_known, complaint, cu_debug_loc_section(), dwarf2_locexpr_baton::data, DW_BLOCK, DW_UNSND, dwarf2_invalid_attrib_class_complaint(), dwarf2_locexpr_block_index, dwarf2_locexpr_index, dwarf2_loclist_block_index, dwarf2_loclist_index, dwarf2_section_size(), fill_in_loclist_baton(), gdb_assert, dwarf2_locexpr_baton::per_cu, dwarf2_cu::per_cu, dwarf2_section_info::section, dwarf2_locexpr_baton::size, SYMBOL_ACLASS_INDEX, SYMBOL_LOCATION_BATON, SYMBOL_NATURAL_NAME, and symfile_complaints.
Referenced by read_func_scope(), and var_decode_location().
| short dwarf2_version | ( | struct dwarf2_per_cu_data * | per_cu | ) |
Definition at line 24908 of file dwarf2read.c.
References dwarf2_per_cu_data::dwarf_version.
Referenced by dwarf2_find_location_expression().
|
static |
Definition at line 5947 of file dwarf2read.c.
References hash().
Referenced by debug_names::build(), and dw2_debug_names_iterator::find_vec_in_debug_names().
|
static |
Definition at line 23695 of file dwarf2read.c.
References dwarf2_cu::comp_unit_obstack.
Referenced by read_attribute_value().
Definition at line 23701 of file dwarf2read.c.
References dwarf2_cu::comp_unit_obstack, memset(), die_info::num_attrs, and size.
Referenced by read_full_die_1().
|
static |
Definition at line 22518 of file dwarf2read.c.
References name.
Referenced by dump_die_shallow(), dwarf2_string_attr(), and lookup_die_type().
|
static |
Definition at line 22552 of file dwarf2read.c.
Referenced by dump_die_shallow().
|
static |
Definition at line 20102 of file dwarf2read.c.
References _, line_header::add_file_name(), line_header::add_include_dir(), dwarf2_section_info::buffer, complaint, dwarf2_read_section(), dwarf2_statement_list_fits_in_line_number_section_complaint(), get_debug_line_section(), get_section_bfd_owner(), dwarf2_cu::header, dwarf2_per_cu_data::is_debug_types, dwarf2_per_cu_data::is_dwz, name, dwarf2_cu::per_cu, read_1_byte(), read_1_signed_byte(), read_2_bytes(), read_checked_initial_length_and_offset(), read_direct_string(), read_formatted_entries(), read_offset_1(), read_unsigned_leb128(), dwarf2_section_info::section, dwarf2_section_info::size, symfile_complaints, and to_underlying().
Referenced by dw2_get_file_names_reader(), dwarf2_build_include_psymtabs(), handle_DW_AT_stmt_list(), and setup_type_unit_groups().
|
static |
Definition at line 20993 of file dwarf2read.c.
References allocate_symtab(), buildsym_compunit_symtab(), current_subfile, dwarf2_create_include_psymtab(), dwarf2_start_subfile(), dwarf_decode_lines_1(), line_header::file_names, file_entry::include_dir(), subfile::name, file_entry::name, dwarf2_cu::objfile, psymtab_include_file_name(), subfile::symtab, and file_entry::symtab.
Referenced by dwarf2_build_include_psymtabs(), and handle_DW_AT_stmt_list().
|
static |
Definition at line 20758 of file dwarf2read.c.
References _, line_header::add_file_name(), ANOFFSET, lnp_state_machine::check_line_address(), complaint, lnp_state_machine::current_file(), dwarf2_debug_line_missing_end_sequence_complaint(), dwarf2_start_subfile(), get_objfile_arch(), lnp_state_machine::handle_advance_line(), lnp_state_machine::handle_advance_pc(), lnp_state_machine::handle_const_add_pc(), lnp_state_machine::handle_copy(), lnp_state_machine::handle_end_sequence(), lnp_state_machine::handle_fixed_advance_pc(), lnp_state_machine::handle_negate_stmt(), lnp_state_machine::handle_set_address(), lnp_state_machine::handle_set_discriminator(), lnp_state_machine::handle_set_file(), lnp_state_machine::handle_special_opcode(), file_entry::include_dir(), file_entry::name, objfile::obfd, dwarf2_cu::objfile, line_header::opcode_base, read_1_byte(), read_2_bytes(), read_address(), read_direct_string(), read_signed_leb128(), read_unsigned_leb128(), lnp_state_machine::record_line(), SECT_OFF_TEXT, objfile::section_offsets, line_header::standard_opcode_lengths, line_header::statement_program_end, line_header::statement_program_start, and symfile_complaints.
Referenced by dwarf_decode_lines().
|
static |
Definition at line 24159 of file dwarf2read.c.
References _, dwarf2_section_info::buffer, complaint, DIAGNOSTIC_IGNORE_SWITCH_DIFFERENT_ENUM_TYPES, DIAGNOSTIC_POP, DIAGNOSTIC_PUSH, dwarf2_get_dwz_file(), dwarf2_read_section(), dwarf2_section_buffer_overflow_complaint(), dwarf_parse_macro_header(), gdb_assert, get_section_bfd_owner(), macro_source_file::included_by, dwz_file::line, dwz_file::macro, macro_start_file(), macro_undef(), offset, parse_macro_definition(), read_1_byte(), read_direct_string(), read_indirect_string_at_offset(), read_indirect_string_from_dwz(), read_offset_1(), read_unsigned_leb128(), dwarf2_section_info::section, dwarf2_section_info::size, skip_unknown_opcode(), and symfile_complaints.
Referenced by dwarf_decode_macros().
|
static |
Definition at line 24435 of file dwarf2read.c.
References _, complaint, DIAGNOSTIC_IGNORE_SWITCH_DIFFERENT_ENUM_TYPES, DIAGNOSTIC_POP, DIAGNOSTIC_PUSH, dwarf2_read_section(), dwarf_decode_macro_bytes(), dwarf_parse_macro_header(), get_section_bfd_owner(), dwarf2_cu::header, dwarf2_cu::line_header, dwarf2_per_objfile::macinfo, dwarf2_per_objfile::macro, macro_start_file(), offset, comp_unit_head::offset_size, read_1_byte(), read_direct_string(), read_unsigned_leb128(), dwarf2_section_info::section, skip_unknown_opcode(), symfile_complaints, xcalloc(), and xfree().
Referenced by read_file_scope().
|
static |
Definition at line 20642 of file dwarf2read.c.
References dwarf_line_debug, dwarf_record_line_1(), fprintf_unfiltered(), gdb_stdlog, subfile::name, and paddress().
Referenced by lnp_state_machine::record_line().
|
static |
Definition at line 22541 of file dwarf2read.c.
References attribute::form, and name.
Referenced by attr_to_dynamic_prop(), dump_die_shallow(), dwarf2_const_value_attr(), dwarf2_fetch_constant_bytes(), dwarf2_get_attr_constant_value(), dwarf2_get_ref_die_offset(), get_DW_AT_signature_type(), dw2_debug_names_iterator::next(), read_attribute_value(), set_die_type(), and skip_one_die().
|
static |
Definition at line 24100 of file dwarf2read.c.
References _, complaint, flags, memset(), read_1_byte(), read_2_bytes(), read_unsigned_leb128(), symfile_complaints, and version.
Referenced by dwarf_decode_macro_bytes(), and dwarf_decode_macros().
|
static |
Definition at line 20619 of file dwarf2read.c.
References dwarf_line_debug, fprintf_unfiltered(), gdb_stdlog, gdbarch_addr_bits_remove(), subfile::name, and paddress().
Referenced by dwarf_finish_line(), and lnp_state_machine::record_line().
|
static |
Definition at line 20599 of file dwarf2read.c.
References current_subfile.
Referenced by lnp_state_machine::record_line().
|
static |
Definition at line 22505 of file dwarf2read.c.
References name.
Referenced by dump_die_shallow(), new_symbol_full(), process_die(), read_import_statement(), and read_type_die_1().
|
static |
|
static |
Definition at line 11787 of file dwarf2read.c.
References dwo_file::comp_dir, and dwo_file::dwo_name.
Referenced by allocate_dwo_file_hash_table().
|
static |
Definition at line 11844 of file dwarf2read.c.
References dwo_unit::signature.
Referenced by allocate_dwo_unit_table().
|
static |
Definition at line 13103 of file dwarf2read.c.
References dwo_unit::signature.
Referenced by allocate_dwp_loaded_cutus_table().
|
static |
Definition at line 3015 of file dwarf2read.c.
References eq_stmt_list_entry(), and quick_file_names::hash.
Referenced by create_quick_file_names_table().
|
static |
Definition at line 6858 of file dwarf2read.c.
References signatured_type::signature.
Referenced by allocate_signatured_type_table().
|
static |
Definition at line 2989 of file dwarf2read.c.
References dwo_unit::dwo_file, stmt_list_hash::dwo_unit, and stmt_list_hash::line_sect_off.
Referenced by eq_file_name_entry(), and eq_type_unit_group().
|
static |
Definition at line 8060 of file dwarf2read.c.
References eq_stmt_list_entry().
Referenced by allocate_type_unit_groups_table().
|
static |
Definition at line 6707 of file dwarf2read.c.
References _, comp_unit_head::abbrev_sect_off, dwarf2_section_size(), error(), get_cu_length(), get_section_file_name(), comp_unit_head::length, comp_unit_head::sect_off, dwarf2_section_info::section, to_underlying(), and comp_unit_head::version.
Referenced by read_and_check_comp_unit_head().
|
static |
Definition at line 23722 of file dwarf2read.c.
References _, complaint, line_header::file_names, file_entry::include_dir(), file_entry::name, SLASH_STRING, symfile_complaints, and xsnprintf().
Referenced by file_full_name(), and macro_start_file().
|
static |
Definition at line 23761 of file dwarf2read.c.
References file_file_name(), and SLASH_STRING.
Referenced by dw2_get_file_names_reader().
|
static |
Definition at line 25459 of file dwarf2read.c.
References _, error(), and size.
Referenced by file_write().
|
static |
Definition at line 25469 of file dwarf2read.c.
References file_write().
|
static |
Definition at line 24732 of file dwarf2read.c.
References dwarf2_loclist_baton::base_address, dwarf2_cu::base_address, cu_debug_loc_section(), dwarf2_loclist_baton::data, DW_UNSND, dwarf2_read_section(), dwarf2_loclist_baton::from_dwo, gdb_assert, dwarf2_loclist_baton::per_cu, dwarf2_cu::per_cu, dwarf2_section_info::section, and dwarf2_loclist_baton::size.
Referenced by attr_to_dynamic_prop(), dwarf2_fetch_die_loc_sect_off(), and dwarf2_symbol_mark_computed().
|
static |
Definition at line 7155 of file dwarf2read.c.
References dwarf2_per_cu_quick_data::compunit_symtab, dwarf2_per_cu_data::cu, signatured_type::dwo_unit, gdb_assert, dwarf2_per_cu_data::length, dwo_unit::length, dwarf2_per_cu_data::objfile, signatured_type::per_cu, dwarf2_per_cu_data::psymtab, dwarf2_per_cu_data::queued, dwarf2_per_cu_data::quick, dwarf2_per_cu_data::reading_dwo_directly, dwarf2_per_cu_data::sect_off, dwo_unit::sect_off, dwarf2_per_cu_data::section, dwo_unit::section, signatured_type::signature, dwo_unit::signature, to_underlying(), signatured_type::type_offset_in_section, signatured_type::type_offset_in_tu, dwo_unit::type_offset_in_tu, signatured_type::type_unit_group, dwarf2_per_objfile::using_index, and dwarf2_per_cu_data::v.
Referenced by lookup_dwo_signatured_type(), lookup_dwp_signatured_type(), and process_skeletonless_type_unit().
|
static |
Definition at line 11411 of file dwarf2read.c.
References file_and_directory::comp_dir, file_and_directory::comp_dir_storage, dwarf2_string_attr(), ldirname(), file_and_directory::name, and producer_is_gcc_lt_4_3().
Referenced by dw2_get_file_names_reader(), and read_file_scope().
|
static |
Definition at line 18674 of file dwarf2read.c.
References _, dwarf2_per_cu_data::cu, dwarf2_find_containing_comp_unit(), error(), find_partial_die_in_comp_unit(), dwarf2_cu::header, internal_error(), dwarf2_per_cu_data::is_debug_types, dwarf2_per_cu_data::is_dwz, dwarf2_cu::last_used, dwarf2_per_cu_data::load_all_dies, load_partial_comp_unit(), objfile::obfd, dwarf2_cu::objfile, offset_in_cu_p(), dwarf2_cu::partial_dies, dwarf2_cu::per_cu, comp_unit_head::sect_off, partial_die_info::sect_off, and to_underlying().
Referenced by fixup_partial_die(), guess_partial_die_structure_name(), and partial_die_parent_scope().
|
static |
Definition at line 18655 of file dwarf2read.c.
References dwarf2_cu::partial_dies, partial_die_info::sect_off, and to_underlying().
Referenced by find_partial_die().
|
static |
Definition at line 25578 of file dwarf2read.c.
References hash(), INT_MAX, mapped_index_string_hash(), and name.
Referenced by add_index_entry(), and hash_expand().
|
static |
Definition at line 3606 of file dwarf2read.c.
References case_sensitive_off, case_sensitive_on, mapped_index::constant_pool, cp_remove_params(), current_language, hash(), language_defn::la_language, language_cplus, language_d, language_fortran, mapped_index_string_hash(), MAYBE_SWAP, name, mapped_index::symbol_table, and mapped_index::version.
Referenced by dw2_symtab_iter_init().
|
static |
Definition at line 10159 of file dwarf2read.c.
References _, add_symbol_to_list(), allocate_symbol(), complaint, global_symbols, go_symbol_package_name(), init_type(), language_go, LOC_BLOCK, LOC_TYPEDEF, pending::next, pending::nsyms, dwarf2_cu::objfile, objfile_name(), objfile::per_bfd, objfile_per_bfd_storage::storage_obstack, STRUCT_DOMAIN, pending::symbol, SYMBOL_ACLASS_INDEX, SYMBOL_CLASS, SYMBOL_DOMAIN, SYMBOL_LANGUAGE, SYMBOL_SET_LANGUAGE, SYMBOL_SET_NAMES, symbol_symtab(), SYMBOL_TYPE, symfile_complaints, symtab_to_filename_for_display(), type, TYPE_CODE_MODULE, TYPE_NAME, TYPE_TAG_NAME, and xfree().
Referenced by process_full_comp_unit(), and process_full_type_unit().
|
static |
Definition at line 18793 of file dwarf2read.c.
References CP_ANONYMOUS_NAMESPACE_STR, partial_die_info::die_parent, find_partial_die(), partial_die_info::fixup_called, gdb_demangle(), guess_partial_die_structure_name(), partial_die_info::has_children, partial_die_info::has_specification, partial_die_info::is_external, dwarf2_cu::language, language_cplus, partial_die_info::linkage_name, partial_die_info::name, dwarf2_cu::objfile, objfile::per_bfd, partial_die_info::spec_is_dwz, partial_die_info::spec_offset, objfile_per_bfd_storage::storage_obstack, partial_die_info::tag, VEC_empty, and xfree().
Referenced by add_partial_subprogram(), partial_die_full_name(), partial_die_parent_scope(), and scan_partial_symbols().
|
static |
Definition at line 22826 of file dwarf2read.c.
References dwarf2_per_cu_data::cu, dwarf2_cu::die_hash, dwarf2_cu::dies, dwarf2_find_containing_comp_unit(), gdb_assert, dwarf2_cu::header, dwarf2_per_cu_data::is_debug_types, dwarf2_per_cu_data::is_dwz, dwarf2_cu::language, language_minimal, load_full_comp_unit(), maybe_queue_comp_unit(), dwarf2_cu::objfile, offset_in_cu_p(), dwarf2_cu::per_cu, dwarf2_per_objfile::reading_partial_symbols, dwarf2_per_cu_data::sect_off, die_info::sect_off, and to_underlying().
Referenced by dwarf2_fetch_constant_bytes(), dwarf2_fetch_die_loc_sect_off(), dwarf2_fetch_die_type_sect_off(), and follow_die_ref().
|
static |
Definition at line 22877 of file dwarf2read.c.
References _, dwarf2_get_ref_die_offset(), error(), follow_die_offset(), attribute::form, dwarf2_per_cu_data::is_dwz, dwarf2_cu::objfile, objfile_name(), dwarf2_cu::per_cu, die_info::sect_off, and to_underlying().
Referenced by attr_to_dynamic_prop(), die_specification(), dwarf2_attr(), dwarf2_extension(), follow_die_ref_or_sig(), get_DW_AT_signature_type(), inherit_abstract_dies(), lookup_die_type(), partial_die_full_name(), read_call_site_scope(), read_namespace_alias(), read_subroutine_type(), and rust_containing_type().
|
static |
Definition at line 22801 of file dwarf2read.c.
References _, attr_form_is_ref(), dump_die_for_error(), error(), follow_die_ref(), follow_die_sig(), attribute::form, and objfile_name().
Referenced by read_import_statement().
|
static |
Definition at line 23227 of file dwarf2read.c.
References _, dump_die_for_error(), DW_SIGNATURE, error(), follow_die_sig_1(), attribute::form, gdb_assert, hex_string(), lookup_signatured_type(), objfile_name(), die_info::sect_off, and to_underlying().
Referenced by follow_die_ref_or_sig().
|
static |
Definition at line 23179 of file dwarf2read.c.
References dwarf2_per_cu_data::cu, dwarf2_cu::die_hash, gdb_assert, dwarf2_per_objfile::index_table, language_minimal, maybe_queue_comp_unit(), dwarf2_cu::per_cu, signatured_type::per_cu, read_signatured_type(), die_info::sect_off, to_underlying(), signatured_type::type_offset_in_section, VEC_safe_push, and mapped_index::version.
Referenced by follow_die_sig(), and get_signatured_type().
|
static |
Definition at line 25038 of file dwarf2read.c.
References dwarf2_per_objfile::free_cached_comp_units().
Referenced by dw2_instantiate_symtab(), and dwarf2_build_psymtabs_hard().
|
static |
Definition at line 10072 of file dwarf2read.c.
References VEC_free.
Referenced by process_full_comp_unit(), and process_full_type_unit().
Definition at line 13484 of file dwarf2read.c.
References dwo_file::dbfd, gdb_bfd_unref(), dwo_file::sections, and VEC_free.
Referenced by free_dwo_file_cleanup(), and free_dwo_file_from_slot().
|
static |
Definition at line 13496 of file dwarf2read.c.
References free_dwo_file().
Referenced by open_and_init_dwo_file().
|
static |
Definition at line 13507 of file dwarf2read.c.
References free_dwo_file().
Referenced by free_dwo_files().
|
static |
Definition at line 13520 of file dwarf2read.c.
References free_dwo_file_from_slot().
Referenced by dwarf2_per_objfile_free().
|
static |
Definition at line 25005 of file dwarf2read.c.
References dwarf2_cu::comp_unit_obstack, dwarf2_per_cu_data::cu, gdb_assert, dwarf2_cu::per_cu, and xfree().
Referenced by age_cached_comp_units(), dwarf2_per_objfile::free_cached_comp_units(), free_one_cached_comp_unit(), init_cutu_and_read_dies(), and init_tu_and_read_dwo_dies().
|
static |
Definition at line 19910 of file dwarf2read.c.
Referenced by handle_DW_AT_stmt_list().
|
static |
Definition at line 25084 of file dwarf2read.c.
References dwarf2_per_cu_data::cu, free_heap_comp_unit(), dwarf2_per_objfile::read_in_chain, and dwarf2_cu::read_in_chain.
Referenced by dwarf2_release_queue(), and process_psymtab_comp_unit().
|
static |
Definition at line 25023 of file dwarf2read.c.
References dwarf2_cu::comp_unit_obstack, dwarf2_per_cu_data::cu, gdb_assert, dwarf2_cu::partial_dies, and dwarf2_cu::per_cu.
Referenced by init_cutu_and_read_dies_no_follow().
|
static |
Definition at line 6690 of file dwarf2read.c.
References dwarf2_per_objfile::abbrev, dwz_file::abbrev, dwarf2_get_dwz_file(), and dwarf2_per_cu_data::is_dwz.
Referenced by init_cutu_and_read_dies(), and init_cutu_and_read_dies_no_follow().
|
static |
Definition at line 10229 of file dwarf2read.c.
References partial_symtab::compunit_symtab, dwarf2_per_cu_quick_data::compunit_symtab, dwarf2_per_cu_data::psymtab, dwarf2_per_cu_data::quick, dwarf2_per_objfile::using_index, and dwarf2_per_cu_data::v.
Referenced by compute_compunit_symtab_includes(), and recursively_compute_inclusions().
|
static |
Definition at line 2450 of file dwarf2read.c.
References gdb_assert, and dwarf2_section_info::section.
Referenced by dwarf2_read_section(), get_section_bfd_owner(), and get_section_bfd_section().
|
static |
Definition at line 6545 of file dwarf2read.c.
References comp_unit_head::initial_length_size, and comp_unit_head::length.
Referenced by create_debug_type_hash_table(), error_check_comp_unit_head(), init_cutu_and_read_dies(), init_cutu_and_read_dies_no_follow(), offset_in_cu_p(), and read_cutu_die_from_dwo().
|
static |
Definition at line 19943 of file dwarf2read.c.
References dwarf2_get_dwz_file(), dwarf2_per_cu_data::is_debug_types, dwarf2_per_cu_data::is_dwz, dwarf2_per_objfile::line, dwz_file::line, dwarf2_cu::per_cu, and dwarf2_section_info::section.
Referenced by lnp_state_machine::check_line_address(), and dwarf_decode_line_header().
Definition at line 25301 of file dwarf2read.c.
References get_die_type_at_offset(), dwarf2_cu::per_cu, and die_info::sect_off.
Referenced by process_enumeration_scope(), process_structure_scope(), read_array_type(), read_call_site_scope(), read_set_type(), read_structure_type(), read_subrange_type(), read_subroutine_type(), read_tag_atomic_type(), read_tag_const_type(), read_tag_pointer_type(), read_tag_ptr_to_member_type(), read_tag_reference_type(), read_tag_restrict_type(), read_tag_volatile_type(), and read_type_die().
|
static |
Definition at line 25279 of file dwarf2read.c.
References dwarf2_per_objfile::die_type_hash, dwarf2_per_cu_offset_and_type::per_cu, dwarf2_per_cu_offset_and_type::sect_off, and dwarf2_per_cu_offset_and_type::type.
Referenced by dwarf2_get_die_type(), get_die_type(), lookup_die_type(), and read_namespace_alias().
|
static |
Definition at line 23325 of file dwarf2read.c.
References _, attr_form_is_ref(), build_error_marker_type(), complaint, DW_SIGNATURE, dwarf_form_name(), follow_die_ref(), attribute::form, get_signatured_type(), objfile_name(), read_type_die(), die_info::sect_off, symfile_complaints, and to_underlying().
Referenced by read_enumeration_type(), and read_structure_type().
|
static |
Definition at line 13262 of file dwarf2read.c.
References dwarf2_per_objfile::dwp_checked, dwarf2_per_objfile::dwp_file, and open_and_init_dwp_file().
Referenced by dw2_do_instantiate_symtab(), lookup_dwo_cutu(), lookup_dwp_signatured_type(), lookup_signatured_type(), process_skeletonless_type_units(), and queue_and_load_all_dwo_tus().
|
static |
Definition at line 14755 of file dwarf2read.c.
References die_info::child, dwarf2_get_pc_bounds(), dwarf2_get_subprogram_pc_bounds(), PC_BOUNDS_RANGES, sibling_die(), and die_info::tag.
Referenced by process_full_comp_unit(), and read_file_scope().
|
static |
Definition at line 2459 of file dwarf2read.c.
References gdb_assert, get_containing_section(), dwarf2_section_info::is_virtual, dwarf2_section_info::s, and dwarf2_section_info::section.
Referenced by abbrev_table_read_table(), create_debug_type_hash_table(), dwarf2_read_section(), dwarf_decode_line_header(), dwarf_decode_macro_bytes(), dwarf_decode_macros(), get_section_file_name(), get_section_name(), init_cu_die_reader(), init_cutu_and_read_dies(), init_cutu_and_read_dies_no_follow(), read_abbrev_offset(), read_comp_unit_head(), read_cutu_die_from_dwo(), and read_debug_names_from_section().
|
static |
Definition at line 2473 of file dwarf2read.c.
References gdb_assert, get_containing_section(), dwarf2_section_info::is_virtual, dwarf2_section_info::s, and dwarf2_section_info::section.
Referenced by create_dwp_v2_section(), dwarf2_get_section_info(), dwarf2_read_section(), get_section_flags(), get_section_id(), and get_section_name().
|
static |
Definition at line 2497 of file dwarf2read.c.
References get_section_bfd_owner().
Referenced by create_cus_hash_table(), create_debug_type_hash_table(), dwarf2_read_section(), dwarf2_section_buffer_overflow_complaint(), error_check_comp_unit_head(), read_comp_unit_head(), and read_comp_units_from_section().
|
static |
Definition at line 2521 of file dwarf2read.c.
References gdb_assert, and get_section_bfd_section().
Referenced by read_debug_names_from_section(), and read_index_from_section().
|
static |
Definition at line 2508 of file dwarf2read.c.
References get_section_bfd_section().
Referenced by create_dwo_unit_in_dwp_v1().
|
static |
Definition at line 2486 of file dwarf2read.c.
References gdb_assert, get_section_bfd_owner(), and get_section_bfd_section().
Referenced by create_cus_hash_table(), create_debug_type_hash_table(), dwarf2_read_section(), dwarf2_section_buffer_overflow_complaint(), read_comp_units_from_section(), read_cutu_die_from_dwo(), read_die_and_siblings(), read_full_die(), and skip_form_bytes().
|
static |
Definition at line 23264 of file dwarf2read.c.
References _, build_error_marker_type(), complaint, follow_die_sig_1(), hex_string(), lookup_signatured_type(), objfile_name(), read_type_die(), die_info::sect_off, symfile_complaints, to_underlying(), type, and signatured_type::type.
Referenced by get_DW_AT_signature_type(), and lookup_die_type().
|
static |
Definition at line 8137 of file dwarf2read.c.
References allocate_type_unit_groups_table(), create_type_unit_group(), DW_UNSND, gdb_assert, NO_STMT_LIST_TYPE_UNIT_PSYMTAB, NO_STMT_LIST_TYPE_UNIT_PSYMTAB_SIZE, tu_stats::nr_stmt_less_type_units, tu_stats::nr_symtab_sharers, and tu_stats::nr_symtabs.
Referenced by build_type_psymtabs_reader(), and setup_type_unit_groups().
Definition at line 22038 of file dwarf2read.c.
References die_info::child, die_specification(), dw2_linkage_name(), dwarf2_name(), language_class_name_from_physname(), dwarf2_cu::language_defn, name, dwarf2_cu::objfile, objfile::per_bfd, die_info::sibling, objfile_per_bfd_storage::storage_obstack, die_info::tag, and xfree().
Referenced by determine_prefix().
|
static |
Definition at line 18741 of file dwarf2read.c.
References partial_die_info::die_child, partial_die_info::die_parent, partial_die_info::die_sibling, find_partial_die(), partial_die_info::has_specification, language_class_name_from_physname(), dwarf2_cu::language_defn, partial_die_info::linkage_name, partial_die_info::name, dwarf2_cu::objfile, objfile::per_bfd, partial_die_info::spec_is_dwz, partial_die_info::spec_offset, objfile_per_bfd_storage::storage_obstack, partial_die_info::tag, and xfree().
Referenced by fixup_partial_die().
|
static |
Definition at line 14966 of file dwarf2read.c.
References attr_form_is_block(), attr_form_is_constant(), attr_form_is_section_offset(), decode_locdesc(), DW_BLOCK, dwarf2_attr(), dwarf2_complex_location_expr_complaint(), dwarf2_get_attr_constant_value(), and offset.
Referenced by attr_to_dynamic_prop(), and dwarf2_add_field().
|
static |
Definition at line 11450 of file dwarf2read.c.
References dummy_obstack_deallocate(), DW_UNSND, dwarf2_attr(), dwarf_decode_line_header(), dwarf_decode_lines(), free_line_header_voidp(), gdb_assert, hashtab_obstack_allocate(), dwarf2_per_cu_data::is_debug_types, dwarf2_per_cu_data::is_dwz, dwarf2_cu::line_header, dwarf2_cu::line_header_die_owner, line_header_eq_voidp(), line_header_hash(), line_header_hash_voidp(), line_header::offset_in_dwz, dwarf2_cu::per_cu, line_header::sect_off, and die_info::tag.
Referenced by read_file_scope().
|
static |
Definition at line 11775 of file dwarf2read.c.
References dwo_file::comp_dir, dwo_file::dwo_name, and hash().
Referenced by allocate_dwo_file_hash_table().
|
static |
Definition at line 11835 of file dwarf2read.c.
References dwo_unit::signature.
Referenced by allocate_dwo_unit_table().
|
static |
Definition at line 13092 of file dwarf2read.c.
References dwo_unit::signature.
Referenced by allocate_dwp_loaded_cutus_table().
|
static |
Definition at line 25597 of file dwarf2read.c.
References find_slot().
Referenced by add_index_entry().
|
static |
Definition at line 3004 of file dwarf2read.c.
References quick_file_names::hash, and hash_stmt_list_entry().
Referenced by create_quick_file_names_table().
|
static |
Definition at line 6848 of file dwarf2read.c.
References signatured_type::signature.
Referenced by allocate_signatured_type_table().
|
static |
Definition at line 2976 of file dwarf2read.c.
References dwo_unit::dwo_file, stmt_list_hash::dwo_unit, stmt_list_hash::line_sect_off, and to_underlying().
Referenced by hash_file_name_entry(), and hash_type_unit_group().
|
static |
Definition at line 8051 of file dwarf2read.c.
References hash_stmt_list_entry().
Referenced by allocate_type_unit_groups_table().
Definition at line 13533 of file dwarf2read.c.
References _, die_info::child, complaint, dwarf2_attr(), follow_die_ref(), die_info::in_process, dwarf2_cu::list_in_scope, die_info::parent, process_die(), die_info::sect_off, sibling_die(), symfile_complaints, die_info::tag, and to_underlying().
Referenced by read_func_scope(), and read_lexical_block_scope().
|
static |
Definition at line 7342 of file dwarf2read.c.
References die_reader_specs::abfd, dwarf2_section_info::buffer, die_reader_specs::buffer, die_reader_specs::buffer_end, die_reader_specs::comp_dir, die_reader_specs::cu, die_reader_specs::die_section, die_reader_specs::dwo_file, gdb_assert, get_section_bfd_owner(), dwarf2_section_info::readin, and dwarf2_section_info::size.
Referenced by init_cutu_and_read_dies(), init_cutu_and_read_dies_no_follow(), and read_cutu_die_from_dwo().
|
static |
Definition at line 7724 of file dwarf2read.c.
References _, comp_unit_head::abbrev_sect_off, dwarf2_cu::abbrev_table, COMPILE, complaint, dwarf2_per_cu_data::cu, discard_cleanups(), do_cleanups(), dwarf2_attr(), dwarf2_free_abbrev_table(), dwarf2_read_abbrevs(), dwarf2_read_section(), dwarf_die_debug, dwarf2_per_cu_data::dwarf_version, comp_unit_head::first_die_cu_offset, fprintf_unfiltered(), free_heap_comp_unit(), gdb_assert, gdb_stdlog, get_abbrev_section_for_cu(), get_cu_length(), get_section_bfd_owner(), dwarf2_cu::header, init_cu_die_reader(), init_one_comp_unit(), init_tu_and_read_dwo_dies(), dwarf2_per_cu_data::is_debug_types, dwarf2_per_cu_data::length, lookup_dwo_unit(), make_cleanup(), null_cleanup(), peek_abbrev_code(), read_and_check_comp_unit_head(), read_cutu_die_from_dwo(), read_full_die(), dwarf2_per_objfile::read_in_chain, dwarf2_cu::read_in_chain, dwarf2_per_cu_data::reading_dwo_directly, comp_unit_head::sect_off, dwarf2_per_cu_data::sect_off, abbrev_table::sect_off, dwarf2_section_info::section, dwarf2_per_cu_data::section, comp_unit_head::signature, signatured_type::signature, symfile_complaints, to_underlying(), TYPE, comp_unit_head::type_cu_offset_in_tu, signatured_type::type_offset_in_section, signatured_type::type_offset_in_tu, comp_unit_head::version, and XNEW.
Referenced by build_type_psymtabs_1(), dwarf2_read_addr_index(), load_full_comp_unit(), load_partial_comp_unit(), process_psymtab_comp_unit(), process_skeletonless_type_unit(), and read_signatured_type().
|
static |
Definition at line 7963 of file dwarf2read.c.
References dwo_sections::abbrev, dwarf2_section_info::buffer, COMPILE, dwarf2_per_cu_data::cu, do_cleanups(), dwarf2_free_abbrev_table(), dwarf2_read_abbrevs(), dwarf2_read_section(), dwarf_die_debug, fprintf_unfiltered(), free_stack_comp_unit(), gdb_assert, gdb_stdlog, get_abbrev_section_for_cu(), get_cu_length(), get_section_bfd_owner(), dwarf2_cu::header, init_cu_die_reader(), init_one_comp_unit(), dwarf2_per_cu_data::is_debug_types, dwarf2_per_cu_data::length, make_cleanup(), peek_abbrev_code(), read_and_check_comp_unit_head(), read_full_die(), dwarf2_per_cu_data::sect_off, dwarf2_section_info::section, dwarf2_per_cu_data::section, dwo_file::sections, to_underlying(), and TYPE.
Referenced by create_cus_hash_table(), and init_cutu_and_read_dies_simple().
|
static |
Definition at line 8035 of file dwarf2read.c.
References init_cutu_and_read_dies_no_follow().
Referenced by dw2_get_file_names().
|
static |
Definition at line 24968 of file dwarf2read.c.
References dwarf2_cu::comp_unit_obstack, dwarf2_per_cu_data::cu, memset(), dwarf2_cu::objfile, dwarf2_per_cu_data::objfile, and dwarf2_cu::per_cu.
Referenced by init_cutu_and_read_dies(), init_cutu_and_read_dies_no_follow(), and init_tu_and_read_dwo_dies().
|
static |
Definition at line 7623 of file dwarf2read.c.
References dwo_file::comp_dir, dwarf2_per_cu_data::cu, discard_cleanups(), do_cleanups(), dwarf2_free_abbrev_table(), dwo_unit::dwo_file, signatured_type::dwo_unit, free_heap_comp_unit(), gdb_assert, init_one_comp_unit(), dwarf2_per_cu_data::is_debug_types, make_cleanup(), null_cleanup(), read_cutu_die_from_dwo(), dwarf2_per_objfile::read_in_chain, dwarf2_cu::read_in_chain, dwarf2_per_cu_data::reading_dwo_directly, and XNEW.
Referenced by init_cutu_and_read_dies().
|
static |
Definition at line 18127 of file dwarf2read.c.
Referenced by load_partial_dies().
|
static |
Definition at line 15640 of file dwarf2read.c.
References is_cplus_marker(), name, and startswith().
Referenced by process_structure_scope().
|
static |
Definition at line 19712 of file dwarf2read.c.
Referenced by locexpr_describe_location_piece(), and var_decode_location().
|
static |
Definition at line 2326 of file dwarf2read.c.
References line_header::offset_in_dwz, and line_header::sect_off.
Referenced by handle_DW_AT_stmt_list().
|
static |
Definition at line 2308 of file dwarf2read.c.
References line_header::offset_in_dwz, line_header::sect_off, and to_underlying().
Referenced by handle_DW_AT_stmt_list(), line_header_hash_voidp(), and dwarf2_per_objfile::~dwarf2_per_objfile().
|
static |
Definition at line 2316 of file dwarf2read.c.
References line_header_hash().
Referenced by handle_DW_AT_stmt_list().
|
static |
Definition at line 3057 of file dwarf2read.c.
References dwarf2_per_cu_data::cu, dwarf2_cu::dies, dwarf2_find_base_address(), dwarf2_per_cu_data::is_debug_types, language_minimal, load_full_comp_unit(), and load_full_type_unit().
Referenced by dw2_do_instantiate_symtab(), dwarf2_fetch_constant_bytes(), dwarf2_fetch_die_loc_sect_off(), and dwarf2_fetch_die_type_sect_off().
|
static |
Definition at line 10044 of file dwarf2read.c.
References gdb_assert, init_cutu_and_read_dies(), dwarf2_per_cu_data::is_debug_types, and load_full_comp_unit_reader().
Referenced by follow_die_offset(), load_cu(), and process_imported_unit_die().
|
static |
Definition at line 10007 of file dwarf2read.c.
References die_info::child, dwarf2_cu::comp_unit_obstack, die_reader_specs::cu, die_eq(), dwarf2_cu::die_hash, die_hash(), dwarf2_cu::dies, dummy_obstack_deallocate(), gdb_assert, hashtab_obstack_allocate(), dwarf2_cu::header, comp_unit_head::length, prepare_one_comp_unit(), and read_die_and_siblings().
Referenced by load_full_comp_unit().
|
static |
Definition at line 23354 of file dwarf2read.c.
References dwarf2_per_cu_data::cu, gdb_assert, dwarf2_per_cu_data::is_debug_types, IS_TYPE_UNIT_GROUP, signatured_type::per_cu, and read_signatured_type().
Referenced by load_cu(), and queue_and_load_dwo_tu().
|
static |
Definition at line 8827 of file dwarf2read.c.
References init_cutu_and_read_dies(), and load_partial_comp_unit_reader().
Referenced by find_partial_die().
|
static |
Definition at line 8806 of file dwarf2read.c.
References die_reader_specs::cu, language_minimal, load_partial_dies(), and prepare_one_comp_unit().
Referenced by load_partial_comp_unit().
|
static |
Definition at line 18158 of file dwarf2read.c.
References _, add_psymbol_to_list(), dwarf2_cu::comp_unit_obstack, complaint, die_reader_specs::cu, partial_die_info::die_child, partial_die_info::die_parent, partial_die_info::die_sibling, dummy_obstack_deallocate(), gdb_assert, objfile::global_psymbols, partial_die_info::has_children, partial_die_info::has_specification, partial_die_info::has_template_arguments, hashtab_obstack_allocate(), dwarf2_cu::header, partial_die_info::is_declaration, is_type_tag_for_partial(), dwarf2_cu::language, language_ada, language_c, language_cplus, comp_unit_head::length, dwarf2_per_cu_data::load_all_dies, LOC_CONST, LOC_TYPEDEF, locate_pdi_sibling(), partial_die_info::name, dwarf2_cu::objfile, objfile_name(), partial_die_eq(), partial_die_hash(), dwarf2_cu::partial_dies, peek_die_abbrev(), dwarf2_cu::per_cu, read_partial_die(), partial_die_info::sect_off, skip_one_die(), objfile::static_psymbols, symfile_complaints, partial_die_info::tag, abbrev_info::tag, to_underlying(), and VAR_DOMAIN.
Referenced by build_type_psymtabs_reader(), load_partial_comp_unit_reader(), and process_psymtab_comp_unit_reader().
|
static |
Definition at line 2812 of file dwarf2read.c.
References dwarf2_debug_sections::abbrev, dwz_file::abbrev, dwarf2_debug_sections::debug_names, dwz_file::debug_names, dwarf2_elf_names, dwarf2_debug_sections::gdb_index, dwz_file::gdb_index, dwarf2_debug_sections::info, dwz_file::info, dwarf2_debug_sections::line, dwz_file::line, dwarf2_debug_sections::macro, dwz_file::macro, dwarf2_section_info::s, dwarf2_section_info::section, section_is_p(), dwarf2_section_info::size, dwarf2_debug_sections::str, and dwz_file::str.
Referenced by dwarf2_get_dwz_file().
|
static |
Definition at line 9691 of file dwarf2read.c.
References partial_die_info::has_children, partial_die_info::sibling, and skip_children().
Referenced by load_partial_dies().
|
static |
Definition at line 12289 of file dwarf2read.c.
References virtual_v1_dwo_sections::abbrev, dwop_section_names::abbrev_dwo, dwop_section_names, dwop_section_names::info_dwo, virtual_v1_dwo_sections::info_or_types, virtual_v1_dwo_sections::line, dwop_section_names::line_dwo, virtual_v1_dwo_sections::loc, dwop_section_names::loc_dwo, virtual_v1_dwo_sections::macinfo, dwop_section_names::macinfo_dwo, virtual_v1_dwo_sections::macro, dwop_section_names::macro_dwo, dwarf2_section_info::s, dwarf2_section_info::section, section_is_p(), dwarf2_section_info::size, virtual_v1_dwo_sections::str_offsets, dwop_section_names::str_offsets_dwo, and dwop_section_names::types_dwo.
Referenced by create_dwo_unit_in_dwp_v1().
|
static |
Definition at line 21857 of file dwarf2read.c.
References _, attr_form_is_ref(), build_error_marker_type(), complaint, dwarf2_per_cu_data::cu, DW_SIGNATURE, dwarf2_find_containing_comp_unit(), dwarf2_get_ref_die_offset(), dwarf_attr_name(), follow_die_ref(), attribute::form, gdb_assert, get_die_type_at_offset(), get_signatured_type(), attribute::name, dwarf2_cu::objfile, objfile_name(), dwarf2_cu::per_cu, read_type_die(), dwarf2_per_cu_data::sect_off, die_info::sect_off, symfile_complaints, and to_underlying().
Referenced by die_containing_type(), die_descriptive_type(), and die_type().
|
static |
Definition at line 13413 of file dwarf2read.c.
References lookup_dwo_cutu(), and dwo_unit::signature.
Referenced by lookup_dwo_unit().
|
static |
Definition at line 13289 of file dwarf2read.c.
References _, dwo_file::cus, dwp_file::cus, dwarf_read_debug, fprintf_unfiltered(), gdb_stdlog, get_dwp_file(), hex_string(), host_address_to_string, dwarf2_per_cu_data::is_debug_types, lookup_dwo_file_slot(), lookup_dwo_unit_in_dwp(), memset(), dwp_file::name, objfile_name(), open_and_init_dwo_file(), dwarf2_per_cu_data::sect_off, dwo_unit::signature, string, string_printf(), to_underlying(), dwo_file::tus, dwp_file::tus, and warning().
Referenced by lookup_dwo_comp_unit(), and lookup_dwo_type_unit().
|
static |
Definition at line 11818 of file dwarf2read.c.
References allocate_dwo_file_hash_table(), dwo_file::comp_dir, dwarf2_per_objfile::dwo_files, dwo_file::dwo_name, find_entry(), and memset().
Referenced by create_dwo_unit_in_dwp_v1(), create_dwo_unit_in_dwp_v2(), and lookup_dwo_cutu().
|
static |
Definition at line 7196 of file dwarf2read.c.
References add_type_unit(), allocate_signatured_type_table(), fill_in_sig_entry_from_dwo_entry(), gdb_assert, signatured_type::per_cu, signatured_type::signature, dwo_unit::signature, dwarf2_per_objfile::signatured_types, dwarf2_per_cu_data::tu_read, dwo_file::tus, and dwarf2_per_objfile::using_index.
Referenced by lookup_signatured_type(), and queue_and_load_dwo_tu().
|
static |
Definition at line 13424 of file dwarf2read.c.
References lookup_dwo_cutu(), signatured_type::per_cu, and signatured_type::signature.
Referenced by lookup_dwo_unit().
|
static |
Definition at line 7572 of file dwarf2read.c.
References _, dwarf2_per_cu_data::cu, DW_UNSND, dwarf2_attr(), dwarf2_string_attr(), error(), gdb_assert, dwarf2_per_cu_data::is_debug_types, lookup_dwo_comp_unit(), lookup_dwo_type_unit(), dwarf2_per_cu_data::objfile, objfile_name(), signatured_type::signature, and attribute::signature.
Referenced by init_cutu_and_read_dies().
|
static |
Definition at line 12732 of file dwarf2read.c.
References _, create_dwo_unit_in_dwp_v1(), create_dwo_unit_in_dwp_v2(), dwp_file::cus, dwp_file::dbfd, error(), hash(), dwp_hash_table::hash_table, dwp_file::loaded_cus, dwp_file::loaded_tus, memset(), dwp_file::name, dwp_hash_table::nr_slots, read_4_bytes(), read_8_bytes(), dwo_unit::signature, dwp_file::tus, dwp_hash_table::unit_table, and dwp_file::version.
Referenced by lookup_dwo_cutu(), and lookup_dwp_signatured_type().
|
static |
Definition at line 7264 of file dwarf2read.c.
References add_type_unit(), allocate_signatured_type_table(), fill_in_sig_entry_from_dwo_entry(), gdb_assert, get_dwp_file(), lookup_dwo_unit_in_dwp(), signatured_type::signature, dwarf2_per_objfile::signatured_types, dwp_file::tus, and dwarf2_per_objfile::using_index.
Referenced by lookup_signatured_type().
|
static |
Definition at line 7312 of file dwarf2read.c.
References find_entry(), get_dwp_file(), lookup_dwo_signatured_type(), lookup_dwp_signatured_type(), dwarf2_per_objfile::signatured_types, and dwarf2_per_objfile::using_index.
Referenced by follow_die_sig(), and get_signatured_type().
|
static |
Definition at line 23780 of file dwarf2read.c.
References file_file_name(), get_macro_table(), macro_define_special(), macro_include(), macro_set_main(), and xfree().
Referenced by dwarf_decode_macro_bytes(), and dwarf_decode_macros().
|
static |
Definition at line 4566 of file dwarf2read.c.
References string.
Referenced by mapped_index_base::find_name_components_bounds().
|
static |
Definition at line 3584 of file dwarf2read.c.
Referenced by find_slot(), find_slot_in_mapped_hash(), and c_str_view_hasher::operator()().
|
static |
Definition at line 16504 of file dwarf2read.c.
References comp_unit_head::addr_size, attr_form_is_block(), attr_form_is_constant(), dwarf2_locexpr_baton::data, DW_BLOCK, dwarf2_get_attr_constant_value(), dwarf2_locexpr_index, gdb_assert, gdbarch_byte_order(), get_objfile_arch(), dwarf2_cu::header, offset, dwarf2_locexpr_baton::per_cu, dwarf2_cu::per_cu, dwarf2_per_cu_data::sect_off, die_info::sect_off, dwarf2_locexpr_baton::size, size, store_unsigned_integer(), SYMBOL_ACLASS_INDEX, and SYMBOL_LOCATION_BATON.
Referenced by read_common_block().
|
static |
Definition at line 9797 of file dwarf2read.c.
References dwarf2_per_cu_data::cu, dwarf2_cu::dies, dwarf2_add_dependence(), dwarf2_cu::last_used, dwarf2_queue_item::per_cu, dwarf2_queue_item::pretend_language, queue_comp_unit(), dwarf2_per_cu_data::queued, and dwarf2_per_objfile::reading_partial_symbols.
Referenced by follow_die_offset(), follow_die_sig_1(), process_imported_unit_die(), and queue_and_load_dwo_tu().
|
static |
Definition at line 16796 of file dwarf2read.c.
References CP_ANONYMOUS_NAMESPACE_STR, dwarf2_extension(), dwarf2_string_attr(), and name.
Referenced by gen_maybe_namespace_elt(), read_namespace(), read_namespace_type(), and value_maybe_namespace_elt().
|
static |
Definition at line 21771 of file dwarf2read.c.
Referenced by set_die_type().
|
static |
Definition at line 21568 of file dwarf2read.c.
References new_symbol_full().
Referenced by c_print_typedef(), dwarf2_add_field(), m2_print_typedef(), pascal_print_typedef(), process_die(), process_enumeration_scope(), process_structure_scope(), read_common_block(), read_func_scope(), read_module(), read_namespace(), read_namespace_alias(), and rust_print_typedef().
|
static |
Definition at line 21184 of file dwarf2read.c.
References _, add_symbol_to_list(), allocate_symbol(), ANOFFSET, attr_value_as_address(), objfile_type::builtin_core_addr, objfile_type::builtin_int, COMMON_BLOCK_DOMAIN, complaint, context_stack_depth, cp_scan_for_anonymous_namespaces(), die_is_declaration(), die_type(), DW_UNSND, dwarf2_attr(), dwarf2_const_value(), dwarf2_full_name(), dwarf2_name(), dwarf2_physname(), dwarf_tag_name(), line_header::file_name_at(), file_symbols, gdb_assert, gdbarch_adjust_dwarf2_addr(), get_objfile_arch(), symbol::ginfo, global_symbols, dwarf2_per_objfile::has_section_at_zero, symbol::hash_next, LABEL_DOMAIN, dwarf2_cu::language, language_ada, language_cplus, language_d, language_fortran, language_rust, dwarf2_cu::line_header, dwarf2_cu::list_in_scope, LOC_BLOCK, LOC_COMMON_BLOCK, LOC_LABEL, LOC_OPTIMIZED_OUT, LOC_STATIC, LOC_TYPEDEF, LOC_UNRESOLVED, MODULE_DOMAIN, name, dwarf2_cu::objfile, objfile_type(), OBJSTAT, die_info::parent, dwarf2_cu::producer, SECT_OFF_TEXT, objfile::section_offsets, startswith(), STRUCT_DOMAIN, SYMBOL_ACLASS_INDEX, SYMBOL_CLASS, SYMBOL_DOMAIN, symbol_get_demangled_name(), SYMBOL_INLINED, SYMBOL_IS_ARGUMENT, SYMBOL_LINE, SYMBOL_SEARCH_NAME, symbol_set_demangled_name(), SYMBOL_SET_LANGUAGE, SYMBOL_SET_NAMES, symbol_set_symtab(), SYMBOL_TYPE, SYMBOL_VALUE_ADDRESS, symfile_complaints, file_entry::symtab, die_info::tag, objfile::template_symbols, type, TYPE_CODE, TYPE_CODE_VOID, TYPE_NAME, var_decode_location(), and VAR_DOMAIN.
Referenced by new_symbol(), read_func_scope(), and read_variable().
Definition at line 20563 of file dwarf2read.c.
Referenced by lnp_state_machine::check_line_address().
|
inlinestatic |
Definition at line 6553 of file dwarf2read.c.
References get_cu_length(), comp_unit_head::sect_off, and dwarf2_per_cu_data::sect_off.
Referenced by find_partial_die(), follow_die_offset(), and read_call_site_scope().
|
static |
Definition at line 12957 of file dwarf2read.c.
References dwo_file::comp_dir, create_cus_hash_table(), create_debug_types_hash_table(), dwo_file::cus, dwo_file::dbfd, discard_cleanups(), dwarf2_locate_dwo_sections(), dwarf_read_debug, dwo_file::dwo_name, fprintf_unfiltered(), free_dwo_file_cleanup(), gdb_stdlog, dwo_sections::info, make_cleanup(), OBSTACK_ZALLOC, open_dwo_file(), gdb::ref_ptr< T, Policy >::release(), dwo_file::sections, and dwo_file::tus.
Referenced by lookup_dwo_cutu().
|
static |
Definition at line 13164 of file dwarf2read.c.
References _, allocate_dwp_loaded_cutus_table(), create_dwp_hash_table(), dwp_file::cus, dwp_file::dbfd, dwarf2_locate_common_dwp_sections(), dwarf2_locate_v2_dwp_sections(), dwarf_read_debug, dwp_file::elf_sections, error(), fprintf_unfiltered(), gdb_stdlog, gdb::ref_ptr< T, Policy >::get(), ldirname(), dwp_file::loaded_cus, dwp_file::loaded_tus, dwp_file::name, dwp_hash_table::nr_units, dwp_file::num_sections, objfile_name(), OBSTACK_CALLOC, OBSTACK_ZALLOC, open_dwp_file(), objfile::original_name, pulongest(), gdb::ref_ptr< T, Policy >::release(), objfile::separate_debug_objfile_backlink, SLASH_STRING, string, dwp_file::tus, dwp_hash_table::version, and dwp_file::version.
Referenced by get_dwp_file().
|
static |
Definition at line 12861 of file dwarf2read.c.
References debug_file_directory, SLASH_STRING, try_open_dwop_file(), and xfree().
Referenced by open_and_init_dwo_file().
|
static |
Definition at line 13132 of file dwarf2read.c.
References debug_file_directory, and try_open_dwop_file().
Referenced by open_and_init_dwp_file().
|
static |
Definition at line 23825 of file dwarf2read.c.
References gdb::argv, consume_improper_spaces(), dwarf2_macro_malformed_definition_complaint(), macro_define_function(), macro_define_object(), name, savestring(), xfree(), XNEWVEC, and XRESIZEVEC.
Referenced by dwarf_decode_macro_bytes().
|
static |
Definition at line 25392 of file dwarf2read.c.
References partial_die_info::sect_off.
Referenced by load_partial_dies().
|
static |
Definition at line 9142 of file dwarf2read.c.
References dwarf2_full_name(), fixup_partial_die(), follow_die_ref(), attribute::form, partial_die_info::has_template_arguments, partial_die_info::name, attribute::name, partial_die_parent_scope(), partial_die_info::sect_off, to_underlying(), typename_concat(), attribute::u, and attribute::unsnd.
Referenced by add_partial_symbol().
|
static |
Definition at line 25380 of file dwarf2read.c.
References partial_die_info::sect_off, and to_underlying().
Referenced by load_partial_dies().
|
static |
Definition at line 9067 of file dwarf2read.c.
References _, dwarf2_cu::comp_unit_obstack, complaint, partial_die_info::die_parent, find_partial_die(), fixup_partial_die(), partial_die_info::has_specification, dwarf2_cu::language, language_cplus, partial_die_info::name, partial_die_info::scope, partial_die_info::scope_set, partial_die_info::sect_off, partial_die_info::spec_is_dwz, partial_die_info::spec_offset, symfile_complaints, partial_die_info::tag, to_underlying(), and typename_concat().
Referenced by partial_die_full_name().
|
static |
Definition at line 9493 of file dwarf2read.c.
References read_unsigned_leb128().
Referenced by create_debug_type_hash_table(), init_cutu_and_read_dies(), init_cutu_and_read_dies_no_follow(), and read_cutu_die_from_dwo().
|
static |
Definition at line 9506 of file dwarf2read.c.
References _, dwarf2_cu::abbrev_table, abbrev_table_lookup_abbrev(), error(), dwarf2_cu::header, dwarf2_per_cu_data::is_debug_types, objfile::obfd, dwarf2_cu::objfile, dwarf2_cu::per_cu, read_unsigned_leb128(), comp_unit_head::sect_off, and to_underlying().
Referenced by load_partial_dies(), and skip_children().
|
static |
Definition at line 24833 of file dwarf2read.c.
References dwarf2_section_info::buffer, COMPILE, dwarf2_per_cu_data::cu, dwarf2_cu::header, memset(), read_comp_unit_head(), dwarf2_per_cu_data::sect_off, dwarf2_per_cu_data::section, and to_underlying().
Referenced by dwarf2_per_cu_addr_size(), dwarf2_per_cu_offset_size(), and dwarf2_per_cu_ref_addr_size().
|
static |
Definition at line 25160 of file dwarf2read.c.
References dwarf2_per_cu_offset_and_type::per_cu, and dwarf2_per_cu_offset_and_type::sect_off.
Referenced by set_die_type().
|
static |
Definition at line 25149 of file dwarf2read.c.
References dwarf2_per_cu_offset_and_type::per_cu, dwarf2_per_cu_offset_and_type::sect_off, and to_underlying().
Referenced by set_die_type().
|
static |
Definition at line 24980 of file dwarf2read.c.
References DW_UNSND, dwarf2_attr(), dwarf2_string_attr(), dwarf2_cu::language, language_def(), dwarf2_cu::language_defn, dwarf2_cu::producer, and set_cu_language().
Referenced by build_type_psymtabs_reader(), load_full_comp_unit_reader(), load_partial_comp_unit_reader(), process_psymtab_comp_unit_reader(), read_file_scope(), read_signatured_type_reader(), and read_type_unit_scope().
|
static |
Definition at line 8573 of file dwarf2read.c.
References fprintf_unfiltered(), gdb_stdlog, tu_stats::nr_all_type_units_reallocs, tu_stats::nr_stmt_less_type_units, tu_stats::nr_symtab_sharers, tu_stats::nr_symtabs, and tu_stats::nr_uniq_abbrev_tables.
Referenced by dwarf2_build_psymtabs_hard().
|
static |
Definition at line 10350 of file dwarf2read.c.
References compute_compunit_symtab_includes(), dwarf2_per_cu_data::is_debug_types, VEC_free, and VEC_iterate.
Referenced by dw2_instantiate_symtab(), and dwarf2_read_symtab().
Definition at line 10612 of file dwarf2read.c.
References _, die_info::child, complaint, dwarf_tag_name(), dwarf2_cu::language, language_fortran, new_symbol(), process_enumeration_scope(), process_imported_unit_die(), process_structure_scope(), read_call_site_scope(), read_common_block(), read_file_scope(), read_func_scope(), read_import_statement(), read_lexical_block_scope(), read_module(), read_namespace(), read_namespace_alias(), read_type_die(), read_type_unit_scope(), read_variable(), symfile_complaints, and die_info::tag.
Referenced by inherit_abstract_dies(), process_enumeration_scope(), process_full_comp_unit(), process_full_type_unit(), process_structure_scope(), read_file_scope(), read_func_scope(), read_import_statement(), read_lexical_block_scope(), read_module(), read_namespace(), and read_type_unit_scope().
|
static |
Definition at line 8679 of file dwarf2read.c.
References process_skeletonless_type_unit(), and dwo_file::tus.
Referenced by process_skeletonless_type_units().
Definition at line 16217 of file dwarf2read.c.
References die_info::child, die_is_declaration(), DW_FIELD_ALLOC_CHUNK, dwarf2_name(), FIELD_BITSIZE, FIELD_NAME, FIELD_TYPE, gdb_assert, get_die_type(), dwarf2_per_cu_data::is_debug_types, name, new_symbol(), dwarf2_cu::per_cu, process_die(), read_enumeration_type(), die_info::sect_off, SET_FIELD_ENUMVAL, sibling_die(), SYMBOL_LINKAGE_NAME, SYMBOL_VALUE, die_info::tag, to_underlying(), TYPE_ALLOC, TYPE_FIELDS, TYPE_NFIELDS, signatured_type::type_offset_in_section, xfree(), and xrealloc().
Referenced by process_die().
|
static |
Definition at line 10371 of file dwarf2read.c.
References ANOFFSET, buildsym_init(), compunit_symtab::call_site_htab, COMPUNIT_FILETABS, partial_symtab::compunit_symtab, dwarf2_per_cu_quick_data::compunit_symtab, compute_delayed_physnames(), dwarf2_per_cu_data::cu, dwarf2_cu::dies, do_cleanups(), dwarf2_record_block_ranges(), end_symtab_from_static_block(), end_symtab_get_static_block(), compunit_symtab::epilogue_unwind_valid, file_symbols, fixup_go_packaging(), free_delayed_list(), gdbarch_adjust_dwarf2_addr(), get_objfile_arch(), get_scope_pc_bounds(), dwarf2_cu::language, language_c, language_def(), dwarf2_cu::language_defn, language_go, language_unknown, dwarf2_cu::list_in_scope, compunit_symtab::locations_valid, make_cleanup(), dwarf2_per_cu_data::objfile, dwarf2_cu::per_cu, process_die(), dwarf2_cu::producer, producer_is_gcc_ge_4(), dwarf2_per_cu_data::psymtab, dwarf2_per_cu_data::quick, partial_symtab::readin, SECT_OFF_TEXT, objfile::section_offsets, dwarf2_per_objfile::using_index, dwarf2_per_cu_data::v, and VEC_safe_push.
Referenced by process_queue().
|
static |
Definition at line 10475 of file dwarf2read.c.
References augment_type_symtab(), buildsym_init(), COMPUNIT_FILETABS, partial_symtab::compunit_symtab, dwarf2_per_cu_quick_data::compunit_symtab, compute_delayed_physnames(), dwarf2_per_cu_data::cu, dwarf2_cu::dies, do_cleanups(), end_expandable_symtab(), file_symbols, fixup_go_packaging(), free_delayed_list(), gdb_assert, dwarf2_per_cu_data::is_debug_types, dwarf2_cu::language, language_c, language_def(), dwarf2_cu::language_defn, language_go, dwarf2_cu::list_in_scope, make_cleanup(), dwarf2_per_cu_data::objfile, dwarf2_cu::per_cu, signatured_type::per_cu, process_die(), dwarf2_per_cu_data::psymtab, dwarf2_per_cu_data::quick, partial_symtab::readin, SECT_OFF_TEXT, signatured_type::type_unit_group, dwarf2_per_objfile::using_index, and dwarf2_per_cu_data::v.
Referenced by process_queue().
Definition at line 10548 of file dwarf2read.c.
References _, dwarf2_attr(), dwarf2_find_containing_comp_unit(), dwarf2_get_ref_die_offset(), error(), attribute::form, dwarf2_per_cu_data::is_debug_types, dwarf2_per_cu_data::is_dwz, dwarf2_cu::language, load_full_comp_unit(), maybe_queue_comp_unit(), dwarf2_cu::objfile, objfile_name(), dwarf2_cu::per_cu, and VEC_safe_push.
Referenced by process_die().
|
static |
Definition at line 8368 of file dwarf2read.c.
References age_cached_comp_units(), build_type_psymtabs_reader(), dwarf2_per_cu_data::cu, free_one_cached_comp_unit(), init_cutu_and_read_dies(), dwarf2_per_cu_data::is_debug_types, process_psymtab_comp_unit_data::pretend_language, process_psymtab_comp_unit_reader(), and process_psymtab_comp_unit_data::want_partial_unit.
Referenced by dwarf2_build_psymtabs_hard(), and scan_partial_symbols().
|
static |
Definition at line 8236 of file dwarf2read.c.
References addrmap_set_empty(), ANOFFSET, create_partial_symtab(), dwarf2_per_cu_data::cu, die_reader_specs::cu, partial_symtab::dependencies, partial_symtab::dirname, dwarf2_build_include_psymtabs(), dwarf2_find_base_address(), dwarf2_get_pc_bounds(), dwarf2_string_attr(), dwarf_read_debug, end_psymtab_common(), file_symbols, partial_symtab::filename, fprintf_unfiltered(), gdb_assert, gdb_stdlog, gdbarch_adjust_dwarf2_addr(), get_objfile_arch(), partial_die_info::highpc, dwarf2_per_cu_data::is_debug_types, dwarf2_cu::list_in_scope, load_partial_dies(), partial_die_info::lowpc, partial_symtab::n_global_syms, partial_symtab::n_static_syms, partial_symtab::number_of_dependencies, dwarf2_cu::objfile, paddress(), PC_BOUNDS_HIGH_LOW, PC_BOUNDS_INVALID, dwarf2_cu::per_cu, prepare_one_comp_unit(), process_psymtab_comp_unit_data::pretend_language, dwarf2_per_cu_data::psymtab, objfile::psymtabs_addrmap, scan_partial_symbols(), dwarf2_per_cu_data::sect_off, SECT_OFF_TEXT, objfile::section_offsets, die_info::tag, partial_symtab::texthigh, partial_symtab::textlow, to_underlying(), dwarf2_per_cu_data::v, VEC_empty, VEC_free, VEC_iterate, VEC_length, and process_psymtab_comp_unit_data::want_partial_unit.
Referenced by process_psymtab_comp_unit().
|
static |
Definition at line 9837 of file dwarf2read.c.
References dwarf2_per_cu_quick_data::compunit_symtab, dwarf2_per_cu_data::cu, dwarf2_queue, dwarf2_queue_tail, dwarf_read_debug, fprintf_unfiltered(), gdb_stdlog, hex_string(), dwarf2_per_cu_data::is_debug_types, dwarf2_queue_item::next, objfile_name(), signatured_type::per_cu, dwarf2_queue_item::per_cu, dwarf2_queue_item::pretend_language, process_full_comp_unit(), process_full_type_unit(), dwarf2_per_cu_data::psymtab, dwarf2_per_cu_data::queued, dwarf2_per_cu_data::quick, partial_symtab::readin, dwarf2_per_cu_data::sect_off, signatured_type::signature, to_underlying(), dwarf2_per_objfile::using_index, dwarf2_per_cu_data::v, and xfree().
Referenced by dw2_do_instantiate_symtab().
|
static |
Definition at line 8641 of file dwarf2read.c.
References add_type_unit(), allocate_signatured_type_table(), build_type_psymtabs_reader(), fill_in_sig_entry_from_dwo_entry(), find_entry(), init_cutu_and_read_dies(), signatured_type::per_cu, dwo_unit::signature, and dwarf2_per_objfile::signatured_types.
Referenced by process_dwo_file_for_skeletonless_type_units().
|
static |
Definition at line 8697 of file dwarf2read.c.
References dwarf2_per_objfile::dwo_files, get_dwp_file(), and process_dwo_file_for_skeletonless_type_units().
Referenced by dwarf2_build_psymtabs_hard().
Definition at line 15833 of file dwarf2read.c.
References _, ALLOCATE_CPLUS_STRUCT_TYPE, die_info::child, complaint, die_containing_type(), die_is_declaration(), do_cleanups(), dwarf2_add_field(), dwarf2_add_member_fn(), dwarf2_add_type_defn(), dwarf2_attach_fields_to_type(), dwarf2_attach_fn_fields_to_type(), dwarf2_attr(), decl_field_list::field, get_die_type(), is_vtable_name(), dwarf2_cu::language, language_ada, language_rust, make_cleanup(), memset(), field_info::nested_types_list, field_info::nested_types_list_count, new_symbol(), decl_field_list::next, field_info::nfields, field_info::nfnfields, null_cleanup(), dwarf2_cu::objfile, process_die(), dwarf2_cu::producer, quirk_gcc_member_function_pointer(), read_func_scope(), read_structure_type(), set_type_vptr_basetype(), set_type_vptr_fieldno(), sibling_die(), startswith(), symfile_complaints, die_info::tag, type, TYPE_ALLOC, type_can_define_types(), TYPE_FIELD_NAME, TYPE_N_BASECLASSES, TYPE_N_TEMPLATE_ARGUMENTS, TYPE_NESTED_TYPES_ARRAY, TYPE_NESTED_TYPES_COUNT, TYPE_NESTED_TYPES_FIELD, TYPE_NFIELDS, TYPE_TAG_NAME, TYPE_TEMPLATE_ARGUMENTS, TYPE_TYPEDEF_FIELD, TYPE_TYPEDEF_FIELD_ARRAY, TYPE_TYPEDEF_FIELD_COUNT, TYPE_VPTR_FIELDNO, field_info::typedef_field_list, and field_info::typedef_field_list_count.
Referenced by process_die().
|
static |
Definition at line 11402 of file dwarf2read.c.
References check_producer().
Referenced by find_file_and_directory().
|
static |
Definition at line 14923 of file dwarf2read.c.
References check_producer().
Referenced by dwarf2_default_access_attribute().
|
static |
Definition at line 11389 of file dwarf2read.c.
References check_producer().
Referenced by read_structure_type().
Definition at line 17111 of file dwarf2read.c.
References DW_UNSND, dwarf2_attr(), dwarf2_cu::language, language_c, language_objc, language_opencl, dwarf2_cu::producer, and producer_is_realview().
Referenced by read_subroutine_type().
|
static |
Definition at line 26659 of file dwarf2read.c.
References dwarf2_per_cu_data::psymtab, recursively_count_psymbols(), partial_symtab::user, and dwarf2_per_cu_data::v.
Referenced by write_debug_names(), and write_gdbindex().
|
static |
Definition at line 20286 of file dwarf2read.c.
References partial_symtab::dirname, line_header::file_names, partial_symtab::filename, file_entry::include_dir(), make_cleanup(), file_entry::name, SLASH_STRING, and xfree().
Referenced by dwarf_decode_lines().
|
static |
Definition at line 9939 of file dwarf2read.c.
References partial_symtab::dependencies, dw2_do_instantiate_symtab(), partial_symtab::filename, fputs_filtered(), gdb_flush(), gdb_stdout, if(), info_verbose, partial_symtab::number_of_dependencies, printf_filtered(), partial_symtab::read_symtab_private, partial_symtab::readin, partial_symtab::user, and wrap_here().
Referenced by dwarf2_read_symtab().
|
static |
Definition at line 13462 of file dwarf2read.c.
References dwarf2_per_cu_data::cu, dwo_unit::dwo_file, gdb_assert, get_dwp_file(), dwarf2_per_cu_data::is_debug_types, queue_and_load_dwo_tu(), and dwo_file::tus.
Referenced by dw2_do_instantiate_symtab().
|
static |
Definition at line 13433 of file dwarf2read.c.
References dwarf2_per_cu_data::cu, dwarf2_cu::language, load_full_type_unit(), lookup_dwo_signatured_type(), maybe_queue_comp_unit(), signatured_type::per_cu, signatured_type::signature, dwo_unit::signature, and VEC_safe_push.
Referenced by queue_and_load_all_dwo_tus().
|
static |
Definition at line 9768 of file dwarf2read.c.
References dwarf2_queue, dwarf2_queue_tail, dwarf2_queue_item::next, dwarf2_queue_item::per_cu, dwarf2_queue_item::pretend_language, dwarf2_per_cu_data::queued, and XNEW.
Referenced by dw2_do_instantiate_symtab(), and maybe_queue_comp_unit().
|
static |
Definition at line 15659 of file dwarf2read.c.
References alloc_type(), new_type(), smash_to_method_type(), smash_to_methodptr_type(), TYPE_CODE, TYPE_CODE_FUNC, TYPE_CODE_PTR, TYPE_CODE_STRUCT, TYPE_FIELD_NAME, TYPE_FIELD_TYPE, TYPE_FIELDS, TYPE_NFIELDS, TYPE_TARGET_TYPE, and TYPE_VARARGS.
Referenced by process_structure_scope().
|
static |
Definition at line 19140 of file dwarf2read.c.
Referenced by abbrev_table_read_table(), decode_locdesc(), dwarf_decode_line_header(), dwarf_decode_lines_1(), dwarf_decode_macro_bytes(), dwarf_decode_macros(), dwarf_parse_macro_header(), read_attribute_value(), read_comp_unit_head(), read_formatted_entries(), skip_form_bytes(), and skip_one_die().
|
static |
Definition at line 19146 of file dwarf2read.c.
Referenced by decode_locdesc(), and dwarf_decode_line_header().
|
static |
Definition at line 19152 of file dwarf2read.c.
Referenced by create_addrmap_from_aranges(), decode_locdesc(), dwarf_decode_line_header(), dwarf_decode_lines_1(), dwarf_parse_macro_header(), read_abbrev_offset(), read_attribute_value(), read_comp_unit_head(), read_debug_names_from_section(), read_formatted_entries(), skip_form_bytes(), and skip_one_die().
|
static |
Definition at line 19158 of file dwarf2read.c.
Referenced by decode_locdesc().
|
static |
Definition at line 19164 of file dwarf2read.c.
Referenced by create_dwo_unit_in_dwp_v1(), create_dwo_unit_in_dwp_v2(), create_dwp_hash_table(), decode_locdesc(), lookup_dwo_unit_in_dwp(), read_attribute_value(), read_debug_names_from_section(), read_formatted_entries(), skip_form_bytes(), and skip_one_die().
|
static |
Definition at line 19170 of file dwarf2read.c.
Referenced by decode_locdesc().
Definition at line 19176 of file dwarf2read.c.
Referenced by decode_locdesc(), lookup_dwo_unit_in_dwp(), read_attribute_value(), read_comp_unit_head(), and read_formatted_entries().
|
static |
Definition at line 6763 of file dwarf2read.c.
References dwarf2_read_section(), get_section_bfd_owner(), read_2_bytes(), read_initial_length(), read_offset_1(), dwarf2_section_info::section, to_underlying(), and version.
Referenced by build_type_psymtabs_1().
Definition at line 19569 of file dwarf2read.c.
References comp_unit_head::addr_size, dwarf2_cu::header, and read_addr_index_1().
Referenced by read_addr_index_from_leb128().
|
static |
Definition at line 19544 of file dwarf2read.c.
References _, dwarf2_per_objfile::addr, dwarf2_section_info::buffer, dwarf2_read_section(), error(), objfile::obfd, objfile_name(), and dwarf2_section_info::size.
Referenced by dwarf2_read_addr_index(), and read_addr_index().
|
static |
Definition at line 19577 of file dwarf2read.c.
References objfile::obfd, dwarf2_cu::objfile, read_addr_index(), and read_unsigned_leb128().
Referenced by decode_locdesc(), read_attribute_value(), and var_decode_location().
|
static |
Definition at line 19182 of file dwarf2read.c.
References _, comp_unit_head::addr_size, dwarf2_cu::header, internal_error(), and comp_unit_head::signed_addr_p.
Referenced by decode_locdesc(), dwarf2_ranges_process(), dwarf2_rnglists_process(), dwarf_decode_lines_1(), read_attribute_value(), and var_decode_location().
|
static |
Definition at line 6741 of file dwarf2read.c.
References error_check_comp_unit_head(), comp_unit_head::first_die_cu_offset, read_comp_unit_head(), comp_unit_head::sect_off, and dwarf2_section_info::section.
Referenced by create_debug_type_hash_table(), create_signatured_type_table_from_debug_names(), init_cutu_and_read_dies(), init_cutu_and_read_dies_no_follow(), read_comp_units_from_section(), and read_cutu_die_from_dwo().
|
static |
Definition at line 16437 of file dwarf2read.c.
References array_column_major, array_row_major, DW_SND, dwarf2_attr(), language_defn::la_array_ordering, dwarf2_cu::language, dwarf2_cu::language_defn, language_fortran, and dwarf2_cu::producer.
Referenced by read_array_type().
Definition at line 16305 of file dwarf2read.c.
References _, attr_to_dynamic_prop(), objfile_type::builtin_int, die_info::child, complaint, create_array_type_with_stride(), create_static_range_type(), die_type(), DW_UNSND, dwarf2_attr(), dwarf2_name(), get_die_type(), make_vector_type(), name, dwarf2_cu::objfile, objfile_name(), objfile_type(), read_array_order(), read_type_die(), die_info::sect_off, set_descriptive_type(), set_die_type(), sibling_die(), symfile_complaints, die_info::tag, to_underlying(), type, TYPE_LENGTH, and TYPE_NAME.
Referenced by read_type_die_1().
|
static |
Definition at line 19128 of file dwarf2read.c.
References dwz_file::abbrev, attribute::name, and read_attribute_value().
Referenced by read_full_die_1(), read_partial_die(), and skip_one_die().
|
static |
Definition at line 18879 of file dwarf2read.c.
References _, die_reader_specs::abfd, attr_form_is_ref(), complaint, die_reader_specs::cu, dwarf_block::data, DW_ADDR, DW_BLOCK, DW_SIGNATURE, DW_SND, DW_STRING, DW_STRING_IS_CANONICAL, DW_UNSND, dwarf2_get_dwz_file(), dwarf_alloc_block(), dwarf_form_name(), die_reader_specs::dwo_file, error(), attribute::form, gdbarch_adjust_dwarf2_addr(), get_objfile_arch(), dwarf2_cu::header, hex_string(), dwarf2_per_cu_data::is_dwz, attribute::name, dwarf2_cu::objfile, dwarf2_cu::per_cu, read_1_byte(), read_2_bytes(), read_4_bytes(), read_8_bytes(), read_addr_index_from_leb128(), read_address(), read_direct_string(), read_indirect_line_string(), read_indirect_string(), read_indirect_string_from_dwz(), read_n_bytes(), read_offset(), read_signed_leb128(), read_str_index(), read_unsigned_leb128(), comp_unit_head::sect_off, dwarf_block::size, symfile_complaints, to_underlying(), and comp_unit_head::version.
Referenced by read_attribute().
Definition at line 17338 of file dwarf2read.c.
References _, bits, builtin_type::builtin_char16, builtin_type::builtin_char32, builtin_type(), complaint, DW_UNSND, dwarf2_attr(), dwarf2_init_float_type(), dwarf2_name(), dwarf_type_encoding_name(), get_objfile_arch(), init_boolean_type(), init_character_type(), init_complex_type(), init_decfloat_type(), init_integer_type(), init_pointer_type(), init_type(), dwarf2_cu::language, language_ada, language_fortran, language_m2, language_pascal, language_rust, name, dwarf2_cu::objfile, set_die_type(), startswith(), symfile_complaints, TARGET_CHAR_BIT, type, TYPE_CODE_ERROR, TYPE_CODE_VOID, and TYPE_NOSIGN.
Referenced by read_type_die_1().
Definition at line 13920 of file dwarf2read.c.
References _, ANOFFSET, attr_form_is_block(), attr_form_is_ref(), attr_value_as_address(), CALL_SITE_PARAMETER_DWARF_REG, CALL_SITE_PARAMETER_FB_OFFSET, CALL_SITE_PARAMETER_PARAM_OFFSET, die_info::child, complaint, core_addr_eq(), core_addr_hash(), dwarf2_locexpr_baton::data, call_site_parameter::data_value, call_site_parameter::data_value_size, die_is_declaration(), dw2_linkage_name(), DW_BLOCK, dwarf2_attr(), dwarf2_flag_true_p(), dwarf2_get_pc_bounds(), dwarf2_get_ref_die_offset(), dwarf2_physname(), dwarf_block_to_dwarf_reg(), dwarf_block_to_sp_offset(), call_site_parameter_u::dwarf_reg, call_site_parameter_u::fb_offset, follow_die_ref(), gdb_assert, gdbarch_adjust_dwarf2_addr(), get_die_type(), get_objfile_arch(), hashtab_obstack_allocate(), dwarf2_cu::header, call_site_parameter::kind, loc, memset(), dwarf2_cu::objfile, objfile_name(), offset_in_cu_p(), paddress(), call_site_parameter_u::param_cu_off, call_site::parameter, call_site::parameter_count, die_info::parent, call_site::pc, PC_BOUNDS_INVALID, dwarf2_locexpr_baton::per_cu, dwarf2_cu::per_cu, call_site::per_cu, comp_unit_head::sect_off, die_info::sect_off, SECT_OFF_TEXT, objfile::section_offsets, SET_FIELD_DWARF_BLOCK, SET_FIELD_PHYSADDR, SET_FIELD_PHYSNAME, sibling_die(), dwarf2_locexpr_baton::size, size, symfile_complaints, die_info::tag, call_site::tail_call_next, call_site::target, to_underlying(), TYPE_CODE, TYPE_CODE_FUNC, TYPE_TAIL_CALL_LIST, call_site_parameter::u, call_site_parameter::value, and call_site_parameter::value_size.
Referenced by process_die().
|
static |
Definition at line 19303 of file dwarf2read.c.
References _, complaint, gdb_assert, comp_unit_head::initial_length_size, comp_unit_head::length, comp_unit_head::offset_size, read_initial_length(), and symfile_complaints.
Referenced by dwarf_decode_line_header().
Definition at line 16572 of file dwarf2read.c.
References _, attr_form_is_block(), attr_form_is_constant(), attr_form_is_section_offset(), die_info::child, common_block, complaint, common_block::contents, dwarf2_attr(), dwarf2_complex_location_expr_complaint(), dwarf2_invalid_attrib_class_complaint(), mark_common_block_symbol_computed(), memset(), common_block::n_entries, new_symbol(), dwarf2_cu::objfile, objfile_name(), die_info::sect_off, sibling_die(), size, SYMBOL_VALUE_COMMON_BLOCK, symfile_complaints, die_info::tag, and to_underlying().
Referenced by process_die().
|
static |
Definition at line 6598 of file dwarf2read.c.
References _, comp_unit_head::abbrev_sect_off, comp_unit_head::addr_size, COMPILE, error(), get_section_bfd_owner(), get_section_file_name(), comp_unit_head::initial_length_size, internal_error(), comp_unit_head::length, comp_unit_head::offset_size, plongest(), read_1_byte(), read_2_bytes(), read_8_bytes(), read_initial_length(), read_offset(), comp_unit_head::signature, comp_unit_head::signed_addr_p, to_underlying(), TYPE, comp_unit_head::type_cu_offset_in_tu, comp_unit_head::unit_type, and comp_unit_head::version.
Referenced by per_cu_header_read_in(), and read_and_check_comp_unit_head().
|
static |
Definition at line 8834 of file dwarf2read.c.
References dwarf2_section_info::buffer, COMPILE, dwarf2_read_section(), dwarf_read_debug, fprintf_unfiltered(), gdb_stdlog, get_section_file_name(), get_section_name(), comp_unit_head::initial_length_size, dwarf2_per_cu_data::is_debug_types, dwarf2_per_cu_data::is_dwz, comp_unit_head::length, dwarf2_per_cu_data::length, memset(), dwarf2_per_cu_data::objfile, read_and_check_comp_unit_head(), dwarf2_per_cu_data::sect_off, dwarf2_per_cu_data::section, comp_unit_head::signature, dwarf2_section_info::size, comp_unit_head::type_cu_offset_in_tu, comp_unit_head::unit_type, and XRESIZEVEC.
Referenced by create_all_comp_units().
|
static |
Definition at line 7375 of file dwarf2read.c.
References _, dwo_sections::abbrev, die_info::attrs, dwarf2_section_info::buffer, die_reader_specs::comp_dir, dwarf2_cu::comp_unit_obstack, COMPILE, dwarf2_per_cu_data::cu, dump_die(), DW_STRING, DW_STRING_IS_CANONICAL, DW_UNSND, dwarf2_attr(), dwarf2_free_abbrev_table(), dwarf2_read_abbrevs(), dwarf2_read_section(), dwarf_die_debug, dwo_unit::dwo_file, error(), attribute::form, fprintf_unfiltered(), gdb_assert, gdb_stdlog, get_cu_length(), get_section_bfd_owner(), get_section_name(), dwarf2_cu::header, hex_string(), init_cu_die_reader(), dwarf2_per_cu_data::is_debug_types, dwo_unit::length, make_cleanup(), attribute::name, die_info::num_attrs, peek_abbrev_code(), read_and_check_comp_unit_head(), read_full_die_1(), comp_unit_head::sect_off, dwo_unit::sect_off, dwarf2_section_info::section, dwo_unit::section, dwo_file::sections, comp_unit_head::signature, signatured_type::signature, to_underlying(), TYPE, comp_unit_head::type_cu_offset_in_tu, signatured_type::type_offset_in_section, and dwo_unit::type_offset_in_tu.
Referenced by init_cutu_and_read_dies(), and init_tu_and_read_dwo_dies().
|
static |
Definition at line 5647 of file dwarf2read.c.
References _, mapped_debug_names::abbrev_map, 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, dwarf2_read_section(), dwarf2_section_empty_p(), dwarf5_augmentation, mapped_debug_names::dwarf5_byte_order, mapped_debug_names::dwarf5_is_dwarf64, mapped_debug_names::index_val::dwarf_tag, mapped_debug_names::entry_pool, mapped_debug_names::index_val::attr::form, gdbarch_byte_order(), get_objfile_arch(), get_section_bfd_owner(), get_section_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, plongest(), pulongest(), 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, version, and warning().
Referenced by dwarf2_read_debug_names().
|
static |
Definition at line 17733 of file dwarf2read.c.
References die_info::child, die_reader_specs::cu, die_info::parent, read_die_and_siblings_1(), read_full_die_1(), die_info::sibling, and store_in_ref_table().
Referenced by read_die_and_siblings_1().
|
static |
Definition at line 17805 of file dwarf2read.c.
References die_reader_specs::abfd, dwarf2_section_info::buffer, die_reader_specs::die_section, dump_die(), dwarf_die_debug, fprintf_unfiltered(), gdb_stdlog, get_section_name(), die_info::parent, and read_die_and_siblings_1().
Referenced by load_full_comp_unit_reader(), and read_signatured_type_reader().
|
static |
Definition at line 17768 of file dwarf2read.c.
References die_info::parent, read_die_and_children(), and die_info::sibling.
Referenced by read_die_and_children(), and read_die_and_siblings().
|
static |
Definition at line 19371 of file dwarf2read.c.
References gdb_assert, and HOST_CHAR_BIT.
Referenced by dwarf_decode_line_header(), dwarf_decode_lines_1(), dwarf_decode_macro_bytes(), dwarf_decode_macros(), read_attribute_value(), read_formatted_entries(), skip_form_bytes(), and skip_one_die().
Definition at line 16133 of file dwarf2read.c.
References alloc_type(), die_is_declaration(), die_type(), DW_UNSND, dwarf2_attr(), dwarf2_attr_no_follow(), dwarf2_flag_true_p(), dwarf2_full_name(), get_DW_AT_signature_type(), name, dwarf2_cu::objfile, set_die_type(), type, TYPE_CODE, TYPE_CODE_ENUM, TYPE_DECLARED_CLASS, TYPE_LENGTH, TYPE_STUB, TYPE_TAG_NAME, TYPE_TARGET_TYPE, TYPE_UNSIGNED, and update_enumeration_type_from_children().
Referenced by process_enumeration_scope(), and read_type_die_1().
Definition at line 11549 of file dwarf2read.c.
References _, ANOFFSET, die_info::child, file_and_directory::comp_dir, complaint, DW_UNSND, dwarf2_attr(), dwarf2_start_symtab(), dwarf_decode_macros(), find_file_and_directory(), gdbarch_adjust_dwarf2_addr(), get_objfile_arch(), get_scope_pc_bounds(), handle_DW_AT_stmt_list(), dwarf2_cu::language, language_opencl, dwarf2_cu::line_header, file_and_directory::name, prepare_one_comp_unit(), process_die(), dwarf2_cu::producer, SECT_OFF_TEXT, objfile::section_offsets, set_cu_language(), sibling_die(), symfile_complaints, and die_info::tag.
Referenced by process_die().
|
static |
Definition at line 19969 of file dwarf2read.c.
References _, complaint, file_entry::d_index, gdb::optional< T >::emplace(), gdb::optional< T >::has_value(), if(), file_entry::length, file_entry::mod_time, file_entry::name, pulongest(), read_1_byte(), read_2_bytes(), read_4_bytes(), read_8_bytes(), read_direct_string(), read_indirect_line_string(), read_unsigned_leb128(), string, and symfile_complaints.
Referenced by dwarf_decode_line_header().
|
static |
Definition at line 17886 of file dwarf2read.c.
References die_reader_specs::abfd, dwarf2_section_info::buffer, die_reader_specs::die_section, dump_die(), dwarf_die_debug, fprintf_unfiltered(), gdb_stdlog, get_section_name(), and read_full_die_1().
Referenced by init_cutu_and_read_dies(), and init_cutu_and_read_dies_no_follow().
|
static |
Definition at line 17835 of file dwarf2read.c.
References _, die_info::abbrev, dwarf2_cu::abbrev_table, abbrev_table_lookup_abbrev(), die_reader_specs::abfd, abbrev_info::attrs, die_info::attrs, die_reader_specs::buffer, die_reader_specs::cu, dwarf_alloc_die(), error(), abbrev_info::has_children, abbrev_info::num_attrs, die_info::num_attrs, read_attribute(), read_unsigned_leb128(), die_info::sect_off, abbrev_info::tag, and die_info::tag.
Referenced by read_cutu_die_from_dwo(), read_die_and_children(), and read_full_die().
Definition at line 13658 of file dwarf2read.c.
References _, allocate_template_symbol(), ANOFFSET, attr_to_dynamic_prop(), block_set_scope(), die_info::child, complaint, determine_prefix(), die_specification(), DW_UNSND, dwarf2_attr(), dwarf2_get_pc_bounds(), dwarf2_name(), dwarf2_record_block_ranges(), dwarf2_symbol_mark_computed(), file_symbols, finish_block(), gdb_assert, gdbarch_adjust_dwarf2_addr(), gdbarch_make_symbol_special(), get_objfile_arch(), inherit_abstract_dies(), dwarf2_cu::language, language_cplus, language_d, language_fortran, language_rust, dwarf2_cu::list_in_scope, local_symbols, local_using_directives, context_stack::local_using_directives, context_stack::locals, name, context_stack::name, new_symbol(), new_symbol_full(), dwarf2_cu::objfile, context_stack::old_blocks, outermost_context_p, PC_BOUNDS_INVALID, pop_context(), process_die(), push_context(), read_lexical_block_scope(), read_type_die(), die_info::sect_off, SECT_OFF_TEXT, objfile::section_offsets, sibling_die(), context_stack::static_link, symbol::subclass, SYMBOL_TEMPLATE, symfile_complaints, die_info::tag, and to_underlying().
Referenced by process_die(), and process_structure_scope().
Definition at line 11244 of file dwarf2read.c.
References _, add_using_directive(), die_info::child, complaint, determine_prefix(), dwarf2_attr(), dwarf2_name(), dwarf_tag_name(), follow_die_ref_or_sig(), dwarf2_cu::language, language_d, language_fortran, obconcat(), dwarf2_cu::objfile, objfile_name(), process_die(), die_info::sect_off, sibling_die(), symfile_complaints, die_info::tag, to_underlying(), and using_directives().
Referenced by process_die().
|
static |
Definition at line 3674 of file dwarf2read.c.
References _, mapped_index::address_table, dwarf2_section_info::buffer, mapped_index::constant_pool, dwarf2_read_section(), dwarf2_section_empty_p(), get_section_flags(), MAYBE_SWAP, dwarf2_section_info::size, mapped_index::symbol_table, mapped_index::total_size, version, mapped_index::version, and warning().
Referenced by dwarf2_read_index().
|
static |
Definition at line 19473 of file dwarf2read.c.
References read_indirect_line_string_at_offset(), and read_offset().
Referenced by read_attribute_value(), and read_formatted_entries().
|
static |
Definition at line 19422 of file dwarf2read.c.
References dwarf2_per_objfile::line_str, and read_indirect_string_at_offset_from().
Referenced by read_indirect_line_string().
|
static |
Definition at line 19459 of file dwarf2read.c.
References read_indirect_string_at_offset(), and read_offset().
Referenced by read_attribute_value().
|
static |
Definition at line 19412 of file dwarf2read.c.
References read_indirect_string_at_offset_from(), and dwarf2_per_objfile::str.
Referenced by dwarf_decode_macro_bytes(), mapped_debug_names::namei_to_name(), and read_indirect_string().
|
static |
Definition at line 19391 of file dwarf2read.c.
References _, dwarf2_section_info::buffer, dwarf2_read_section(), error(), gdb_assert, HOST_CHAR_BIT, and dwarf2_section_info::size.
Referenced by read_indirect_line_string_at_offset(), and read_indirect_string_at_offset().
|
static |
Definition at line 19436 of file dwarf2read.c.
References _, dwarf2_section_info::buffer, dwarf2_read_section(), dwz_file::dwz_bfd, error(), gdb_assert, HOST_CHAR_BIT, dwarf2_section_info::size, and dwz_file::str.
Referenced by dwarf_decode_macro_bytes(), and read_attribute_value().
|
static |
Definition at line 19271 of file dwarf2read.c.
References comp_unit_head::length.
Referenced by create_addrmap_from_aranges(), read_abbrev_offset(), read_checked_initial_length_and_offset(), read_comp_unit_head(), and read_debug_names_from_section().
Definition at line 13849 of file dwarf2read.c.
References ANOFFSET, die_info::child, dwarf2_get_pc_bounds(), dwarf2_record_block_ranges(), finish_block(), gdbarch_adjust_dwarf2_addr(), get_objfile_arch(), inherit_abstract_dies(), local_symbols, local_using_directives, context_stack::local_using_directives, context_stack::locals, dwarf2_cu::objfile, context_stack::old_blocks, PC_BOUNDS_INVALID, PC_BOUNDS_NOT_PRESENT, pop_context(), process_die(), push_context(), SECT_OFF_TEXT, objfile::section_offsets, sibling_die(), context_stack::start_addr, and die_info::tag.
Referenced by process_die(), and read_func_scope().
Definition at line 16776 of file dwarf2read.c.
References die_info::child, new_symbol(), process_die(), read_type_die(), sibling_die(), die_info::tag, and type.
Referenced by process_die().
Definition at line 16754 of file dwarf2read.c.
References _, complaint, dwarf2_name(), init_type(), dwarf2_cu::objfile, die_info::sect_off, set_die_type(), symfile_complaints, to_underlying(), type, TYPE_CODE_MODULE, TYPE_NAME, and TYPE_TAG_NAME.
Referenced by read_type_die_1().
Definition at line 19361 of file dwarf2read.c.
References gdb_assert, and HOST_CHAR_BIT.
Referenced by read_attribute_value().
Definition at line 16709 of file dwarf2read.c.
References add_using_directive(), die_info::child, determine_prefix(), dwarf2_attr(), dwarf2_cu::language, namespace_name(), new_symbol(), dwarf2_cu::objfile, process_die(), read_type_die(), sibling_die(), die_info::tag, type, TYPE_NAME, and using_directives().
Referenced by process_die().
Definition at line 11169 of file dwarf2read.c.
References _, complaint, dwarf2_attr(), dwarf2_get_ref_die_offset(), follow_die_ref(), get_die_type_at_offset(), MAX_NESTED_IMPORTED_DECLARATIONS, new_symbol(), dwarf2_cu::per_cu, die_info::sect_off, symfile_complaints, die_info::tag, to_underlying(), type, TYPE_CODE, and TYPE_CODE_NAMESPACE.
Referenced by process_die().
Definition at line 16669 of file dwarf2read.c.
References determine_prefix(), dwarf2_attr(), dwarf2_extension(), init_type(), name, namespace_name(), dwarf2_cu::objfile, read_type_die(), set_die_type(), type, TYPE_CODE_NAMESPACE, TYPE_NAME, TYPE_TAG_NAME, and typename_concat().
Referenced by read_type_die_1().
|
static |
Definition at line 19326 of file dwarf2read.c.
References offset, comp_unit_head::offset_size, and read_offset_1().
Referenced by read_attribute_value(), read_comp_unit_head(), read_indirect_line_string(), read_indirect_string(), and unpack_bits_as_long().
Definition at line 19339 of file dwarf2read.c.
References _, internal_error(), and comp_unit_head::offset_size.
Referenced by dwarf_decode_line_header(), dwarf_decode_macro_bytes(), read_abbrev_offset(), and read_offset().
|
static |
Definition at line 18433 of file dwarf2read.c.
References _, attr_form_is_block(), attr_form_is_constant(), attr_form_is_section_offset(), attr_value_as_address(), abbrev_info::attrs, die_reader_specs::buffer, die_reader_specs::buffer_end, complaint, die_reader_specs::cu, partial_die_info::d, die_reader_specs::die_section, DW_BLOCK, DW_STRING, DW_UNSND, dwarf2_canonicalize_name(), dwarf2_complex_location_expr_complaint(), dwarf2_get_ref_die_offset(), dwarf2_invalid_attrib_class_complaint(), dwarf2_section_buffer_overflow_complaint(), attribute::form, get_objfile_arch(), partial_die_info::has_byte_size, partial_die_info::has_children, abbrev_info::has_children, partial_die_info::has_const_value, partial_die_info::has_pc_info, dwarf2_per_objfile::has_section_at_zero, partial_die_info::has_specification, partial_die_info::has_type, dwarf2_cu::header, partial_die_info::highpc, partial_die_info::is_declaration, dwarf2_per_cu_data::is_dwz, partial_die_info::is_dwz, partial_die_info::is_external, dwarf2_cu::language, language_ada, language_fortran, partial_die_info::linkage_name, partial_die_info::locdesc, partial_die_info::lowpc, partial_die_info::main_subprogram, partial_die_info::may_be_inlined, memset(), partial_die_info::name, attribute::name, abbrev_info::num_attrs, dwarf2_cu::objfile, objfile_name(), paddress(), objfile::per_bfd, dwarf2_cu::per_cu, read_attribute(), partial_die_info::sect_off, partial_die_info::sibling, partial_die_info::spec_is_dwz, partial_die_info::spec_offset, objfile_per_bfd_storage::storage_obstack, symfile_complaints, partial_die_info::tag, abbrev_info::tag, to_underlying(), and comp_unit_head::version.
Referenced by load_partial_dies().
Definition at line 16473 of file dwarf2read.c.
References create_set_type(), die_type(), DW_UNSND, dwarf2_attr(), get_die_type(), set_die_type(), set_type(), and TYPE_LENGTH.
Referenced by read_type_die_1().
|
static |
Definition at line 23416 of file dwarf2read.c.
References dwarf2_per_cu_data::cu, gdb_assert, init_cutu_and_read_dies(), dwarf2_per_cu_data::is_debug_types, signatured_type::per_cu, read_signatured_type_reader(), and dwarf2_per_cu_data::tu_read.
Referenced by follow_die_sig_1(), and load_full_type_unit().
|
static |
Definition at line 23378 of file dwarf2read.c.
References die_info::child, dwarf2_cu::comp_unit_obstack, die_reader_specs::cu, die_eq(), dwarf2_cu::die_hash, die_hash(), dwarf2_cu::dies, dummy_obstack_deallocate(), gdb_assert, hashtab_obstack_allocate(), dwarf2_cu::header, language_minimal, comp_unit_head::length, prepare_one_comp_unit(), and read_die_and_siblings().
Referenced by read_signatured_type().
|
static |
Definition at line 19511 of file dwarf2read.c.
Referenced by abbrev_table_read_table(), decode_locdesc(), dwarf_decode_lines_1(), read_attribute_value(), and read_debug_names_from_section().
|
static |
Definition at line 19669 of file dwarf2read.c.
References _, dwarf2_section_info::buffer, die_reader_specs::cu, dwarf2_read_section(), die_reader_specs::dwo_file, error(), dwarf2_cu::header, objfile::obfd, objfile_name(), comp_unit_head::offset_size, comp_unit_head::sect_off, dwo_file::sections, dwarf2_section_info::size, dwo_sections::str, dwo_sections::str_offsets, and to_underlying().
Referenced by read_attribute_value().
Definition at line 15710 of file dwarf2read.c.
References alloc_type(), attr_form_is_constant(), die_info::child, die_is_declaration(), DW_UNSND, dwarf2_attr(), dwarf2_attr_no_follow(), dwarf2_full_name(), dwarf2_name(), get_die_type(), get_DW_AT_signature_type(), INIT_CPLUS_SPECIFIC, dwarf2_cu::language, language_cplus, language_d, language_rust, name, dwarf2_cu::objfile, dwarf2_cu::producer, producer_is_icc_lt_14(), producer_is_realview(), set_descriptive_type(), set_die_type(), die_info::tag, type, TYPE_CODE, TYPE_CODE_STRUCT, TYPE_CODE_UNION, TYPE_DECLARED_CLASS, TYPE_LENGTH, TYPE_NAME, TYPE_STUB, TYPE_STUB_SUPPORTED, and TYPE_TAG_NAME.
Referenced by process_structure_scope(), and read_type_die_1().
Definition at line 17549 of file dwarf2read.c.
References _, attr_to_dynamic_prop(), objfile_type::builtin_int, objfile_type::builtin_long, objfile_type::builtin_long_long, check_typedef(), complaint, dynamic_prop_data::const_val, create_range_type(), dynamic_prop::data, die_type(), DW_UNSND, dwarf2_attr(), dwarf2_name(), gdbarch_addr_bit(), get_die_type(), get_objfile_arch(), dwarf2_cu::header, dynamic_prop::kind, dwarf2_cu::language, language_ada, language_c, language_cplus, language_d, language_fortran, language_m2, language_objc, language_pascal, language_rust, name, dwarf2_cu::objfile, objfile_name(), objfile_type(), PROP_CONST, PROP_UNDEFINED, die_info::sect_off, set_descriptive_type(), set_die_type(), symfile_complaints, TARGET_CHAR_BIT, to_underlying(), TYPE_CODE, TYPE_CODE_VOID, TYPE_HIGH_BOUND_KIND, TYPE_LENGTH, TYPE_NAME, TYPE_RANGE_DATA, TYPE_UNSIGNED, and comp_unit_head::version.
Referenced by read_type_die_1().
Definition at line 17150 of file dwarf2read.c.
References objfile_type::builtin_void, die_info::child, die_type(), DW_UNSND, dwarf2_attr(), dwarf2_name(), follow_die_ref(), get_die_type(), dwarf2_cu::language, language_cplus, lookup_function_type(), make_cv_type(), name, dwarf2_cu::objfile, objfile_type(), dwarf2_cu::producer, prototyped_function_p(), set_die_type(), sibling_die(), die_info::tag, type, TYPE_CALLING_CONVENTION, TYPE_CONST, TYPE_FIELD_ARTIFICIAL, TYPE_FIELD_TYPE, TYPE_FIELDS, TYPE_NFIELDS, TYPE_NO_RETURN, TYPE_PROTOTYPED, TYPE_VARARGS, TYPE_VOLATILE, and TYPE_ZALLOC.
Referenced by read_type_die_1().
Definition at line 17051 of file dwarf2read.c.
References die_type(), get_die_type(), make_atomic_type(), and set_die_type().
Referenced by read_type_die_1().
Definition at line 16988 of file dwarf2read.c.
References add_array_cv_type(), die_type(), get_die_type(), make_cv_type(), set_die_type(), TYPE_CODE, TYPE_CODE_ARRAY, and TYPE_VOLATILE.
Referenced by read_type_die_1().
Definition at line 16828 of file dwarf2read.c.
References _, comp_unit_head::addr_size, complaint, die_type(), DW_UNSND, dwarf2_attr(), gdb_assert, gdbarch_address_class_type_flags(), gdbarch_address_class_type_flags_p(), get_die_type(), get_objfile_arch(), dwarf2_cu::header, lookup_pointer_type(), make_type_with_address_space(), dwarf2_cu::objfile, set_die_type(), symfile_complaints, type, TYPE_INSTANCE_FLAG_ADDRESS_CLASS_ALL, and TYPE_LENGTH.
Referenced by read_type_die_1().
|
static |
Definition at line 16893 of file dwarf2read.c.
References alloc_type(), check_typedef(), die_containing_type(), die_type(), get_die_type(), lookup_memberptr_type(), lookup_methodptr_type(), new_type(), dwarf2_cu::objfile, set_die_type(), smash_to_method_type(), type, TYPE_CODE, TYPE_CODE_FUNC, TYPE_CODE_METHOD, TYPE_FIELDS, TYPE_NFIELDS, TYPE_TARGET_TYPE, and TYPE_VARARGS.
Referenced by read_type_die_1().
|
static |
Definition at line 16928 of file dwarf2read.c.
References comp_unit_head::addr_size, die_type(), DW_UNSND, dwarf2_attr(), gdb_assert, get_die_type(), dwarf2_cu::header, lookup_reference_type(), set_die_type(), type, TYPE_CODE_REF, TYPE_CODE_RVALUE_REF, and TYPE_LENGTH.
Referenced by read_type_die_1().
Definition at line 17033 of file dwarf2read.c.
References die_type(), get_die_type(), make_restrict_type(), and set_die_type().
Referenced by read_type_die_1().
Definition at line 17072 of file dwarf2read.c.
References objfile_type::builtin_int, create_static_range_type(), create_string_type(), DW_UNSND, dwarf2_attr(), get_objfile_arch(), dwarf2_cu::language_defn, language_string_char_type(), dwarf2_cu::objfile, objfile_type(), set_die_type(), and type.
Referenced by read_type_die_1().
Definition at line 17009 of file dwarf2read.c.
References add_array_cv_type(), die_type(), get_die_type(), make_cv_type(), set_die_type(), TYPE_CODE, TYPE_CODE_ARRAY, and TYPE_CONST.
Referenced by read_type_die_1().
Definition at line 21933 of file dwarf2read.c.
References get_die_type(), and read_type_die_1().
Referenced by attr_to_dynamic_prop(), determine_prefix(), dwarf2_add_member_fn(), dwarf2_add_type_defn(), dwarf2_compute_name(), get_DW_AT_signature_type(), get_signatured_type(), lookup_die_type(), process_die(), read_array_type(), read_func_scope(), read_module(), read_namespace(), and read_namespace_type().
Definition at line 21948 of file dwarf2read.c.
References _, complaint, dwarf_tag_name(), read_array_type(), read_base_type(), read_enumeration_type(), read_module_type(), read_namespace_type(), read_set_type(), read_structure_type(), read_subrange_type(), read_subroutine_type(), read_tag_atomic_type(), read_tag_const_type(), read_tag_pointer_type(), read_tag_ptr_to_member_type(), read_tag_reference_type(), read_tag_restrict_type(), read_tag_string_type(), read_tag_volatile_type(), read_typedef(), read_unspecified_type(), symfile_complaints, die_info::tag, TYPE_CODE_REF, and TYPE_CODE_RVALUE_REF.
Referenced by read_type_die().
Definition at line 11743 of file dwarf2read.c.
References die_info::child, language_minimal, prepare_one_comp_unit(), process_die(), setup_type_unit_groups(), sibling_die(), and die_info::tag.
Referenced by process_die().
Definition at line 17287 of file dwarf2read.c.
References _, complaint, die_type(), dwarf2_full_name(), init_type(), name, dwarf2_cu::objfile, objfile_name(), die_info::sect_off, set_die_type(), symfile_complaints, to_underlying(), TYPE_CODE_TYPEDEF, TYPE_TARGET_STUB, and TYPE_TARGET_TYPE.
Referenced by read_type_die_1().
Definition at line 19483 of file dwarf2read.c.
Referenced by abbrev_table_read_table(), decode_locdesc(), dwarf2_find_location_expression(), dwarf2_rnglists_process(), dwarf_decode_line_header(), dwarf_decode_lines_1(), dwarf_decode_macro_bytes(), dwarf_decode_macros(), dwarf_parse_macro_header(), dw2_debug_names_iterator::next(), peek_abbrev_code(), peek_die_abbrev(), read_addr_index_from_leb128(), read_attribute_value(), read_debug_names_from_section(), read_formatted_entries(), read_full_die_1(), skip_form_bytes(), skip_one_die(), and skip_unknown_opcode().
Definition at line 17709 of file dwarf2read.c.
References dwarf2_name(), init_type(), dwarf2_cu::language, language_ada, dwarf2_cu::objfile, set_die_type(), type, TYPE_CODE_VOID, TYPE_NAME, and TYPE_STUB.
Referenced by read_type_die_1().
Definition at line 14268 of file dwarf2read.c.
References rust_vtable_symbol::concrete_type, initialize_objfile_symbol(), dwarf2_cu::language, language_rust, new_symbol_full(), dwarf2_cu::objfile, OBSTACK_ZALLOC, rust_containing_type(), symbol::subclass, and SYMBOL_RUST_VTABLE.
Referenced by process_die().
|
static |
Definition at line 10240 of file dwarf2read.c.
References get_compunit_symtab(), dwarf2_per_cu_data::is_debug_types, compunit_symtab::user, VEC_iterate, and VEC_safe_push.
Referenced by compute_compunit_symtab_includes().
|
static |
Definition at line 25999 of file dwarf2read.c.
References partial_symtab::dependencies, partial_symtab::n_global_syms, partial_symtab::n_static_syms, partial_symtab::number_of_dependencies, and partial_symtab::user.
Referenced by psyms_seen_size().
|
static |
Definition at line 5482 of file dwarf2read.c.
References blockvector_contains_pc(), COMPUNIT_BLOCKVECTOR, and compunit_symtab::includes.
Referenced by dw2_find_pc_sect_compunit_symtab().
|
static |
Definition at line 26015 of file dwarf2read.c.
References partial_symtab::dependencies, objfile::global_psymbols, partial_symtab::globals_offset, partial_symtab::n_global_syms, partial_symtab::n_static_syms, partial_symtab::number_of_dependencies, objfile::static_psymbols, partial_symtab::statics_offset, partial_symtab::user, and write_psymbols().
Referenced by write_gdbindex().
Definition at line 14245 of file dwarf2read.c.
References attr_form_is_ref(), die_containing_type(), dwarf2_attr(), and follow_die_ref().
Referenced by read_variable().
|
static |
Definition at line 26994 of file dwarf2read.c.
References _, ALL_OBJFILES, CATCH, DEBUG_NAMES, dwarf2_objfile_data_key, END_CATCH, error(), exception_fprintf(), GDB_INDEX, gdb_stderr, objfile::objfile(), objfile_name(), RETURN_MASK_ERROR, skip_spaces(), TRY, and write_psymtabs_to_index().
Referenced by _initialize_dwarf2_read().
|
static |
Definition at line 8940 of file dwarf2read.c.
References _, add_partial_enumeration(), add_partial_module(), add_partial_namespace(), add_partial_subprogram(), add_partial_symbol(), dwarf2_per_cu_data::cu, partial_die_info::d, partial_die_info::die_child, partial_die_info::die_sibling, dwarf2_find_containing_comp_unit(), error(), fixup_partial_die(), partial_die_info::has_children, partial_die_info::highpc, dwarf2_per_cu_data::is_debug_types, partial_die_info::is_declaration, partial_die_info::is_dwz, dwarf2_cu::language, language_rust, partial_die_info::lowpc, partial_die_info::name, dwarf2_cu::objfile, objfile_name(), dwarf2_cu::per_cu, process_psymtab_comp_unit(), dwarf2_per_cu_data::psymtab, partial_die_info::sect_off, partial_die_info::tag, dwarf2_per_cu_data::v, and VEC_safe_push.
Referenced by add_partial_module(), add_partial_namespace(), build_type_psymtabs_reader(), and process_psymtab_comp_unit_reader().
|
static |
Definition at line 2533 of file dwarf2read.c.
References dwarf2_section_names::compressed, and dwarf2_section_names::normal.
Referenced by dwarf2_locate_common_dwp_sections(), dwarf2_locate_dwo_sections(), dwarf2_locate_v2_dwp_sections(), locate_dwz_sections(), dwarf2_per_objfile::locate_sections(), and locate_v1_virtual_dwo_sections().
|
static |
Definition at line 19726 of file dwarf2read.c.
References dwarf2_cu::language, language_ada, language_asm, language_c, language_cplus, language_d, language_def(), dwarf2_cu::language_defn, language_fortran, language_go, language_m2, language_minimal, language_objc, language_pascal, and language_rust.
Referenced by prepare_one_comp_unit(), and read_file_scope().
|
static |
Definition at line 21804 of file dwarf2read.c.
References ALLOCATE_GNAT_AUX_TYPE, die_descriptive_type(), and TYPE_DESCRIPTIVE_TYPE.
Referenced by read_array_type(), read_structure_type(), and read_subrange_type().
|
static |
Definition at line 25190 of file dwarf2read.c.
References _, add_dyn_prop(), attr_form_is_block(), attr_to_dynamic_prop(), complaint, dwarf2_per_objfile::die_type_hash, dummy_obstack_deallocate(), dwarf2_attr(), dwarf_form_name(), DYN_PROP_ALLOCATED, DYN_PROP_ASSOCIATED, DYN_PROP_DATA_LOCATION, attribute::form, hashtab_obstack_allocate(), HAVE_GNAT_AUX_INFO, INIT_GNAT_SPECIFIC, need_gnat_info(), dwarf2_cu::objfile, dwarf2_cu::per_cu, dwarf2_per_cu_offset_and_type::per_cu, per_cu_offset_and_type_eq(), per_cu_offset_and_type_hash(), die_info::sect_off, dwarf2_per_cu_offset_and_type::sect_off, symfile_complaints, to_underlying(), type, dwarf2_per_cu_offset_and_type::type, TYPE_CODE, TYPE_CODE_FLT, TYPE_CODE_FUNC, TYPE_CODE_MEMBERPTR, TYPE_CODE_METHOD, and TYPE_CODE_METHODPTR.
Referenced by add_array_cv_type(), read_array_type(), read_base_type(), read_enumeration_type(), read_module_type(), read_namespace_type(), read_set_type(), read_structure_type(), read_subrange_type(), read_subroutine_type(), read_tag_atomic_type(), read_tag_const_type(), read_tag_pointer_type(), read_tag_ptr_to_member_type(), read_tag_reference_type(), read_tag_restrict_type(), read_tag_string_type(), read_tag_volatile_type(), read_typedef(), and read_unspecified_type().
|
static |
Definition at line 25406 of file dwarf2read.c.
References all_commands, gdb_stdout, help_list(), and set_dwarf_cmdlist.
Referenced by _initialize_dwarf2_read().
|
static |
Definition at line 8712 of file dwarf2read.c.
References partial_symtab::dependencies, dw2_get_cutu(), partial_symtab::number_of_dependencies, dwarf2_per_cu_data::psymtab, partial_symtab::user, and dwarf2_per_cu_data::v.
Referenced by dwarf2_build_psymtabs_hard().
Definition at line 11635 of file dwarf2read.c.
References allocate_symtab(), dwarf2_per_cu_data::cu, current_subfile, DW_UNSND, dwarf2_attr(), dwarf2_start_subfile(), dwarf2_start_symtab(), dwarf_decode_line_header(), line_header::file_names, gdb_assert, get_type_unit_group(), file_entry::include_dir(), dwarf2_per_cu_data::is_debug_types, dwarf2_cu::line_header, dwarf2_cu::line_header_die_owner, subfile::name, file_entry::name, dwarf2_cu::per_cu, signatured_type::per_cu, restart_symtab(), subfile::symtab, file_entry::symtab, signatured_type::type_unit_group, and XNEWVEC.
Referenced by read_type_unit_scope().
|
static |
Definition at line 27058 of file dwarf2read.c.
References _, and fprintf_filtered().
Referenced by _initialize_dwarf2_read().
|
static |
Definition at line 27048 of file dwarf2read.c.
References _, and fprintf_filtered().
Referenced by _initialize_dwarf2_read().
|
static |
Definition at line 25413 of file dwarf2read.c.
References cmd_show_list(), and show_dwarf_cmdlist.
Referenced by _initialize_dwarf2_read().
|
static |
Definition at line 1688 of file dwarf2read.c.
References _, and fprintf_filtered().
Referenced by _initialize_dwarf2_read().
Definition at line 22360 of file dwarf2read.c.
References die_info::sibling.
Referenced by dwarf2_get_subprogram_pc_bounds(), get_scope_pc_bounds(), inherit_abstract_dies(), process_enumeration_scope(), process_structure_scope(), read_array_type(), read_call_site_scope(), read_common_block(), read_file_scope(), read_func_scope(), read_import_statement(), read_lexical_block_scope(), read_module(), read_namespace(), read_subroutine_type(), read_type_unit_scope(), and update_enumeration_type_from_children().
|
static |
Definition at line 9535 of file dwarf2read.c.
References die_reader_specs::cu, peek_die_abbrev(), and skip_one_die().
Referenced by locate_pdi_sibling(), and skip_one_die().
|
static |
Definition at line 23968 of file dwarf2read.c.
References _, complaint, dwarf2_section_buffer_overflow_complaint(), gdb_skip_leb128(), get_section_name(), read_1_byte(), read_2_bytes(), read_4_bytes(), read_direct_string(), read_unsigned_leb128(), and symfile_complaints.
Referenced by skip_unknown_opcode().
|
static |
Definition at line 9558 of file dwarf2read.c.
References _, die_reader_specs::abfd, comp_unit_head::addr_size, abbrev_info::attrs, die_reader_specs::buffer, die_reader_specs::buffer_end, complaint, die_reader_specs::cu, die_reader_specs::die_section, dwarf2_get_ref_die_offset(), dwarf2_section_buffer_overflow_complaint(), dwarf_form_name(), error(), attr_abbrev::form, attribute::form, abbrev_info::has_children, dwarf2_cu::header, attr_abbrev::name, abbrev_info::num_attrs, comp_unit_head::offset_size, read_1_byte(), read_2_bytes(), read_4_bytes(), read_attribute(), read_direct_string(), read_unsigned_leb128(), safe_skip_leb128(), skip_children(), symfile_complaints, to_underlying(), and comp_unit_head::version.
Referenced by load_partial_dies(), and skip_children().
|
static |
Definition at line 24056 of file dwarf2read.c.
References _, complaint, read_unsigned_leb128(), skip_form_bytes(), and symfile_complaints.
Referenced by dwarf_decode_macro_bytes(), and dwarf_decode_macros().
|
static |
Definition at line 22746 of file dwarf2read.c.
References dwarf2_cu::die_hash, die_info::sect_off, and to_underlying().
Referenced by read_die_and_children().
|
static |
Definition at line 25884 of file dwarf2read.c.
References LOC_BLOCK, LOC_COMPUTED, LOC_CONST, LOC_CONST_BYTES, LOC_OPTIMIZED_OUT, LOC_STATIC, LOC_TYPEDEF, PSYMBOL_CLASS, PSYMBOL_DOMAIN, STRUCT_DOMAIN, and VAR_DOMAIN.
Referenced by dw2_expand_marked_cus(), dw2_symtab_iter_next(), and write_psymbols().
|
static |
Definition at line 12805 of file dwarf2read.c.
References debug_file_directory, DIRNAME_SEPARATOR, flags, gdb_bfd_open(), gdb_bfd_record_inclusion(), gdb::ref_ptr< T, Policy >::get(), gnutarget, O_BINARY, openp(), OPF_RETURN_REALPATH, OPF_SEARCH_IN_PATH, and xfree().
Referenced by open_dwo_file(), and open_dwp_file().
|
static |
Definition at line 15189 of file dwarf2read.c.
References die_info::tag.
Referenced by dwarf2_add_type_defn(), and process_structure_scope().
|
static |
Definition at line 22301 of file dwarf2read.c.
References dwarf2_cu::language, language_d, language_fortran, MAX_SEP_LEN, obconcat(), and xmalloc().
Referenced by dwarf2_compute_name(), partial_die_full_name(), partial_die_parent_scope(), and read_namespace_type().
|
static |
Definition at line 25652 of file dwarf2read.c.
Referenced by write_gdbindex().
|
static |
Definition at line 16073 of file dwarf2read.c.
References die_info::child, dwarf2_attr(), dwarf2_const_value_attr(), dwarf2_name(), name, sibling_die(), die_info::tag, TYPE_FLAG_ENUM, and TYPE_UNSIGNED.
Referenced by read_enumeration_type().
|
static |
Definition at line 11233 of file dwarf2read.c.
References context_stack_depth, global_using_directives, language_ada, and local_using_directives.
Referenced by add_using_directive(), read_import_statement(), and read_namespace().
|
static |
Definition at line 21111 of file dwarf2read.c.
References comp_unit_head::addr_size, ANOFFSET, attr_form_is_block(), dummy, DW_BLOCK, dwarf2_symbol_mark_computed(), fixup_symbol_section(), dwarf2_cu::header, leb128_size(), LOC_OPTIMIZED_OUT, LOC_STATIC, objfile::obfd, dwarf2_cu::objfile, read_addr_index_from_leb128(), read_address(), objfile::section_offsets, size, SYMBOL_ACLASS_INDEX, SYMBOL_COMPUTED_OPS, SYMBOL_SECTION, and SYMBOL_VALUE_ADDRESS.
Referenced by new_symbol_full().
|
static |
Definition at line 25855 of file dwarf2read.c.
References add_address_entry(), add_address_entry_worker(), addrmap_index_data::addr_vec, addrmap_foreach(), addrmap_index_data::cu_index_htab, addrmap_index_data::objfile, addrmap_index_data::previous_cu_index, addrmap_index_data::previous_cu_start, addrmap_index_data::previous_valid, and objfile::psymtabs_addrmap.
Referenced by write_gdbindex().
|
static |
Definition at line 22986 of file dwarf2read.c.
References store_unsigned_integer(), and TYPE_LENGTH.
Referenced by dwarf2_fetch_constant_bytes().
|
static |
Definition at line 26793 of file dwarf2read.c.
References debug_names::abbrev_table_bytes(), data_buf::append_data(), data_buf::append_uint(), debug_names::bucket_count(), debug_names::build(), debug_names::bytes(), check_dwarf64_offsets(), signatured_type_index_data::cu_index, dwarf5_gdb_augmentation, debug_names::dwarf5_offset_size(), data_buf::file_write(), debug_names::file_write(), gdb_assert, gdbarch_byte_order(), get_objfile_arch(), debug_names::write_one_signatured_type_data::info, debug_names::name_count(), signatured_type_index_data::objfile, psyms_seen_size(), dwarf2_per_cu_data::psymtab, debug_names::recursively_write_psymbols(), dwarf2_per_cu_data::sect_off, dwarf2_per_objfile::signatured_types, data_buf::size(), signatured_type_index_data::symtab, to_underlying(), partial_symtab::user, dwarf2_per_cu_data::v, and debug_names::write_one_signatured_type().
Referenced by write_psymtabs_to_index().
|
static |
Definition at line 26680 of file dwarf2read.c.
References data_buf::append_data(), data_buf::append_uint(), signatured_type_index_data::cu_index, data_buf::file_write(), gdb_assert, dwarf2_per_cu_data::length, MAYBE_SWAP, signatured_type_index_data::objfile, psyms_seen_size(), dwarf2_per_cu_data::psymtab, recursively_write_psymbols(), dwarf2_per_cu_data::sect_off, dwarf2_per_objfile::signatured_types, data_buf::size(), signatured_type_index_data::symtab, to_underlying(), uniquify_cu_indices(), partial_symtab::user, dwarf2_per_cu_data::v, write_address_map(), write_hash_table(), and write_one_signatured_type().
Referenced by write_psymtabs_to_index().
|
static |
Definition at line 25720 of file dwarf2read.c.
References data_buf::append_cstr0(), data_buf::append_data(), symtab_index_entry::cu_indices, gdb_assert, symtab_index_entry::index_offset, MAYBE_SWAP, symtab_index_entry::name, and data_buf::size().
Referenced by write_gdbindex().
|
static |
Definition at line 25966 of file dwarf2read.c.
References data_buf::append_uint(), signatured_type_index_data::cu_index, objfile::global_psymbols, partial_symtab::globals_offset, partial_symtab::n_global_syms, partial_symtab::n_static_syms, signatured_type_index_data::objfile, signatured_type::per_cu, signatured_type_index_data::psyms_seen, dwarf2_per_cu_data::psymtab, dwarf2_per_cu_data::sect_off, signatured_type::signature, objfile::static_psymbols, partial_symtab::statics_offset, signatured_type_index_data::symtab, to_underlying(), signatured_type::type_offset_in_tu, signatured_type_index_data::types_list, dwarf2_per_cu_data::v, and write_psymbols().
Referenced by write_gdbindex().
|
static |
Definition at line 25922 of file dwarf2read.c.
References _, add_index_entry(), error(), language_ada, symbol_kind(), SYMBOL_LANGUAGE, and SYMBOL_SEARCH_NAME.
Referenced by recursively_write_psymbols(), and write_one_signatured_type().
|
static |
Definition at line 26925 of file dwarf2read.c.
References _, assert_file_size(), DEBUG_NAMES, DEBUG_STR_SUFFIX, error(), gdb_fopen_cloexec(), INDEX4_SUFFIX, INDEX5_SUFFIX, objfile_name(), perror_with_name(), objfile::psymtabs, objfile::psymtabs_addrmap, SLASH_STRING, string, dwarf2_per_objfile::using_index, VEC_length, write_debug_names(), and write_gdbindex().
Referenced by save_gdb_index_command().
|
static |
Definition at line 1604 of file dwarf2read.c.
Referenced by dwarf2_add_field(), and mips_isa_regsize().
|
static |
Definition at line 105 of file dwarf2read.c.
Referenced by _initialize_dwarf2_read(), and dwarf2_physname().
| const struct quick_symbol_functions dwarf2_debug_names_functions |
Definition at line 6444 of file dwarf2read.c.
|
static |
Definition at line 524 of file dwarf2read.c.
Referenced by dwarf2_per_objfile::dwarf2_per_objfile(), and locate_dwz_sections().
| const struct quick_symbol_functions dwarf2_gdb_index_functions |
Definition at line 5615 of file dwarf2read.c.
|
static |
Definition at line 116 of file dwarf2read.c.
Referenced by _initialize_dwarf2_read(), and dwarf2_symbol_mark_computed().
|
static |
Definition at line 114 of file dwarf2read.c.
Referenced by _initialize_dwarf2_read(), dwarf2_const_value(), dwarf2_symbol_mark_computed(), and mark_common_block_symbol_computed().
|
static |
Definition at line 117 of file dwarf2read.c.
Referenced by _initialize_dwarf2_read(), and dwarf2_symbol_mark_computed().
|
static |
Definition at line 115 of file dwarf2read.c.
Referenced by _initialize_dwarf2_read(), and dwarf2_symbol_mark_computed().
|
static |
Definition at line 110 of file dwarf2read.c.
Referenced by _initialize_dwarf2_read(), dw2_setup(), dwarf2_free_objfile(), dwarf2_get_section_info(), dwarf2_has_info(), dwarf2_read_symtab(), and save_gdb_index_command().
|
static |
Definition at line 517 of file dwarf2read.c.
|
static |
Definition at line 1679 of file dwarf2read.c.
Referenced by dwarf2_release_queue(), process_queue(), and queue_comp_unit().
|
static |
Definition at line 1679 of file dwarf2read.c.
Referenced by dwarf2_release_queue(), process_queue(), and queue_comp_unit().
Definition at line 5638 of file dwarf2read.c.
Referenced by read_debug_names_from_section().
Definition at line 26786 of file dwarf2read.c.
Referenced by write_debug_names().
| int dwarf_always_disassemble |
Definition at line 27045 of file dwarf2read.c.
Referenced by _initialize_dwarf2_read(), and locexpr_describe_location_1().
|
static |
Definition at line 99 of file dwarf2read.c.
Referenced by _initialize_dwarf2_read(), init_cutu_and_read_dies(), init_cutu_and_read_dies_no_follow(), read_cutu_die_from_dwo(), read_die_and_siblings(), and read_full_die().
|
static |
Definition at line 102 of file dwarf2read.c.
Referenced by _initialize_dwarf2_read(), line_header::add_file_name(), line_header::add_include_dir(), dwarf_finish_line(), dwarf_record_line_1(), and lnp_state_machine::record_line().
|
static |
Definition at line 1686 of file dwarf2read.c.
Referenced by _initialize_dwarf2_read(), and age_cached_comp_units().
|
static |
Definition at line 96 of file dwarf2read.c.
Referenced by _initialize_dwarf2_read(), build_type_psymtabs_1(), create_cus_hash_table(), create_debug_type_hash_table(), create_dwo_cu_reader(), create_dwo_unit_in_dwp_v1(), create_dwo_unit_in_dwp_v2(), dwarf2_build_psymtabs_hard(), lookup_dwo_cutu(), open_and_init_dwo_file(), open_and_init_dwp_file(), process_psymtab_comp_unit_reader(), process_queue(), and read_comp_units_from_section().
|
static |
Referenced by dwarf2_locate_common_dwp_sections(), dwarf2_locate_dwo_sections(), dwarf2_locate_v2_dwp_sections(), and locate_v1_virtual_dwo_sections().
|
static |
Definition at line 25402 of file dwarf2read.c.
Referenced by _initialize_dwarf2_read(), and set_dwarf_cmd().
|
static |
Definition at line 25403 of file dwarf2read.c.
Referenced by _initialize_dwarf2_read(), and show_dwarf_cmd().
|
static |
Definition at line 108 of file dwarf2read.c.
Referenced by _initialize_dwarf2_read(), and dwarf2_read_index().
1.8.14