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 "jv-lang.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 <fcntl.h>
#include <sys/types.h>
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 | 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 | MAYBE_SWAP(V) (V) |
#define | INDEX_SUFFIX ".gdb-index" |
#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_") */ |
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) |
Enumerations | |
enum | dwp_v2_section_ids { DW_SECT_MIN = 1 } |
Variables | |
static unsigned int | dwarf_read_debug = 0 |
static unsigned int | dwarf_die_debug = 0 |
static unsigned int | dwarf_line_debug = 0 |
static int | check_physname = 0 |
static int | use_deprecated_index_sections = 0 |
static const struct objfile_data * | dwarf2_objfile_data_key |
static int | dwarf2_locexpr_index |
static int | dwarf2_loclist_index |
static int | dwarf2_locexpr_block_index |
static int | dwarf2_loclist_block_index |
static struct dwarf2_per_objfile * | dwarf2_per_objfile |
static const struct dwarf2_debug_sections | dwarf2_elf_names |
static const struct dwop_section_names | dwop_section_names |
static int | bits_per_byte = 8 |
static struct dwarf2_queue_item * | dwarf2_queue |
static struct dwarf2_queue_item * | dwarf2_queue_tail |
static int | dwarf_max_cache_age = 5 |
const struct quick_symbol_functions | dwarf2_gdb_index_functions |
static struct cmd_list_element * | set_dwarf_cmdlist |
static struct cmd_list_element * | show_dwarf_cmdlist |
int | dwarf_always_disassemble |
#define ABBREV_HASH_SIZE 121 |
Definition at line 1188 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 1287 of file dwarf2read.c.
Referenced by abbrev_table_read_table().
#define DW2_GDB_INDEX_CU_SET_VALUE | ( | cu_index, | |
value | |||
) |
Definition at line 170 of file dwarf2read.c.
Referenced by add_index_entry().
#define DW2_GDB_INDEX_SYMBOL_KIND_SET_VALUE | ( | cu_index, | |
value | |||
) |
Definition at line 162 of file dwarf2read.c.
Referenced by add_index_entry().
#define DW2_GDB_INDEX_SYMBOL_STATIC_SET_VALUE | ( | cu_index, | |
value | |||
) |
Definition at line 155 of file dwarf2read.c.
Referenced by add_index_entry().
#define DW_ADDR | ( | attr | ) | ((attr)->u.addr) |
Definition at line 1274 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 1272 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 1292 of file dwarf2read.c.
Referenced by dwarf2_add_member_fn(), process_enumeration_scope(), and read_array_type().
#define DW_SIGNATURE | ( | attr | ) | ((attr)->u.signature) |
Definition at line 1275 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 1273 of file dwarf2read.c.
Referenced by 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 1269 of file dwarf2read.c.
Referenced by anonymous_struct_prefix(), dump_die_shallow(), dwarf2_compute_name(), dwarf2_const_value_attr(), dwarf2_fetch_constant_bytes(), dwarf2_name(), dwarf2_physname(), find_file_and_directory(), guess_full_die_structure_name(), lookup_dwo_unit(), namespace_name(), prepare_one_comp_unit(), process_psymtab_comp_unit_reader(), read_attribute_value(), read_call_site_scope(), read_cutu_die_from_dwo(), and read_partial_die().
#define DW_STRING_IS_CANONICAL | ( | attr | ) | ((attr)->string_is_canonical) |
Definition at line 1270 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 1271 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_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 INDEX_SUFFIX ".gdb-index" |
Definition at line 2024 of file dwarf2read.c.
Referenced by write_psymtabs_to_index().
#define IS_TYPE_UNIT_GROUP | ( | per_cu | ) | ((per_cu)->section == NULL) |
Definition at line 718 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 931 of file dwarf2read.c.
Referenced by create_dwp_hash_table().
#define MAX_SEP_LEN 7 /* strlen ("__") + strlen ("_MOD_") */ |
Definition at line 19373 of file dwarf2read.c.
Referenced by typename_concat().
#define MAYBE_SWAP | ( | V | ) | (V) |
Definition at line 1990 of file dwarf2read.c.
Referenced by add_address_entry(), add_indices_to_cpool(), dw2_expand_symtabs_matching(), dw2_symtab_iter_init(), dw2_symtab_iter_next(), find_slot_in_mapped_hash(), read_index_from_section(), write_hash_table(), and write_psymtabs_to_index().
#define NO_STMT_LIST_TYPE_UNIT_PSYMTAB (1 << 31) |
Definition at line 5771 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 5772 of file dwarf2read.c.
Referenced by get_type_unit_group().
typedef struct delayed_method_info delayed_method_info |
Definition at line 424 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 1024 of file dwarf2read.c.
typedef struct dwarf2_per_cu_data* dwarf2_per_cu_ptr |
Definition at line 202 of file dwarf2read.c.
typedef struct dwarf2_section_info dwarf2_section_info_def |
Definition at line 145 of file dwarf2read.c.
typedef uint32_t offset_type |
Definition at line 150 of file dwarf2read.c.
typedef struct signatured_type* sig_type_ptr |
Definition at line 693 of file dwarf2read.c.
Definition at line 76 of file dwarf2read.c.
enum dwp_v2_section_ids |
Enumerator | |
---|---|
DW_SECT_MIN |
Definition at line 792 of file dwarf2read.c.
void _initialize_dwarf2_read | ( | void | ) |
Definition at line 23395 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_die_debug, dwarf_line_debug, dwarf_max_cache_age, dwarf_read_debug, LOC_BLOCK, LOC_COMPUTED, maintenance_set_cmdlist, maintenance_show_cmdlist, no_class, register_symbol_block_impl(), register_symbol_computed_impl(), save_cmdlist, save_gdb_index_command(), set_cmd_completer(), set_dwarf_cmd(), setdebuglist, setlist, show_check_physname(), show_dwarf_always_disassemble(), show_dwarf_cmd(), show_dwarf_max_cache_age(), showdebuglist, showlist, and use_deprecated_index_sections.
|
static |
Definition at line 15265 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 15252 of file dwarf2read.c.
References abbrev_table::abbrev_obstack.
Referenced by abbrev_table_read_table().
|
static |
Definition at line 15396 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 15408 of file dwarf2read.c.
References abbrev_table_free().
Referenced by build_type_psymtabs_1().
|
static |
Definition at line 15280 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 15301 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::name, abbrev_info::num_attrs, abbrev_info::number, offset, abbrev_table::offset, read_1_byte(), read_unsigned_leb128(), sect_offset::sect_off, dwarf2_section_info::size, abbrev_info::tag, xfree(), xmalloc(), and xrealloc().
Referenced by build_type_psymtabs_1(), and dwarf2_read_abbrevs().
|
static |
Definition at line 22896 of file dwarf2read.c.
References ANOFFSET, MAYBE_SWAP, SECT_OFF_TEXT, objfile::section_offsets, and store_unsigned_integer().
Referenced by add_address_entry_worker(), and write_address_map().
Definition at line 22916 of file dwarf2read.c.
References add_address_entry(), addrmap_index_data::addr_obstack, psymtab_cu_index_map::cu_index, addrmap_index_data::cu_index_htab, gdb_assert, addrmap_index_data::objfile, addrmap_index_data::previous_cu_index, addrmap_index_data::previous_cu_start, addrmap_index_data::previous_valid, and psymtab_cu_index_map::psymtab.
Referenced by write_address_map().
|
static |
Definition at line 14323 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 17181 of file dwarf2read.c.
References file_entry::dir_index, dwarf_line_debug, line_header::file_names, line_header::file_names_size, fprintf_unfiltered(), gdb_stdlog, file_entry::included_p, file_entry::length, file_entry::mod_time, name, file_entry::name, line_header::num_file_names, file_entry::symtab, xmalloc(), and xrealloc().
Referenced by dwarf_decode_line_header(), and dwarf_decode_lines_1().
|
static |
Definition at line 17154 of file dwarf2read.c.
References dwarf_line_debug, fprintf_unfiltered(), gdb_stdlog, line_header::include_dirs, line_header::include_dirs_size, line_header::num_include_dirs, xmalloc(), and xrealloc().
Referenced by dwarf_decode_line_header().
|
static |
Definition at line 22676 of file dwarf2read.c.
References DW2_GDB_INDEX_CU_SET_VALUE, DW2_GDB_INDEX_SYMBOL_KIND_SET_VALUE, DW2_GDB_INDEX_SYMBOL_STATIC_SET_VALUE, find_slot(), hash_expand(), mapped_symtab::n_elements, name, mapped_symtab::size, and VEC_safe_push.
Referenced by write_psymbols().
|
static |
Definition at line 22767 of file dwarf2read.c.
References symtab_index_entry::index_offset, len, MAYBE_SWAP, VEC_iterate, and VEC_length.
Referenced by write_hash_table().
|
static |
Definition at line 7171 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 7083 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 7066 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 7109 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 6873 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, partial_die_info::has_type, partial_die_info::is_declaration, partial_die_info::is_external, dwarf2_cu::language, language_ada, language_cplus, language_java, psymbol_allocation_list::list, LOC_BLOCK, LOC_CONST, LOC_STATIC, LOC_TYPEDEF, partial_die_info::locdesc, partial_die_info::lowpc, MODULE_DOMAIN, partial_die_info::name, dwarf2_cu::objfile, partial_die_full_name(), SECT_OFF_TEXT, objfile::section_offsets, 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 4574 of file dwarf2read.c.
Referenced by create_all_type_units().
|
static |
Definition at line 22513 of file dwarf2read.c.
References obstack_grow_str0, strtab_entry::offset, and strtab_entry::str.
Referenced by write_hash_table().
|
static |
Definition at line 7747 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 4785 of file dwarf2read.c.
References gdb_assert, dwarf2_per_cu_data::is_debug_types, objfile::objfile_obstack, OBSTACK_ZALLOC, signatured_type::per_cu, dwarf2_per_cu_data::quick, signatured_type::signature, dwarf2_per_cu_data::v, and xrealloc().
Referenced by lookup_dwo_signatured_type(), lookup_dwp_signatured_type(), and process_skeletonless_type_unit().
|
static |
Definition at line 22096 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, 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 9431 of file dwarf2read.c.
References dummy_obstack_deallocate(), eq_dwo_file(), hash_dwo_file(), hashtab_obstack_allocate(), and objfile::objfile_obstack.
Referenced by lookup_dwo_file_slot().
|
static |
Definition at line 9489 of file dwarf2read.c.
References dummy_obstack_deallocate(), eq_dwo_unit(), hash_dwo_unit(), hashtab_obstack_allocate(), and objfile::objfile_obstack.
Referenced by create_debug_types_hash_table().
|
static |
Definition at line 10762 of file dwarf2read.c.
References dummy_obstack_deallocate(), eq_dwp_loaded_cutus(), hash_dwp_loaded_cutus(), hashtab_obstack_allocate(), and objfile::objfile_obstack.
Referenced by open_and_init_dwp_file().
|
static |
Definition at line 4560 of file dwarf2read.c.
References dummy_obstack_deallocate(), eq_signatured_type(), hash_signatured_type(), hashtab_obstack_allocate(), and objfile::objfile_obstack.
Referenced by create_debug_types_hash_table(), create_signatured_type_table_from_index(), lookup_dwo_signatured_type(), lookup_dwp_signatured_type(), and process_skeletonless_type_unit().
|
static |
Definition at line 5757 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 19176 of file dwarf2read.c.
References DW_STRING, DW_STRING_IS_CANONICAL, dwarf2_attr(), gdb_assert, dwarf2_cu::objfile, objfile::per_bfd, objfile_per_bfd_storage::storage_obstack, and die_info::tag.
Referenced by determine_prefix().
Definition at line 21678 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(), and var_decode_location().
Definition at line 21719 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(), and read_partial_die().
Definition at line 21740 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(), and read_call_site_scope().
Definition at line 21698 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 14787 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, objfile::objfile_obstack, 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_subrange_type(), and set_die_type().
Definition at line 1997 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 18908 of file dwarf2read.c.
References _, dwarf2_cu::header, init_type(), objfile_name(), objfile::objfile_obstack, comp_unit_head::offset, die_info::offset, sect_offset::sect_off, TYPE_CODE_ERROR, xfree(), and xstrprintf().
Referenced by get_DW_AT_signature_type(), get_signatured_type(), and lookup_die_type().
|
static |
Definition at line 6292 of file dwarf2read.c.
References partial_symtab::dependencies, gdb_assert, dwarf2_per_cu_data::is_debug_types, IS_TYPE_UNIT_GROUP, len, partial_symtab::number_of_dependencies, objfile::objfile_obstack, 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 6326 of file dwarf2read.c.
References build_type_psymtabs_1(), and create_all_type_units().
Referenced by dwarf2_build_psymtabs_hard().
|
static |
Definition at line 6178 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, dwarf2_per_cu_data::offset, signatured_type::per_cu, qsort, read_abbrev_offset(), sect_offset::sect_off, dwarf2_per_cu_data::section, tu_abbrev_offset::sig_type, sort_tu_by_abbrev_offset(), and xfree().
Referenced by build_type_psymtabs().
|
static |
Definition at line 6092 of file dwarf2read.c.
References partial_symtab::anonymous, create_partial_symtab(), die_reader_specs::cu, dwarf2_attr_no_follow(), file_symbols, gdb_assert, get_type_unit_group(), objfile::global_psymbols, partial_symtab::globals_offset, partial_die_info::highpc, dwarf2_per_cu_data::is_debug_types, language_minimal, psymbol_allocation_list::list, dwarf2_cu::list_in_scope, load_partial_dies(), partial_die_info::lowpc, partial_symtab::n_global_syms, partial_symtab::n_static_syms, psymbol_allocation_list::next, dwarf2_cu::per_cu, prepare_one_comp_unit(), scan_partial_symbols(), sort_pst_symbols(), objfile::static_psymbols, partial_symtab::statics_offset, and VEC_safe_push.
Referenced by build_type_psymtabs_1(), and process_skeletonless_type_unit().
|
static |
Definition at line 17716 of file dwarf2read.c.
References _, dwarf2_section_info::buffer, complaint(), get_debug_line_section(), noop_record_line(), dwarf2_cu::objfile, objfile_name(), lnp_state_machine::record_line, and symfile_complaints.
Referenced by dwarf_decode_lines_1().
|
static |
Definition at line 12319 of file dwarf2read.c.
References dwarf2_cu::producer, producer_is_gcc(), and startswith().
Referenced by producer_is_gcc_lt_4_3(), producer_is_gxx_lt_4_6(), and producer_is_icc().
|
static |
Definition at line 22615 of file dwarf2read.c.
References mapped_symtab::data, and xfree().
Referenced by write_psymtabs_to_index().
|
static |
Definition at line 7944 of file dwarf2read.c.
References gdb_assert, get_compunit_symtab(), compunit_symtab::includes, dwarf2_per_cu_data::is_debug_types, len, recursively_compute_inclusions(), VEC, VEC_empty, VEC_free, VEC_iterate, VEC_length, xcalloc(), and xfree().
Referenced by process_cu_includes().
|
static |
Definition at line 7780 of file dwarf2read.c.
References delayed_method_info::die, dwarf2_physname(), fn_fieldlist::fn_fields, delayed_method_info::fnfield_index, delayed_method_info::index, delayed_method_info::name, delayed_method_info::type, TYPE_FN_FIELD_PHYSNAME, TYPE_FN_FIELDLIST, and VEC_iterate.
Referenced by process_full_comp_unit(), and process_full_type_unit().
Definition at line 20868 of file dwarf2read.c.
References _, complaint(), and symfile_complaints.
Referenced by parse_macro_definition().
Definition at line 20857 of file dwarf2read.c.
References len, and xmalloc().
Referenced by parse_macro_definition().
|
static |
Definition at line 2883 of file dwarf2read.c.
References _, mapped_index::address_table, mapped_index::address_table_size, addrmap_create_fixed(), addrmap_create_mutable(), addrmap_set_empty(), ANOFFSET, complaint(), do_cleanups(), dw2_get_cutu(), extract_unsigned_integer(), gdbarch_adjust_dwarf2_addr(), get_objfile_arch(), hex_string(), make_cleanup_obstack_free(), objfile::objfile_obstack, objfile::psymtabs_addrmap, SECT_OFF_TEXT, objfile::section_offsets, and symfile_complaints.
Referenced by dwarf2_read_index().
|
static |
Definition at line 6599 of file dwarf2read.c.
References dwarf2_get_dwz_file(), dwarf2_per_objfile::info, dwz_file::info, objfile::objfile_obstack, read_comp_units_from_section(), xfree(), and xmalloc().
Referenced by dwarf2_build_psymtabs_hard(), and dwarf2_initialize_objfile().
Definition at line 4752 of file dwarf2read.c.
References add_signatured_type_cu_to_table(), create_debug_types_hash_table(), gdb_assert, and xmalloc().
Referenced by build_type_psymtabs(), and dwarf2_initialize_objfile().
|
static |
Definition at line 2802 of file dwarf2read.c.
References create_cus_from_index_list(), dwarf2_get_dwz_file(), dwarf2_per_objfile::info, dwz_file::info, and objfile::objfile_obstack.
Referenced by dwarf2_read_index().
|
static |
Definition at line 2767 of file dwarf2read.c.
References extract_unsigned_integer(), gdb_static_assert, dwarf2_per_cu_data::is_dwz, dwarf2_per_cu_data::length, dwarf2_per_cu_data::objfile, objfile::objfile_obstack, OBSTACK_ZALLOC, offset, dwarf2_per_cu_data::offset, dwarf2_per_cu_data::quick, sect_offset::sect_off, dwarf2_per_cu_data::section, and dwarf2_per_cu_data::v.
Referenced by create_cus_from_index().
|
static |
Definition at line 4595 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(), 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, objfile::objfile_obstack, OBSTACK_ZALLOC, offset, dwarf2_per_cu_data::offset, dwo_unit::offset, peek_abbrev_code(), signatured_type::per_cu, read_and_check_type_unit_head(), sect_offset::sect_off, dwarf2_per_cu_data::section, dwo_unit::section, dwo_file::sections, signatured_type::signature, dwo_unit::signature, dwarf2_section_info::size, symfile_complaints, signatured_type::type_offset_in_tu, dwo_unit::type_offset_in_tu, VEC_empty, and VEC_iterate.
Referenced by create_all_type_units(), and open_and_init_dwo_file().
Definition at line 9553 of file dwarf2read.c.
References _, 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, dwo_file::dwo_name, create_dwo_cu_data::dwo_unit, fprintf_unfiltered(), gdb_stdlog, get_section_bfd_owner(), get_section_file_name(), get_section_name(), dwo_sections::info, init_cutu_and_read_dies_no_follow(), dwarf2_per_cu_data::is_debug_types, dwarf2_per_cu_data::length, dwarf2_per_cu_data::objfile, objfile_name(), objfile::objfile_obstack, OBSTACK_ZALLOC, dwarf2_per_cu_data::offset, sect_offset::sect_off, dwarf2_per_cu_data::section, dwo_file::sections, dwarf2_section_info::size, and symfile_complaints.
Referenced by open_and_init_dwo_file().
|
static |
Definition at line 9513 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, offset, dwarf2_per_cu_data::offset, dwo_unit::offset, dwarf2_cu::per_cu, sect_offset::sect_off, dwarf2_per_cu_data::section, dwo_unit::section, dwo_unit::signature, and symfile_complaints.
Referenced by create_dwo_cu().
|
static |
Definition at line 9998 of file dwarf2read.c.
References _, dwo_sections::abbrev, virtual_v1_dwo_sections::abbrev, dwo_file::comp_dir, dwp_file::cus, dwp_file::dbfd, do_cleanups(), 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, make_cleanup(), MAX_NR_V1_DWO_SECTIONS, dwp_file::name, null_cleanup(), dwp_file::num_sections, objfile::objfile_obstack, 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, dwp_file::tus, dwp_hash_table::v1, dwp_file::version, xfree(), and xstrprintf().
Referenced by lookup_dwo_unit_in_dwp().
|
static |
Definition at line 10203 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, do_cleanups(), 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, make_cleanup(), dwp_file::name, dwp_hash_table::nr_columns, null_cleanup(), objfile::objfile_obstack, 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, dwp_file::tus, dwp_sections::types, dwp_hash_table::v2, dwp_file::version, xfree(), and xstrprintf().
Referenced by lookup_dwo_unit_in_dwp().
|
static |
Definition at line 9761 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, dwp_file::name, dwp_hash_table::nr_columns, dwp_hash_table::nr_slots, dwp_hash_table::nr_units, objfile::objfile_obstack, 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 10160 of file dwarf2read.c.
References _, dwarf2_section_info::asection, dwarf2_section_info::containing_section, error(), gdb_assert, get_section_bfd_section(), dwarf2_section_info::is_virtual, objfile_name(), offset, dwarf2_section_info::s, dwarf2_section_info::size, size, and dwarf2_section_info::virtual_offset.
Referenced by create_dwo_unit_in_dwp_v2().
|
static |
Definition at line 22603 of file dwarf2read.c.
References mapped_symtab::data, mapped_symtab::n_elements, and mapped_symtab::size.
Referenced by write_psymtabs_to_index().
|
static |
Definition at line 5887 of file dwarf2read.c.
References dwarf2_read_symtab(), objfile::global_psymbols, psymbol_allocation_list::next, 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 2639 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(), and dwarf2_read_index().
|
static |
Definition at line 2828 of file dwarf2read.c.
References allocate_signatured_type_table(), cu_offset::cu_off, extract_unsigned_integer(), gdb_static_assert, dwarf2_per_cu_data::is_debug_types, dwarf2_per_cu_data::objfile, objfile::objfile_obstack, OBSTACK_ZALLOC, offset, dwarf2_per_cu_data::offset, signatured_type::per_cu, dwarf2_per_cu_data::quick, sect_offset::sect_off, dwarf2_per_cu_data::section, signatured_type::signature, signatured_type::type_offset_in_tu, dwarf2_per_cu_data::v, and xmalloc().
Referenced by dwarf2_read_index().
|
static |
Definition at line 22503 of file dwarf2read.c.
References eq_strtab_entry(), hash_strtab_entry(), xcalloc(), and xfree().
Referenced by write_hash_table().
|
static |
Definition at line 22594 of file dwarf2read.c.
References delete_symtab_entry(), eq_symtab_entry(), hash_symtab_entry(), xcalloc(), and xfree().
Referenced by write_hash_table().
|
static |
Definition at line 5778 of file dwarf2read.c.
References partial_symtab::anonymous, create_partial_symtab(), name, NO_STMT_LIST_TYPE_UNIT_PSYMTAB, dwarf2_per_cu_data::objfile, objfile::objfile_obstack, OBSTACK_ZALLOC, type_unit_group::per_cu, dwarf2_per_cu_data::quick, sect_offset::sect_off, dwarf2_per_cu_data::v, xfree(), and xstrprintf().
Referenced by get_type_unit_group().
|
static |
Definition at line 21761 of file dwarf2read.c.
References dwarf2_per_objfile::loc.
Referenced by dwarf2_symbol_mark_computed(), and fill_in_loclist_baton().
|
static |
Definition at line 20497 of file dwarf2read.c.
References _, complaint(), dwarf_block::data, dwarf2_complex_location_expr_complaint(), 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 2620 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().
|
static |
Definition at line 22584 of file dwarf2read.c.
References VEC_free, and xfree().
Referenced by create_symbol_hash_table().
Definition at line 19223 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_fortran, language_java, 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 18893 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(), and read_tag_ptr_to_member_type().
Definition at line 18862 of file dwarf2read.c.
References dwarf2_attr(), and lookup_die_type().
Referenced by set_descriptive_type().
Definition at line 7685 of file dwarf2read.c.
References die_info::offset, and sect_offset::sect_off.
Referenced by load_full_comp_unit_reader(), and read_signatured_type_reader().
|
static |
Definition at line 7674 of file dwarf2read.c.
References die_info::offset, and sect_offset::sect_off.
Referenced by load_full_comp_unit_reader(), and read_signatured_type_reader().
Definition at line 17085 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 8354 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 17105 of file dwarf2read.c.
References dwarf2_attr(), and follow_die_ref().
Referenced by determine_prefix(), die_needs_namespace(), dwarf2_name(), guess_full_die_structure_name(), and read_func_scope().
Definition at line 18825 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(), 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().
|
static |
Definition at line 8411 of file dwarf2read.c.
Referenced by dwarf2_compute_name().
Definition at line 19826 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 19789 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 19783 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 19669 of file dwarf2read.c.
References die_info::abbrev, die_info::attrs, die_info::child, DW_ADDR, DW_BLOCK, DW_SIGNATURE, 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::offset, die_info::parent, print_spaces(), pulongest(), sect_offset::sect_off, and die_info::tag.
Referenced by dump_die_1(), and dump_die_for_error().
|
static |
Definition at line 2666 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_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, and dwarf2_per_cu_data::v.
Referenced by dw2_instantiate_symtab(), and psymtab_to_symtab_1().
|
static |
Definition at line 3723 of file dwarf2read.c.
References dw2_setup(), gdb_assert, and printf_filtered().
|
static |
Definition at line 3772 of file dwarf2read.c.
References dw2_get_cutu(), dw2_instantiate_symtab(), and dw2_setup().
|
static |
Definition at line 3747 of file dwarf2read.c.
References dw2_instantiate_symtab(), dw2_setup(), dw2_symtab_iter_init(), dw2_symtab_iter_next(), GLOBAL_BLOCK, and VAR_DOMAIN.
|
static |
Definition at line 3843 of file dwarf2read.c.
References _, basenames_may_differ, complaint(), dwarf2_per_cu_quick_data::compunit_symtab, mapped_index::constant_pool, do_cleanups(), dw2_get_cu(), dw2_get_cutu(), dw2_get_file_names(), dw2_get_real_path(), dw2_instantiate_symtab(), dw2_setup(), quick_file_names::file_names, FUNCTIONS_DOMAIN, make_cleanup_htab_delete(), dwarf2_per_cu_quick_data::mark, MAYBE_SWAP, name, quick_file_names::num_file_names, objfile_name(), dwarf2_per_cu_data::quick, QUIT, symbol_kind(), mapped_index::symbol_table, mapped_index::symbol_table_slots, symfile_complaints, TYPES_DOMAIN, dwarf2_per_cu_data::v, VARIABLES_DOMAIN, mapped_index::version, xcalloc(), and xfree().
|
static |
Definition at line 3788 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 3365 of file dwarf2read.c.
References compunit_primary_filetab(), dw2_get_cutu(), dw2_instantiate_symtab(), and dw2_setup().
|
static |
Definition at line 4069 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 3400 of file dwarf2read.c.
References dw2_free_cached_file_names(), and dw2_setup().
|
static |
Definition at line 3381 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 2756 of file dwarf2read.c.
References gdb_assert.
Referenced by dw2_expand_symtabs_matching(), dw2_map_symbol_filenames(), and dw2_map_symtabs_matching_filename().
|
static |
Definition at line 2739 of file dwarf2read.c.
References gdb_assert.
Referenced by create_addrmap_from_index(), dw2_expand_all_symtabs(), dw2_expand_symtabs_matching(), 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(), and set_partial_user().
|
static |
Definition at line 3327 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_matching(), dw2_expand_symtabs_with_fullname(), dw2_map_symbol_filenames(), and dw2_map_symtabs_matching_filename().
|
static |
Definition at line 3243 of file dwarf2read.c.
References 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_file_and_directory(), free_line_header(), gdb_assert, quick_file_names::hash, dwarf2_per_cu_data::is_debug_types, stmt_list_hash::line_offset, name, dwarf2_per_cu_quick_data::no_file_data, line_header::num_file_names, quick_file_names::num_file_names, objfile::objfile_obstack, dwarf2_cu::per_cu, dwarf2_per_cu_data::quick, quick_file_names::real_names, sect_offset::sect_off, die_info::tag, and dwarf2_per_cu_data::v.
Referenced by dw2_get_file_names().
|
static |
Definition at line 3351 of file dwarf2read.c.
References quick_file_names::file_names, gdb_realpath(), quick_file_names::num_file_names, objfile::objfile_obstack, OBSTACK_CALLOC, and quick_file_names::real_names.
Referenced by dw2_expand_symtabs_matching(), dw2_map_symbol_filenames(), and dw2_map_symtabs_matching_filename().
Definition at line 4166 of file dwarf2read.c.
|
static |
Definition at line 2710 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, and dwarf2_per_cu_data::v.
Referenced by 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_lookup_symbol(), and dw2_map_expand_apply().
|
static |
Definition at line 3651 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(), strcmp_iw(), and SYMBOL_SEARCH_NAME.
|
static |
Definition at line 3412 of file dwarf2read.c.
References dwarf2_per_cu_quick_data::compunit_symtab, objfile::compunit_symtabs, dw2_instantiate_symtab(), iterate_over_some_symtabs(), dwarf2_per_cu_data::quick, and dwarf2_per_cu_data::v.
Referenced by dw2_map_symtabs_matching_filename().
|
static |
Definition at line 3828 of file dwarf2read.c.
|
static |
Definition at line 4099 of file dwarf2read.c.
References dwarf2_per_cu_quick_data::compunit_symtab, do_cleanups(), dw2_get_cu(), dw2_get_cutu(), dw2_get_file_names(), dw2_get_real_path(), dw2_setup(), quick_file_names::file_names, dwarf2_per_cu_quick_data::file_names, make_cleanup_htab_delete(), quick_file_names::num_file_names, dwarf2_per_cu_data::quick, dwarf2_per_cu_data::v, xcalloc(), and xfree().
|
static |
Definition at line 3435 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, quick_file_names::num_file_names, dwarf2_per_cu_data::quick, and dwarf2_per_cu_data::v.
|
static |
Definition at line 3699 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 3739 of file dwarf2read.c.
|
static |
Definition at line 3234 of file dwarf2read.c.
References dwarf2_objfile_data_key, and gdb_assert.
Referenced by 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_get_die_type(), and dwarf2_read_addr_index().
|
static |
Definition at line 3541 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, 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 3567 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 22330 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 12431 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_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(), 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 xmalloc().
Referenced by process_structure_scope().
|
static |
Definition at line 12781 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(), dwarf_block::data, 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, language_java, fnfieldlist::length, make_cleanup(), fnfieldlist::name, nextfnfield::next, field_info::nfnfields, dwarf2_cu::objfile, offset, die_info::offset, fn_field::physname, read_type_die(), sect_offset::sect_off, size, dwarf_block::size, smash_to_method_type(), symfile_complaints, 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(), xmalloc(), and xrealloc().
Referenced by process_structure_scope().
|
static |
Definition at line 12618 of file dwarf2read.c.
References dwarf2_name(), typedef_field_list::field, gdb_assert, make_cleanup(), typedef_field::name, typedef_field_list::next, dwarf2_cu::objfile, read_type_die(), die_info::tag, typedef_field::type, field_info::typedef_field_list, field_info::typedef_field_list_count, xfree(), and xzalloc().
Referenced by process_structure_scope().
|
static |
Definition at line 12650 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, 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 12998 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 17029 of file dwarf2read.c.
References die_info::attrs, follow_die_ref(), attribute::name, and die_info::num_attrs.
Referenced by anonymous_struct_prefix(), 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(), dwarf2_add_field(), dwarf2_add_member_fn(), 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_physname(), dwarf2_record_block_ranges(), find_file_and_directory(), guess_full_die_structure_name(), handle_data_member_location(), handle_DW_AT_stmt_list(), inherit_abstract_dies(), init_cutu_and_read_dies(), lookup_dwo_unit(), namespace_name(), new_symbol_full(), prepare_one_comp_unit(), process_imported_unit_die(), process_psymtab_comp_unit_reader(), 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(), set_die_type(), setup_type_unit_groups(), and update_enumeration_type_from_children().
Definition at line 17061 of file dwarf2read.c.
References die_info::attrs, attribute::name, and die_info::num_attrs.
Referenced by build_type_psymtabs_reader(), read_enumeration_type(), and read_structure_type().
|
static |
Definition at line 4520 of file dwarf2read.c.
References partial_symtab::dirname, DW_UNSND, dwarf2_attr(), dwarf_decode_line_header(), dwarf_decode_lines(), free_line_header(), and partial_symtab::textlow.
Referenced by process_psymtab_comp_unit_reader().
void dwarf2_build_psymtabs | ( | struct objfile * | objfile | ) |
Definition at line 4236 of file dwarf2read.c.
References CATCH, discard_cleanups(), dwarf2_build_psymtabs_hard(), END_CATCH, exception_print(), gdb_stderr, objfile::global_psymbols, init_psymbol_list(), make_cleanup_discard_psymtabs(), RETURN_MASK_ERROR, psymbol_allocation_list::size, objfile::static_psymbols, and TRY.
Referenced by coff_symfile_read(), macho_symfile_read(), read_psyms(), and xcoff_initial_scan().
|
static |
Definition at line 6445 of file dwarf2read.c.
References addrmap_create_fixed(), addrmap_create_mutable(), build_type_psymtab_dependencies(), build_type_psymtabs(), create_all_comp_units(), discard_cleanups(), 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_cleanup_obstack_free(), objfile_name(), objfile::objfile_obstack, print_tu_stats(), process_psymtab_comp_unit(), process_skeletonless_type_units(), objfile::psymtabs_addrmap, psymtabs_addrmap_cleanup(), and set_partial_user().
Referenced by dwarf2_build_psymtabs().
|
static |
Definition at line 19432 of file dwarf2read.c.
References cp_canonicalize_string(), dwarf2_cu::language, language_cplus, name, and xfree().
Referenced by dwarf2_compute_name(), dwarf2_name(), and read_partial_die().
|
static |
Definition at line 22388 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 1900 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 8435 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(), do_ui_file_peek_last(), DW_STRING, dwarf2_attr(), dwarf2_canonicalize_name(), dwarf2_const_value_attr(), dwarf2_evaluate_loc_desc(), dwarf2_name(), fputs_unfiltered(), get_formatted_print_options(), java_print_type(), dwarf2_cu::language, language_ada, language_cplus, language_fortran, language_java, mem_fileopen(), name, dwarf2_cu::objfile, objfile::per_bfd, dwarf2_locexpr_baton::per_cu, value_print_options::raw, read_type_die(), release_value(), die_info::sibling, dwarf2_locexpr_baton::size, objfile_per_bfd_storage::storage_obstack, 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(), ui_file_delete(), ui_file_put(), ui_file_xstrdup(), value_contents_writeable(), value_free(), value_from_longest(), value_print(), and xfree().
Referenced by dwarf2_full_name(), and dwarf2_physname().
|
static |
Definition at line 18791 of file dwarf2read.c.
References dwarf2_const_value_attr(), dwarf2_locexpr_index, dwarf2_cu::header, LOC_CONST, LOC_CONST_BYTES, dwarf2_cu::objfile, objfile::objfile_obstack, 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 18688 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, 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 18656 of file dwarf2read.c.
References 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 1906 of file dwarf2read.c.
References _, complaint(), and symfile_complaints.
Referenced by dwarf2_const_value_attr().
|
static |
Definition at line 4481 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, partial_symtab::number_of_dependencies, objfile::objfile_obstack, 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 1892 of file dwarf2read.c.
References _, complaint(), and symfile_complaints.
Referenced by dwarf_decode_lines_1().
|
static |
Definition at line 1885 of file dwarf2read.c.
References _, complaint(), and symfile_complaints.
Referenced by dwarf_decode_lines_1(), and dwarf_record_line().
|
static |
Definition at line 12368 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(), and dwarf2_add_member_fn().
|
static |
Definition at line 19586 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 | offset, |
struct dwarf2_per_cu_data * | per_cu, | ||
struct obstack * | obstack, | ||
LONGEST * | len | ||
) |
Definition at line 20085 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(), sect_offset::sect_off, store_unsigned_integer(), symfile_complaints, type, and write_constant_as_bytes().
Referenced by indirect_pieced_value().
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 20050 of file dwarf2read.c.
References dwarf2_fetch_die_loc_sect_off(), get_frame_pc(), and offset.
Referenced by dwarf2_compile_expr_to_ax(), and per_cu_dwarf_call().
struct dwarf2_locexpr_baton dwarf2_fetch_die_loc_sect_off | ( | sect_offset | offset, |
struct dwarf2_per_cu_data * | per_cu, | ||
CORE_ADDR(*)(void *baton) | get_frame_pc, | ||
void * | baton | ||
) |
Definition at line 19987 of file dwarf2read.c.
References _, age_cached_comp_units(), attr_form_is_block(), attr_form_is_section_offset(), dwarf2_locexpr_baton::data, dw2_setup(), DW_BLOCK, dwarf2_attr(), dwarf2_find_location_expression(), error(), fill_in_loclist_baton(), follow_die_offset(), load_cu(), objfile_name(), offset, dwarf2_locexpr_baton::per_cu, dwarf2_cu::per_cu, dwarf2_locexpr_baton::size, and size.
Referenced by dwarf2_fetch_die_loc_cu_off(), and indirect_pieced_value().
Definition at line 4287 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 21949 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::offset, and sect_offset::sect_off.
Referenced by find_partial_die(), follow_die_offset(), lookup_die_type(), process_imported_unit_die(), and scan_partial_symbols().
|
static |
Definition at line 17077 of file dwarf2read.c.
References DW_UNSND, and dwarf2_attr().
Referenced by die_is_declaration(), dwarf2_add_field(), read_call_site_scope(), and read_enumeration_type().
|
static |
Definition at line 15430 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 22162 of file dwarf2read.c.
References dwarf2_objfile_data_key, and free_cached_comp_units().
Referenced by coff_symfile_finish(), elf_symfile_finish(), and xcoff_symfile_finish().
|
static |
Definition at line 8685 of file dwarf2read.c.
References dwarf2_compute_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 19864 of file dwarf2read.c.
References _, complaint(), DW_SND, DW_UNSND, dwarf_form_name(), attribute::form, and symfile_complaints.
Referenced by attr_to_dynamic_prop(), 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 20208 of file dwarf2read.c.
References cu_offset::cu_off, dw2_setup(), get_die_type_at_offset(), dwarf2_per_cu_data::objfile, dwarf2_per_cu_data::offset, and sect_offset::sect_off.
Referenced by disassemble_dwarf_expression(), and dwarf_expr_get_base_type().
|
static |
Definition at line 2445 of file dwarf2read.c.
References _, build_id_to_debug_bfd(), build_id_verify(), do_cleanups(), dwz_file::dwz_bfd, error(), gdb_bfd_open(), gdb_bfd_record_inclusion(), gdb_bfd_unref(), gdb_realpath(), gnutarget, ldirname(), locate_dwz_sections(), make_cleanup(), objfile_name(), OBSTACK_ZALLOC, SLASH_STRING, and xfree().
Referenced by create_all_comp_units(), create_cus_from_index(), dwarf2_read_index(), dwarf_decode_macro_bytes(), get_abbrev_section_for_cu(), get_debug_line_section(), and read_attribute_value().
|
static |
Definition at line 12009 of file dwarf2read.c.
References attr_form_is_constant(), attr_value_as_address(), DW_UNSND, dwarf2_attr(), dwarf2_ranges_read(), dwarf2_cu::header, 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 19846 of file dwarf2read.c.
References _, attr_form_is_ref(), complaint(), DW_UNSND, dwarf_form_name(), attribute::form, sect_offset::sect_off, 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 2362 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 12087 of file dwarf2read.c.
References die_info::child, dwarf2_get_pc_bounds(), dwarf2_cu::language, language_ada, max, min, 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 2032 of file dwarf2read.c.
References dwarf2_per_objfile::abbrev, dwarf2_section_info::asection, dwarf2_locate_sections(), dwarf2_objfile_data_key, dwarf2_per_objfile::info, dwarf2_section_info::is_virtual, objfile::obfd, objfile::objfile_obstack, and dwarf2_section_info::s.
Referenced by coff_symfile_read(), elf_symfile_read(), macho_symfile_read(), read_psyms(), and xcoff_initial_scan().
Definition at line 4194 of file dwarf2read.c.
References create_all_comp_units(), create_all_type_units(), create_quick_file_names_table(), dw2_get_cutu(), dwarf2_read_index(), objfile::flags, OBJF_READNOW, objfile::objfile_obstack, OBSTACK_ZALLOC, dwarf2_per_cu_data::quick, and dwarf2_per_cu_data::v.
Referenced by elf_symfile_read().
Definition at line 1934 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 12754 of file dwarf2read.c.
References dwarf2_name(), len, die_info::parent, and die_info::tag.
Referenced by dwarf2_add_member_fn().
|
static |
Definition at line 10647 of file dwarf2read.c.
References dwarf2_section_info::asection, dwop_section_names::cu_index, dwp_sections::cu_index, dwop_section_names, dwp_file::elf_sections, gdb_assert, dwarf2_section_info::s, 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 10543 of file dwarf2read.c.
References dwo_sections::abbrev, dwop_section_names::abbrev_dwo, dwarf2_section_info::asection, 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, dwarf2_section_info::s, 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 2159 of file dwarf2read.c.
References dwarf2_per_objfile::abbrev, dwarf2_debug_sections::abbrev, dwarf2_per_objfile::addr, dwarf2_debug_sections::addr, dwarf2_section_info::asection, dwarf2_elf_names, dwarf2_per_objfile::eh_frame, dwarf2_debug_sections::eh_frame, dwarf2_per_objfile::frame, dwarf2_debug_sections::frame, dwarf2_per_objfile::gdb_index, dwarf2_debug_sections::gdb_index, dwarf2_per_objfile::info, dwarf2_debug_sections::info, dwarf2_per_objfile::line, dwarf2_debug_sections::line, dwarf2_per_objfile::loc, dwarf2_debug_sections::loc, dwarf2_per_objfile::macinfo, dwarf2_debug_sections::macinfo, dwarf2_per_objfile::macro, dwarf2_debug_sections::macro, dwarf2_per_objfile::ranges, dwarf2_debug_sections::ranges, dwarf2_section_info::s, section_is_p(), dwarf2_section_info::size, dwarf2_per_objfile::str, dwarf2_debug_sections::str, dwarf2_debug_sections::types, and VEC_safe_push.
Referenced by dwarf2_has_info().
|
static |
Definition at line 10683 of file dwarf2read.c.
References dwp_sections::abbrev, dwop_section_names::abbrev_dwo, dwarf2_section_info::asection, 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, 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 1925 of file dwarf2read.c.
References _, complaint(), and symfile_complaints.
Referenced by parse_macro_definition().
|
static |
Definition at line 22378 of file dwarf2read.c.
References dwarf2_cu::dependencies, and dwarf2_mark_helper().
Referenced by age_cached_comp_units().
|
static |
Definition at line 22352 of file dwarf2read.c.
References dwarf2_per_cu_data::cu, and dwarf2_cu::dependencies.
Referenced by dwarf2_mark().
Definition at line 19454 of file dwarf2read.c.
References CP_ANONYMOUS_NAMESPACE_STR, die_specification(), DW_STRING, DW_STRING_IS_CANONICAL, dwarf2_attr(), dwarf2_canonicalize_name(), gdb_demangle(), dwarf2_cu::language, language_java, dwarf2_cu::objfile, die_info::parent, 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_typedef(), 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 21893 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_needs_frame(), dwarf2_locexpr_baton_eval(), dwarf_expr_push_dwarf_reg_entry_value(), locexpr_describe_location(), locexpr_generate_c_location(), locexpr_tracepoint_var_ref(), loclist_describe_location(), loclist_generate_c_location(), and loclist_tracepoint_var_ref().
struct objfile* dwarf2_per_cu_objfile | ( | struct dwarf2_per_cu_data * | per_cu | ) |
Definition at line 21857 of file dwarf2read.c.
References 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_needs_frame(), dwarf2_locexpr_baton_eval(), dwarf_expr_push_dwarf_reg_entry_value(), dwarf_expr_tls_address(), locexpr_describe_location(), and loclist_describe_location().
int dwarf2_per_cu_offset_size | ( | struct dwarf2_per_cu_data * | per_cu | ) |
Definition at line 21906 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 21919 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_needs_frame(), and dwarf2_locexpr_baton_eval().
CORE_ADDR dwarf2_per_cu_text_offset | ( | struct dwarf2_per_cu_data * | per_cu | ) |
Definition at line 21938 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_needs_frame(), dwarf2_locexpr_baton_eval(), dwarf_expr_push_dwarf_reg_entry_value(), and loclist_describe_location().
|
static |
Definition at line 22439 of file dwarf2read.c.
References free_dwo_files(), gdb_bfd_unref(), VEC_free, and xfree().
Referenced by _initialize_dwarf2_read().
|
static |
Definition at line 8698 of file dwarf2read.c.
References _, check_physname, complaint(), die_needs_namespace(), do_cleanups(), DW_STRING, dwarf2_attr(), dwarf2_compute_name(), gdb_demangle(), dwarf2_cu::language, language_go, language_java, make_cleanup(), null_cleanup(), dwarf2_cu::objfile, objfile_name(), die_info::offset, objfile::per_bfd, sect_offset::sect_off, objfile_per_bfd_storage::storage_obstack, symfile_complaints, and xfree().
Referenced by compute_delayed_physnames(), dwarf2_add_field(), dwarf2_add_member_fn(), new_symbol_full(), and read_call_site_scope().
|
static |
Definition at line 11848 of file dwarf2read.c.
References _, comp_unit_head::addr_size, addrmap_set_empty(), ANOFFSET, dwarf2_cu::base_address, dwarf2_cu::base_known, dwarf2_section_info::buffer, complaint(), dummy, dwarf2_read_section(), gdbarch_adjust_dwarf2_addr(), get_objfile_arch(), dwarf2_cu::header, objfile::obfd, dwarf2_cu::objfile, objfile_name(), offset, objfile::psymtabs_addrmap, dwarf2_per_objfile::ranges, read_address(), SECT_OFF_TEXT, objfile::section_offsets, dwarf2_section_info::size, and symfile_complaints.
Referenced by dwarf2_get_pc_bounds().
|
static |
Definition at line 15420 of file dwarf2read.c.
References comp_unit_head::abbrev_offset, 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 16861 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, and read_addr_index_1().
Referenced by decode_debug_loc_dwo_addresses(), disassemble_dwarf_expression(), dwarf_expr_get_addr_index(), and locexpr_describe_location_piece().
|
static |
Definition at line 16841 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().
Definition at line 3158 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, objfile_name(), objfile::objfile_obstack, read_index_from_section(), mapped_index::symbol_table_slots, use_deprecated_index_sections, VEC_index, VEC_length, and warning().
Referenced by dwarf2_initialize_objfile().
|
static |
Definition at line 2267 of file dwarf2read.c.
References _, dwarf2_section_info::asection, 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, objfile::objfile_obstack, 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_debug_types_hash_table(), create_dwo_cu(), create_dwp_hash_table(), dwarf2_build_psymtabs_hard(), dwarf2_get_section_info(), dwarf2_ranges_read(), dwarf2_record_block_ranges(), 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_index_from_section(), read_indirect_string_at_offset(), read_indirect_string_from_dwz(), and read_str_index().
|
static |
Definition at line 7411 of file dwarf2read.c.
References _, dwarf2_objfile_data_key, gdb_flush(), gdb_stdout, info_verbose, printf_filtered(), process_cu_includes(), psymtab_to_symtab_1(), objfile::separate_debug_objfile_backlink, and warning().
Referenced by create_partial_symtab().
|
static |
Definition at line 12181 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, dwarf2_section_info::buffer, complaint(), DW_UNSND, dwarf2_attr(), dwarf2_read_section(), gdbarch_adjust_dwarf2_addr(), get_objfile_arch(), dwarf2_cu::header, objfile::obfd, dwarf2_cu::objfile, objfile_name(), offset, dwarf2_per_objfile::ranges, read_address(), record_block_range(), dwarf2_section_info::size, symfile_complaints, 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 7603 of file dwarf2read.c.
References dwarf2_per_cu_data::cu, dwarf2_queue, 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 1915 of file dwarf2read.c.
References _, complaint(), get_section_file_name(), get_section_name(), and symfile_complaints.
Referenced by dwarf_decode_macro_bytes(), read_partial_die(), skip_form_bytes(), and skip_one_die().
|
static |
Definition at line 2253 of file dwarf2read.c.
References dwarf2_section_info::asection, dwarf2_section_info::is_virtual, dwarf2_section_info::s, and dwarf2_section_info::size.
Referenced by create_dwo_unit_in_dwp_v1(), create_dwp_hash_table(), dwarf2_read_section(), and read_index_from_section().
|
static |
Definition at line 2350 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().
Definition at line 18136 of file dwarf2read.c.
References SLASH_STRING, start_subfile(), and xfree().
Referenced by dwarf_decode_lines(), dwarf_decode_lines_1(), and setup_type_unit_groups().
|
static |
Definition at line 18163 of file dwarf2read.c.
References 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 1878 of file dwarf2read.c.
References _, complaint(), and symfile_complaints.
Referenced by dwarf_decode_line_header().
|
static |
Definition at line 21790 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, objfile::objfile_obstack, dwarf2_locexpr_baton::per_cu, dwarf2_cu::per_cu, 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().
|
static |
Definition at line 20741 of file dwarf2read.c.
References dwarf2_cu::comp_unit_obstack.
Referenced by read_attribute_value().
Definition at line 20751 of file dwarf2read.c.
References dwarf2_cu::comp_unit_obstack, and size.
Referenced by read_full_die_1().
|
static |
Definition at line 19613 of file dwarf2read.c.
References name.
Referenced by dump_die_shallow(), and lookup_die_type().
|
static |
Definition at line 19647 of file dwarf2read.c.
Referenced by dump_die_shallow().
|
static |
Definition at line 17251 of file dwarf2read.c.
References _, add_file_name(), add_include_dir(), dwarf2_section_info::buffer, complaint(), line_header::default_is_stmt, discard_cleanups(), do_cleanups(), dwarf2_read_section(), dwarf2_statement_list_fits_in_line_number_section_complaint(), free_line_header(), get_debug_line_section(), get_section_bfd_owner(), dwarf2_cu::header, line_header::header_length, dwarf2_per_cu_data::is_debug_types, dwarf2_per_cu_data::is_dwz, line_header::line_base, line_header::line_range, make_cleanup(), line_header::maximum_ops_per_instruction, line_header::minimum_instruction_length, offset, line_header::offset, line_header::offset_in_dwz, line_header::opcode_base, dwarf2_cu::per_cu, read_1_byte(), read_1_signed_byte(), read_2_bytes(), read_checked_initial_length_and_offset(), read_direct_string(), read_offset_1(), read_unsigned_leb128(), sect_offset::sect_off, dwarf2_section_info::size, line_header::standard_opcode_lengths, line_header::statement_program_end, line_header::statement_program_start, symfile_complaints, line_header::total_length, line_header::version, and xmalloc().
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 18059 of file dwarf2read.c.
References allocate_symtab(), buildsym_compunit_symtab(), current_subfile, file_entry::dir_index, dwarf2_create_include_psymtab(), dwarf2_start_subfile(), dwarf_decode_lines_1(), line_header::file_names, line_header::include_dirs, file_entry::included_p, subfile::name, file_entry::name, line_header::num_file_names, 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 17748 of file dwarf2read.c.
References _, add_file_name(), lnp_state_machine::address, ANOFFSET, check_line_address(), complaint(), current_subfile, file_entry::dir_index, lnp_state_machine::discriminator, dwarf2_debug_line_missing_end_sequence_complaint(), dwarf2_debug_line_missing_file_complaint(), dwarf2_start_subfile(), dwarf_record_line(), lnp_state_machine::file, line_header::file_names, lnp_reader_state::gdbarch, gdbarch_adjust_dwarf2_line(), get_objfile_arch(), line_header::include_dirs, init_lnp_state_machine(), lnp_state_machine::is_stmt, lnp_state_machine::last_subfile, file_entry::length, lnp_state_machine::line, line_header::line_base, lnp_state_machine::line_has_non_zero_discriminator, lnp_reader_state::line_header, line_header::line_range, line_header::maximum_ops_per_instruction, line_header::minimum_instruction_length, file_entry::mod_time, file_entry::name, line_header::num_file_names, objfile::obfd, dwarf2_cu::objfile, lnp_state_machine::op_index, line_header::opcode_base, read_1_byte(), read_2_bytes(), read_address(), read_direct_string(), read_signed_leb128(), read_unsigned_leb128(), record_line, lnp_state_machine::record_line, lnp_reader_state::record_lines_p, 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 21213 of file dwarf2read.c.
References _, dwarf2_section_info::buffer, complaint(), 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, 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::size, skip_unknown_opcode(), and symfile_complaints.
Referenced by dwarf_decode_macros().
|
static |
Definition at line 21484 of file dwarf2read.c.
References _, dwarf2_section_info::buffer, complaint(), do_cleanups(), dwarf2_read_section(), dwarf_decode_macro_bytes(), dwarf_parse_macro_header(), get_section_bfd_owner(), dwarf2_cu::header, line, dwarf2_cu::line_header, dwarf2_per_objfile::macinfo, dwarf2_per_objfile::macro, macro_start_file(), make_cleanup_htab_delete(), offset, comp_unit_head::offset_size, read_1_byte(), read_direct_string(), read_unsigned_leb128(), dwarf2_section_info::size, skip_unknown_opcode(), symfile_complaints, xcalloc(), and xfree().
Referenced by read_file_scope().
|
static |
Definition at line 17606 of file dwarf2read.c.
References dwarf_line_debug, dwarf_record_line_1(), fprintf_unfiltered(), gdb_stdlog, subfile::name, and paddress().
Referenced by dwarf_record_line().
|
static |
Definition at line 19636 of file dwarf2read.c.
References 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(), read_attribute_value(), and skip_one_die().
|
static |
Definition at line 21154 of file dwarf2read.c.
References _, complaint(), flags, 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 17627 of file dwarf2read.c.
References lnp_state_machine::address, current_subfile, lnp_state_machine::discriminator, dwarf2_debug_line_missing_file_complaint(), dwarf_finish_line(), dwarf_line_debug, dwarf_record_line_1(), dwarf_record_line_p(), lnp_state_machine::file, line_header::file_names, fprintf_unfiltered(), gdb_stdlog, lnp_reader_state::gdbarch, file_entry::included_p, lnp_state_machine::is_stmt, lnp_state_machine::last_line, lnp_state_machine::last_subfile, line, lnp_state_machine::line, lnp_state_machine::line_has_non_zero_discriminator, lnp_reader_state::line_header, line_header::num_file_names, lnp_state_machine::op_index, paddress(), lnp_state_machine::record_line, and lnp_reader_state::record_lines_p.
Referenced by dwarf_decode_lines_1().
|
static |
Definition at line 17583 of file dwarf2read.c.
References dwarf_line_debug, fprintf_unfiltered(), gdb_stdlog, gdbarch_addr_bits_remove(), line, subfile::name, and paddress().
Referenced by dwarf_finish_line(), and dwarf_record_line().
|
static |
Definition at line 17563 of file dwarf2read.c.
References current_subfile.
Referenced by dwarf_record_line().
|
static |
Definition at line 19600 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 |
Definition at line 9416 of file dwarf2read.c.
References dwo_file::comp_dir, and dwo_file::dwo_name.
Referenced by allocate_dwo_file_hash_table().
Definition at line 9473 of file dwarf2read.c.
References dwo_unit::signature.
Referenced by allocate_dwo_unit_table().
Definition at line 10751 of file dwarf2read.c.
References dwo_unit::signature.
Referenced by allocate_dwp_loaded_cutus_table().
Definition at line 2609 of file dwarf2read.c.
References eq_stmt_list_entry(), and quick_file_names::hash.
Referenced by create_quick_file_names_table().
Definition at line 22868 of file dwarf2read.c.
References psymtab_cu_index_map::psymtab.
Referenced by write_psymtabs_to_index().
Definition at line 4549 of file dwarf2read.c.
References signatured_type::signature.
Referenced by allocate_signatured_type_table().
|
static |
Definition at line 2584 of file dwarf2read.c.
References dwo_unit::dwo_file, stmt_list_hash::dwo_unit, stmt_list_hash::line_offset, and sect_offset::sect_off.
Referenced by eq_file_name_entry(), and eq_type_unit_group().
Definition at line 22493 of file dwarf2read.c.
References strtab_entry::str.
Referenced by create_strtab().
Definition at line 22569 of file dwarf2read.c.
References len, VEC_address, and VEC_length.
Referenced by create_symbol_hash_table().
Definition at line 5746 of file dwarf2read.c.
References eq_stmt_list_entry().
Referenced by allocate_type_unit_groups_table().
|
static |
Definition at line 4363 of file dwarf2read.c.
References _, comp_unit_head::abbrev_offset, dwarf2_section_size(), error(), get_cu_length(), get_section_bfd_owner(), get_section_file_name(), comp_unit_head::length, comp_unit_head::offset, sect_offset::sect_off, dwarf2_section_info::size, and comp_unit_head::version.
Referenced by read_and_check_comp_unit_head(), and read_and_check_type_unit_head().
|
static |
Definition at line 20772 of file dwarf2read.c.
References _, complaint(), file_entry::dir_index, line_header::file_names, line_header::include_dirs, file_entry::name, SLASH_STRING, symfile_complaints, and xsnprintf().
Referenced by file_full_name(), and macro_start_file().
|
static |
Definition at line 20809 of file dwarf2read.c.
References file_file_name(), and SLASH_STRING.
Referenced by dw2_get_file_names_reader().
|
static |
Definition at line 21771 of file dwarf2read.c.
References dwarf2_loclist_baton::base_address, dwarf2_cu::base_address, dwarf2_section_info::buffer, 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::size, 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 4833 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, dwarf2_per_cu_data::offset, dwo_unit::offset, 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, sect_offset::sect_off, dwarf2_per_cu_data::section, dwo_unit::section, signatured_type::signature, dwo_unit::signature, signatured_type::type_offset_in_section, signatured_type::type_offset_in_tu, dwo_unit::type_offset_in_tu, signatured_type::type_unit_group, 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 9031 of file dwarf2read.c.
References DW_STRING, dwarf2_attr(), ldirname(), make_cleanup(), producer_is_gcc_lt_4_3(), and xfree().
Referenced by dw2_get_file_names_reader(), and read_file_scope().
|
static |
Definition at line 15988 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, comp_unit_head::offset, offset_in_cu_p(), dwarf2_cu::partial_dies, dwarf2_cu::per_cu, and sect_offset::sect_off.
Referenced by fixup_partial_die(), guess_partial_die_structure_name(), and partial_die_parent_scope().
|
static |
Definition at line 15970 of file dwarf2read.c.
References offset, partial_die_info::offset, dwarf2_cu::partial_dies, and sect_offset::sect_off.
Referenced by find_partial_die().
|
static |
Definition at line 22631 of file dwarf2read.c.
References mapped_symtab::data, hash(), INT_MAX, mapped_index_string_hash(), symtab_index_entry::name, and mapped_symtab::size.
Referenced by add_index_entry(), and hash_expand().
|
static |
Definition at line 2967 of file dwarf2read.c.
References case_sensitive_off, case_sensitive_on, mapped_index::constant_pool, cp_remove_params(), current_language, do_cleanups(), hash(), int, language_defn::la_language, language_cplus, language_fortran, language_java, make_cleanup(), mapped_index_string_hash(), MAYBE_SWAP, null_cleanup(), mapped_index::symbol_table, mapped_index::symbol_table_slots, mapped_index::version, and xfree().
Referenced by dw2_symtab_iter_init().
|
static |
Definition at line 7807 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::objfile_obstack, 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 16106 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 19913 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, die_info::offset, offset_in_cu_p(), dwarf2_cu::per_cu, and sect_offset::sect_off.
Referenced by dwarf2_fetch_constant_bytes(), dwarf2_fetch_die_loc_sect_off(), and follow_die_ref().
|
static |
Definition at line 19962 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(), offset, die_info::offset, dwarf2_cu::per_cu, and sect_offset::sect_off.
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(), and read_subroutine_type().
|
static |
Definition at line 19888 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 20274 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::offset, and sect_offset::sect_off.
Referenced by follow_die_ref_or_sig().
|
static |
Definition at line 20225 of file dwarf2read.c.
References dwarf2_per_cu_data::cu, dwarf2_cu::die_hash, gdb_assert, language_minimal, maybe_queue_comp_unit(), die_info::offset, dwarf2_cu::per_cu, signatured_type::per_cu, read_signatured_type(), sect_offset::sect_off, signatured_type::type_offset_in_section, and VEC_safe_push.
Referenced by follow_die_sig(), and get_signatured_type().
|
static |
Definition at line 22073 of file dwarf2read.c.
References dwarf2_per_cu_data::cu, free_heap_comp_unit(), and dwarf2_cu::read_in_chain.
Referenced by dw2_instantiate_symtab(), dwarf2_build_psymtabs_hard(), and dwarf2_free_objfile().
|
static |
Definition at line 9009 of file dwarf2read.c.
References free_line_header(), and dwarf2_cu::line_header.
Referenced by handle_DW_AT_stmt_list(), and setup_type_unit_groups().
|
static |
Definition at line 7763 of file dwarf2read.c.
References VEC_free.
Referenced by process_full_comp_unit(), and process_full_type_unit().
Definition at line 11114 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 11128 of file dwarf2read.c.
References free_dwo_file().
Referenced by open_and_init_dwo_file().
|
static |
Definition at line 11139 of file dwarf2read.c.
References free_dwo_file().
Referenced by free_dwo_files().
|
static |
Definition at line 11152 of file dwarf2read.c.
References free_dwo_file_from_slot().
Referenced by dwarf2_per_objfile_free().
|
static |
Definition at line 22040 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(), 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 17124 of file dwarf2read.c.
References line_header::file_names, line_header::include_dirs, line_header::standard_opcode_lengths, and xfree().
Referenced by dw2_get_file_names_reader(), dwarf2_build_include_psymtabs(), dwarf_decode_line_header(), free_cu_line_header(), and free_line_header_voidp().
|
static |
Definition at line 17144 of file dwarf2read.c.
References free_line_header().
Referenced by handle_DW_AT_stmt_list().
|
static |
Definition at line 22133 of file dwarf2read.c.
References dwarf2_per_cu_data::cu, free_heap_comp_unit(), and dwarf2_cu::read_in_chain.
Referenced by dwarf2_release_queue(), and process_psymtab_comp_unit().
|
static |
Definition at line 22058 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 4346 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 7877 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, and dwarf2_per_cu_data::v.
Referenced by compute_compunit_symtab_includes(), and recursively_compute_inclusions().
|
static |
Definition at line 2059 of file dwarf2read.c.
References dwarf2_section_info::containing_section, gdb_assert, dwarf2_section_info::is_virtual, and dwarf2_section_info::s.
Referenced by dwarf2_read_section(), get_section_bfd_owner(), and get_section_bfd_section().
|
static |
Definition at line 4264 of file dwarf2read.c.
References comp_unit_head::initial_length_size, and comp_unit_head::length.
Referenced by create_debug_types_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 17220 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, and dwarf2_cu::per_cu.
Referenced by check_line_address(), and dwarf_decode_line_header().
Definition at line 22322 of file dwarf2read.c.
References get_die_type_at_offset(), die_info::offset, and dwarf2_cu::per_cu.
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 22301 of file dwarf2read.c.
References offset, dwarf2_per_cu_offset_and_type::offset, dwarf2_per_cu_offset_and_type::per_cu, 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 20372 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(), die_info::offset, read_type_die(), sect_offset::sect_off, and symfile_complaints.
Referenced by read_enumeration_type(), and read_structure_type().
|
static |
Definition at line 10894 of file dwarf2read.c.
References 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 12123 of file dwarf2read.c.
References die_info::child, dwarf2_get_pc_bounds(), dwarf2_get_subprogram_pc_bounds(), max, min, sibling_die(), and die_info::tag.
Referenced by process_full_comp_unit(), and read_file_scope().
|
static |
Definition at line 2068 of file dwarf2read.c.
References dwarf2_section_info::asection, gdb_assert, get_containing_section(), dwarf2_section_info::is_virtual, and dwarf2_section_info::s.
Referenced by abbrev_table_read_table(), create_debug_types_hash_table(), create_dwo_cu(), dwarf2_read_section(), dwarf_decode_line_header(), dwarf_decode_macro_bytes(), dwarf_decode_macros(), error_check_comp_unit_head(), 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_and_check_comp_unit_head(), read_and_check_type_unit_head(), read_comp_units_from_section(), and read_cutu_die_from_dwo().
|
static |
Definition at line 2082 of file dwarf2read.c.
References dwarf2_section_info::asection, gdb_assert, get_containing_section(), dwarf2_section_info::is_virtual, and dwarf2_section_info::s.
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 2106 of file dwarf2read.c.
References get_section_bfd_owner().
Referenced by create_debug_types_hash_table(), create_dwo_cu(), dwarf2_read_section(), dwarf2_section_buffer_overflow_complaint(), error_check_comp_unit_head(), and read_comp_units_from_section().
|
static |
Definition at line 2130 of file dwarf2read.c.
References gdb_assert, and get_section_bfd_section().
Referenced by read_index_from_section().
|
static |
Definition at line 2117 of file dwarf2read.c.
References get_section_bfd_section().
Referenced by create_dwo_unit_in_dwp_v1().
|
static |
Definition at line 2095 of file dwarf2read.c.
References gdb_assert, get_section_bfd_owner(), and get_section_bfd_section().
Referenced by create_dwo_cu(), 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 20311 of file dwarf2read.c.
References _, build_error_marker_type(), complaint(), follow_die_sig_1(), hex_string(), lookup_signatured_type(), objfile_name(), die_info::offset, read_type_die(), sect_offset::sect_off, symfile_complaints, type, and signatured_type::type.
Referenced by get_DW_AT_signature_type(), and lookup_die_type().
|
static |
Definition at line 5823 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, tu_stats::nr_symtabs, and sect_offset::sect_off.
Referenced by build_type_psymtabs_reader(), and setup_type_unit_groups().
Definition at line 19108 of file dwarf2read.c.
References die_info::child, die_specification(), DW_STRING, dwarf2_attr(), 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 16055 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 12399 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(), and dwarf2_get_attr_constant_value().
Referenced by attr_to_dynamic_prop(), and dwarf2_add_field().
|
static |
Definition at line 9079 of file dwarf2read.c.
References dummy_obstack_deallocate(), DW_UNSND, dwarf2_attr(), dwarf_decode_line_header(), dwarf_decode_lines(), free_cu_line_header(), 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, line_header_eq_voidp(), line_header_hash(), line_header_hash_voidp(), make_cleanup(), objfile::objfile_obstack, line_header::offset, line_header::offset_in_dwz, dwarf2_cu::per_cu, sect_offset::sect_off, and die_info::tag.
Referenced by read_file_scope().
|
static |
Definition at line 9404 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 9464 of file dwarf2read.c.
References dwo_unit::signature.
Referenced by allocate_dwo_unit_table().
|
static |
Definition at line 10740 of file dwarf2read.c.
References dwo_unit::signature.
Referenced by allocate_dwp_loaded_cutus_table().
|
static |
Definition at line 22649 of file dwarf2read.c.
References mapped_symtab::data, find_slot(), mapped_symtab::size, and xfree().
Referenced by add_index_entry().
|
static |
Definition at line 2599 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 22860 of file dwarf2read.c.
References psymtab_cu_index_map::psymtab.
Referenced by write_psymtabs_to_index().
|
static |
Definition at line 4540 of file dwarf2read.c.
References signatured_type::signature.
Referenced by allocate_signatured_type_table().
|
static |
Definition at line 2571 of file dwarf2read.c.
References dwo_unit::dwo_file, stmt_list_hash::dwo_unit, stmt_list_hash::line_offset, and sect_offset::sect_off.
Referenced by hash_file_name_entry(), and hash_type_unit_group().
|
static |
Definition at line 22484 of file dwarf2read.c.
References INT_MAX, mapped_index_string_hash(), and strtab_entry::str.
Referenced by create_strtab().
|
static |
Definition at line 22557 of file dwarf2read.c.
References VEC_address, and VEC_length.
Referenced by create_symbol_hash_table().
|
static |
Definition at line 5738 of file dwarf2read.c.
References hash_stmt_list_entry().
Referenced by allocate_type_unit_groups_table().
Definition at line 11176 of file dwarf2read.c.
References _, die_info::child, complaint(), do_cleanups(), dwarf2_attr(), follow_die_ref(), die_info::in_process, dwarf2_cu::list_in_scope, make_cleanup(), die_info::offset, die_info::parent, process_die(), qsort, sect_offset::sect_off, sibling_die(), symfile_complaints, die_info::tag, unsigned_int_compar(), xfree(), and xmalloc().
Referenced by read_func_scope(), and read_lexical_block_scope().
|
static |
Definition at line 5019 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 5412 of file dwarf2read.c.
References _, comp_unit_head::abbrev_offset, dwarf2_cu::abbrev_table, dwarf2_section_info::buffer, complaint(), dwarf2_per_cu_data::cu, cu_offset::cu_off, discard_cleanups(), do_cleanups(), dwarf2_attr(), dwarf2_free_abbrev_table(), dwarf2_read_abbrevs(), dwarf2_read_section(), dwarf_die_debug, comp_unit_head::first_die_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(), comp_unit_head::offset, dwarf2_per_cu_data::offset, abbrev_table::offset, peek_abbrev_code(), read_and_check_comp_unit_head(), read_and_check_type_unit_head(), read_cutu_die_from_dwo(), read_full_die(), dwarf2_cu::read_in_chain, dwarf2_per_cu_data::reading_dwo_directly, sect_offset::sect_off, dwarf2_per_cu_data::section, signatured_type::signature, symfile_complaints, signatured_type::type_offset_in_section, signatured_type::type_offset_in_tu, and xmalloc().
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 5652 of file dwarf2read.c.
References dwo_sections::abbrev, dwarf2_section_info::buffer, 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(), dwarf2_per_cu_data::offset, peek_abbrev_code(), read_and_check_comp_unit_head(), read_full_die(), sect_offset::sect_off, dwarf2_per_cu_data::section, and dwo_file::sections.
Referenced by create_dwo_cu(), and init_cutu_and_read_dies_simple().
|
static |
Definition at line 5722 of file dwarf2read.c.
References init_cutu_and_read_dies_no_follow().
Referenced by dw2_get_file_names().
|
static |
Definition at line 17685 of file dwarf2read.c.
References lnp_state_machine::address, line_header::default_is_stmt, lnp_state_machine::discriminator, lnp_state_machine::file, lnp_reader_state::gdbarch, gdbarch_adjust_dwarf2_line(), lnp_state_machine::is_stmt, lnp_state_machine::last_file, lnp_state_machine::last_line, lnp_state_machine::last_subfile, lnp_state_machine::line, lnp_state_machine::line_has_non_zero_discriminator, lnp_reader_state::line_header, lnp_state_machine::op_index, record_line, and lnp_state_machine::record_line.
Referenced by dwarf_decode_lines_1().
|
static |
Definition at line 22001 of file dwarf2read.c.
References dwarf2_cu::comp_unit_obstack, dwarf2_per_cu_data::cu, 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 5311 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_cu::read_in_chain, dwarf2_per_cu_data::reading_dwo_directly, and xmalloc().
Referenced by init_cutu_and_read_dies().
Definition at line 15445 of file dwarf2read.c.
Referenced by load_partial_dies().
Definition at line 13031 of file dwarf2read.c.
References is_cplus_marker(), dwarf2_cu::language, language_java, and startswith().
Referenced by process_structure_scope().
Definition at line 16955 of file dwarf2read.c.
Referenced by locexpr_describe_location_piece(), and var_decode_location().
Definition at line 1962 of file dwarf2read.c.
References line_header::offset, line_header::offset_in_dwz, and sect_offset::sect_off.
Referenced by handle_DW_AT_stmt_list().
|
static |
Definition at line 1944 of file dwarf2read.c.
References line_header::offset, line_header::offset_in_dwz, and sect_offset::sect_off.
Referenced by handle_DW_AT_stmt_list(), and line_header_hash_voidp().
|
static |
Definition at line 1952 of file dwarf2read.c.
References line_header_hash().
Referenced by handle_DW_AT_stmt_list().
|
static |
Definition at line 2651 of file dwarf2read.c.
References dwarf2_per_cu_data::cu, dwarf2_cu::dies, dwarf2_find_base_address(), gdb_assert, 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(), and dwarf2_fetch_die_loc_sect_off().
|
static |
Definition at line 7735 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 7698 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 20401 of file dwarf2read.c.
References dwarf2_per_cu_data::cu, gdb_assert, dwarf2_per_cu_data::is_debug_types, IS_TYPE_UNIT_GROUP, and read_signatured_type().
Referenced by load_cu(), and queue_and_load_dwo_tu().
|
static |
Definition at line 6533 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 6512 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 15476 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, language_java, 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_info::offset, partial_die_eq(), partial_die_hash(), dwarf2_cu::partial_dies, peek_die_abbrev(), dwarf2_cu::per_cu, read_partial_die(), sect_offset::sect_off, skip_one_die(), objfile::static_psymbols, symfile_complaints, partial_die_info::tag, abbrev_info::tag, and VAR_DOMAIN.
Referenced by build_type_psymtabs_reader(), load_partial_comp_unit_reader(), and process_psymtab_comp_unit_reader().
|
static |
Definition at line 2402 of file dwarf2read.c.
References dwarf2_debug_sections::abbrev, dwz_file::abbrev, dwarf2_section_info::asection, 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, 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 7388 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 9921 of file dwarf2read.c.
References virtual_v1_dwo_sections::abbrev, dwop_section_names::abbrev_dwo, dwarf2_section_info::asection, 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, 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 18930 of file dwarf2read.c.
References _, attr_form_is_ref(), build_error_marker_type(), complaint(), 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(), offset, die_info::offset, dwarf2_cu::per_cu, read_type_die(), sect_offset::sect_off, and symfile_complaints.
Referenced by die_containing_type(), die_descriptive_type(), and die_type().
|
static |
Definition at line 11043 of file dwarf2read.c.
References lookup_dwo_cutu().
Referenced by lookup_dwo_unit().
|
static |
Definition at line 10921 of file dwarf2read.c.
References _, dwo_file::cu, dwp_file::cus, do_cleanups(), 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(), make_cleanup(), dwp_file::name, objfile_name(), dwarf2_per_cu_data::offset, open_and_init_dwo_file(), sect_offset::sect_off, dwo_unit::signature, dwo_file::tus, dwp_file::tus, warning(), xfree(), and xstrprintf().
Referenced by lookup_dwo_comp_unit(), and lookup_dwo_type_unit().
Definition at line 9447 of file dwarf2read.c.
References allocate_dwo_file_hash_table(), dwo_file::comp_dir, and dwo_file::dwo_name.
Referenced by create_dwo_unit_in_dwp_v1(), create_dwo_unit_in_dwp_v2(), and lookup_dwo_cutu().
|
static |
Definition at line 4874 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_cu_data::tu_read, and dwo_file::tus.
Referenced by lookup_signatured_type(), and queue_and_load_dwo_tu().
|
static |
Definition at line 11054 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 5254 of file dwarf2read.c.
References _, dwarf2_per_cu_data::cu, DW_STRING, DW_UNSND, dwarf2_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 10376 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, 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 4942 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, and dwp_file::tus.
Referenced by lookup_signatured_type().
|
static |
Definition at line 4990 of file dwarf2read.c.
References get_dwp_file(), lookup_dwo_signatured_type(), lookup_dwp_signatured_type(), and signatured_type::signature.
Referenced by follow_die_sig(), and get_signatured_type().
|
static |
Definition at line 20827 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().
Definition at line 2946 of file dwarf2read.c.
Referenced by find_slot(), find_slot_in_mapped_hash(), and hash_strtab_entry().
|
static |
Definition at line 13865 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, objfile::objfile_obstack, offset, dwarf2_per_cu_data::offset, die_info::offset, dwarf2_locexpr_baton::per_cu, dwarf2_cu::per_cu, sect_offset::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 7491 of file dwarf2read.c.
References dwarf2_per_cu_data::cu, dwarf2_cu::dies, dwarf2_add_dependence(), dwarf2_cu::last_used, queue_comp_unit(), and dwarf2_per_cu_data::queued.
Referenced by follow_die_offset(), follow_die_sig_1(), process_imported_unit_die(), and queue_and_load_dwo_tu().
|
static |
Definition at line 14156 of file dwarf2read.c.
References CP_ANONYMOUS_NAMESPACE_STR, DW_STRING, dwarf2_attr(), dwarf2_extension(), and name.
Referenced by gen_maybe_namespace_elt(), read_namespace(), read_namespace_type(), and value_maybe_namespace_elt().
Definition at line 18844 of file dwarf2read.c.
Referenced by set_die_type().
|
static |
Definition at line 18642 of file dwarf2read.c.
References new_symbol_full().
Referenced by dwarf2_add_field(), process_die(), process_enumeration_scope(), process_structure_scope(), read_common_block(), read_func_scope(), read_module(), read_namespace(), and read_namespace_alias().
|
static |
Definition at line 18254 of file dwarf2read.c.
References _, add_symbol_to_list(), allocate_symbol(), ANOFFSET, attr_value_as_address(), objfile_type::builtin_core_addr, 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_names, file_symbols, gdb_assert, gdbarch_adjust_dwarf2_addr(), get_objfile_arch(), symbol::ginfo, global_symbols, symbol::hash_next, LABEL_DOMAIN, dwarf2_cu::language, language_ada, language_cplus, language_fortran, language_java, 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, objfile_type::nodebug_data_symbol, line_header::num_file_names, dwarf2_cu::objfile, objfile::objfile_obstack, 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(), and read_func_scope().
Definition at line 17527 of file dwarf2read.c.
Referenced by check_line_address().
|
inlinestatic |
Definition at line 4272 of file dwarf2read.c.
References get_cu_length(), comp_unit_head::offset, and sect_offset::sect_off.
Referenced by find_partial_die(), follow_die_offset(), and read_call_site_scope().
Definition at line 22714 of file dwarf2read.c.
Referenced by uniquify_cu_indices().
|
static |
Definition at line 10605 of file dwarf2read.c.
References dwo_file::comp_dir, create_debug_types_hash_table(), create_dwo_cu(), dwo_file::cu, dwo_file::dbfd, discard_cleanups(), dwarf2_locate_dwo_sections(), dwarf_read_debug, dwo_file::dwo_name, fprintf_unfiltered(), free_dwo_file_cleanup(), gdb_stdlog, make_cleanup(), objfile::objfile_obstack, OBSTACK_ZALLOC, open_dwo_file(), dwo_file::sections, and dwo_file::tus.
Referenced by lookup_dwo_cutu().
|
static |
Definition at line 10813 of file dwarf2read.c.
References _, allocate_dwp_loaded_cutus_table(), create_dwp_hash_table(), dwp_file::cus, dwp_file::dbfd, do_cleanups(), dwarf2_locate_common_dwp_sections(), dwarf2_locate_v2_dwp_sections(), dwarf_read_debug, dwp_file::elf_sections, error(), fprintf_unfiltered(), gdb_stdlog, dwp_file::loaded_cus, dwp_file::loaded_tus, make_cleanup(), dwp_file::name, dwp_hash_table::nr_units, dwp_file::num_sections, objfile_name(), objfile::objfile_obstack, OBSTACK_CALLOC, OBSTACK_ZALLOC, open_dwp_file(), objfile::original_name, pulongest(), dwp_file::tus, dwp_hash_table::version, dwp_file::version, xfree(), and xstrprintf().
Referenced by get_dwp_file().
Definition at line 10509 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 10780 of file dwarf2read.c.
References debug_file_directory, and try_open_dwop_file().
Referenced by open_and_init_dwp_file().
|
static |
Definition at line 20886 of file dwarf2read.c.
References consume_improper_spaces(), copy_string(), dwarf2_macro_malformed_definition_complaint(), macro_define_function(), macro_define_object(), xfree(), xmalloc(), and xrealloc().
Referenced by dwarf_decode_macro_bytes().
Definition at line 22412 of file dwarf2read.c.
References partial_die_info::offset, and sect_offset::sect_off.
Referenced by load_partial_dies().
|
static |
Definition at line 6836 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_info::offset, partial_die_parent_scope(), sect_offset::sect_off, typename_concat(), attribute::u, and attribute::unsnd.
Referenced by add_partial_symbol().
|
static |
Definition at line 22401 of file dwarf2read.c.
References partial_die_info::offset, and sect_offset::sect_off.
Referenced by load_partial_dies().
|
static |
Definition at line 6761 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::offset, partial_die_info::scope, partial_die_info::scope_set, sect_offset::sect_off, partial_die_info::spec_is_dwz, partial_die_info::spec_offset, symfile_complaints, partial_die_info::tag, and typename_concat().
Referenced by partial_die_full_name().
Definition at line 7193 of file dwarf2read.c.
References read_unsigned_leb128().
Referenced by create_debug_types_hash_table(), init_cutu_and_read_dies(), init_cutu_and_read_dies_no_follow(), and read_cutu_die_from_dwo().
|
static |
Definition at line 7206 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, comp_unit_head::offset, dwarf2_cu::per_cu, read_unsigned_leb128(), and sect_offset::sect_off.
Referenced by load_partial_dies(), and skip_children().
|
static |
Definition at line 21874 of file dwarf2read.c.
References dwarf2_section_info::buffer, dwarf2_per_cu_data::cu, dwarf2_cu::header, objfile::obfd, dwarf2_per_cu_data::objfile, dwarf2_per_cu_data::offset, read_comp_unit_head(), sect_offset::sect_off, and dwarf2_per_cu_data::section.
Referenced by dwarf2_per_cu_addr_size(), dwarf2_per_cu_offset_size(), and dwarf2_per_cu_ref_addr_size().
Definition at line 22215 of file dwarf2read.c.
References dwarf2_per_cu_offset_and_type::offset, dwarf2_per_cu_offset_and_type::per_cu, and sect_offset::sect_off.
Referenced by set_die_type().
|
static |
Definition at line 22205 of file dwarf2read.c.
References dwarf2_per_cu_offset_and_type::offset, dwarf2_per_cu_offset_and_type::per_cu, and sect_offset::sect_off.
Referenced by set_die_type().
|
static |
Definition at line 22013 of file dwarf2read.c.
References DW_STRING, DW_UNSND, dwarf2_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 6270 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 7998 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 8246 of file dwarf2read.c.
References _, die_info::child, complaint(), do_cleanups(), dwarf_tag_name(), gdb_assert, die_info::in_process, dwarf2_cu::language, language_fortran, make_cleanup(), 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(), reset_die_in_process(), 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 6376 of file dwarf2read.c.
References process_skeletonless_type_unit(), and dwo_file::tus.
Referenced by process_skeletonless_type_units().
Definition at line 13586 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(), die_info::offset, dwarf2_cu::per_cu, process_die(), read_enumeration_type(), sect_offset::sect_off, SET_FIELD_ENUMVAL, sibling_die(), SYMBOL_LINKAGE_NAME, SYMBOL_VALUE, die_info::tag, TYPE_ALLOC, TYPE_FIELDS, TYPE_NFIELDS, signatured_type::type_offset_in_section, xfree(), and xrealloc().
Referenced by process_die().
|
static |
Definition at line 8019 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, dwarf2_cu::list_in_scope, compunit_symtab::locations_valid, make_cleanup(), dwarf2_per_cu_data::objfile, process_die(), dwarf2_cu::producer, producer_is_gcc_ge_4(), dwarf2_per_cu_data::psymtab, dwarf2_per_cu_data::quick, partial_symtab::readin, really_free_pendings(), SECT_OFF_TEXT, objfile::section_offsets, dwarf2_per_cu_data::v, and VEC_safe_push.
Referenced by process_queue().
|
static |
Definition at line 8125 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, process_die(), dwarf2_per_cu_data::psymtab, dwarf2_per_cu_data::quick, partial_symtab::readin, really_free_pendings(), SECT_OFF_TEXT, signatured_type::type_unit_group, and dwarf2_per_cu_data::v.
Referenced by process_queue().
Definition at line 8200 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(), offset, dwarf2_cu::per_cu, and VEC_safe_push.
Referenced by process_die().
|
static |
Definition at line 6064 of file dwarf2read.c.
References age_cached_comp_units(), dwarf2_per_cu_data::cu, free_one_cached_comp_unit(), gdb_assert, 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 5924 of file dwarf2read.c.
References addrmap_set_empty(), ANOFFSET, create_partial_symtab(), die_reader_specs::cu, partial_symtab::dependencies, partial_symtab::dirname, DW_STRING, dwarf2_attr(), dwarf2_build_include_psymtabs(), dwarf2_find_base_address(), dwarf2_get_pc_bounds(), dwarf_read_debug, file_symbols, partial_symtab::filename, fprintf_unfiltered(), gdb_assert, gdb_stdlog, gdbarch_adjust_dwarf2_addr(), get_objfile_arch(), objfile::global_psymbols, partial_symtab::globals_offset, partial_die_info::highpc, dwarf2_per_cu_data::is_debug_types, len, psymbol_allocation_list::list, dwarf2_cu::list_in_scope, load_partial_dies(), partial_die_info::lowpc, partial_symtab::n_global_syms, partial_symtab::n_static_syms, psymbol_allocation_list::next, partial_symtab::number_of_dependencies, dwarf2_cu::objfile, objfile::objfile_obstack, dwarf2_per_cu_data::offset, paddress(), 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(), sect_offset::sect_off, SECT_OFF_TEXT, objfile::section_offsets, sort_pst_symbols(), objfile::static_psymbols, partial_symtab::statics_offset, die_info::tag, partial_symtab::texthigh, partial_symtab::textlow, 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 7531 of file dwarf2read.c.
References dwarf2_per_cu_quick_data::compunit_symtab, dwarf_read_debug, fprintf_unfiltered(), gdb_stdlog, hex_string(), dwarf2_per_cu_data::is_debug_types, dwarf2_queue_item::next, objfile_name(), dwarf2_per_cu_data::offset, 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, sect_offset::sect_off, signatured_type::signature, dwarf2_per_cu_data::v, and xfree().
Referenced by dw2_do_instantiate_symtab().
|
static |
Definition at line 6338 of file dwarf2read.c.
References add_type_unit(), allocate_signatured_type_table(), build_type_psymtabs_reader(), fill_in_sig_entry_from_dwo_entry(), init_cutu_and_read_dies(), signatured_type::per_cu, signatured_type::signature, and dwo_unit::signature.
Referenced by process_dwo_file_for_skeletonless_type_units().
|
static |
Definition at line 6394 of file dwarf2read.c.
References get_dwp_file(), and process_dwo_file_for_skeletonless_type_units().
Referenced by dwarf2_build_psymtabs_hard().
Definition at line 13225 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_typedef(), dwarf2_attach_fields_to_type(), dwarf2_attach_fn_fields_to_type(), dwarf2_attr(), typedef_field_list::field, get_die_type(), HAVE_CPLUS_STRUCT, is_vtable_name(), dwarf2_cu::language, language_java, make_cleanup(), new_symbol(), typedef_field_list::next, field_info::nfields, field_info::nfnfields, null_cleanup(), dwarf2_cu::objfile, objfile::objfile_obstack, process_die(), dwarf2_cu::producer, quirk_gcc_member_function_pointer(), read_structure_type(), set_type_vptr_basetype(), set_type_vptr_fieldno(), sibling_die(), startswith(), symfile_complaints, die_info::tag, type, TYPE_ALLOC, TYPE_CPLUS_REALLY_JAVA, TYPE_FIELD_NAME, TYPE_N_BASECLASSES, TYPE_N_TEMPLATE_ARGUMENTS, 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, field_info::typedef_field_list_count, VEC, VEC_address, VEC_empty, VEC_free, VEC_length, and VEC_safe_push.
Referenced by process_die().
Definition at line 9022 of file dwarf2read.c.
References check_producer().
Referenced by find_file_and_directory().
Definition at line 12356 of file dwarf2read.c.
References check_producer().
Referenced by dwarf2_default_access_attribute().
Definition at line 13095 of file dwarf2read.c.
References check_producer().
Referenced by read_structure_type().
Definition at line 14470 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 17400 of file dwarf2read.c.
References file_entry::dir_index, partial_symtab::dirname, line_header::file_names, partial_symtab::filename, line_header::include_dirs, make_cleanup(), file_entry::name, SLASH_STRING, and xfree().
Referenced by dwarf_decode_lines().
|
static |
Definition at line 7630 of file dwarf2read.c.
References partial_symtab::dependencies, dw2_do_instantiate_symtab(), partial_symtab::filename, fputs_filtered(), gdb_flush(), gdb_stdout, 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 6409 of file dwarf2read.c.
References objfile::psymtabs_addrmap.
Referenced by dwarf2_build_psymtabs_hard().
|
static |
Definition at line 11092 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 11063 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, dwo_unit::signature, and VEC_safe_push.
Referenced by queue_and_load_all_dwo_tus().
|
static |
Definition at line 7462 of file dwarf2read.c.
References dwarf2_queue_item::next, dwarf2_queue_item::per_cu, dwarf2_queue_item::pretend_language, dwarf2_per_cu_data::queued, and xmalloc().
Referenced by dw2_do_instantiate_symtab(), and maybe_queue_comp_unit().
|
static |
Definition at line 13054 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().
Definition at line 16425 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(), skip_form_bytes(), and skip_one_die().
Definition at line 16431 of file dwarf2read.c.
Referenced by decode_locdesc(), and dwarf_decode_line_header().
Definition at line 16437 of file dwarf2read.c.
Referenced by decode_locdesc(), dwarf_decode_line_header(), dwarf_decode_lines_1(), dwarf_parse_macro_header(), read_attribute_value(), read_comp_unit_head(), skip_form_bytes(), and skip_one_die().
Definition at line 16443 of file dwarf2read.c.
Referenced by decode_locdesc().
Definition at line 16449 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(), skip_form_bytes(), and skip_one_die().
Definition at line 16455 of file dwarf2read.c.
Referenced by decode_locdesc().
Definition at line 16461 of file dwarf2read.c.
Referenced by decode_locdesc(), lookup_dwo_unit_in_dwp(), read_and_check_type_unit_head(), and read_attribute_value().
|
static |
Definition at line 4460 of file dwarf2read.c.
References dwarf2_section_info::buffer, dwarf2_read_section(), get_section_bfd_owner(), read_initial_length(), read_offset_1(), and sect_offset::sect_off.
Referenced by build_type_psymtabs_1().
Definition at line 16812 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 16787 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 16820 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 16467 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_read(), dwarf2_record_block_ranges(), dwarf_decode_lines_1(), read_attribute_value(), and var_decode_location().
|
static |
Definition at line 4397 of file dwarf2read.c.
References dwarf2_section_info::buffer, cu_offset::cu_off, error_check_comp_unit_head(), comp_unit_head::first_die_offset, get_section_bfd_owner(), comp_unit_head::offset, comp_unit_head::offset_size, read_comp_unit_head(), and sect_offset::sect_off.
Referenced by init_cutu_and_read_dies(), init_cutu_and_read_dies_no_follow(), and read_cutu_die_from_dwo().
|
static |
Definition at line 4426 of file dwarf2read.c.
References dwarf2_section_info::buffer, cu_offset::cu_off, error_check_comp_unit_head(), comp_unit_head::first_die_offset, get_section_bfd_owner(), comp_unit_head::offset, comp_unit_head::offset_size, read_8_bytes(), read_comp_unit_head(), read_offset_1(), and sect_offset::sect_off.
Referenced by create_debug_types_hash_table(), init_cutu_and_read_dies(), and read_cutu_die_from_dwo().
|
static |
Definition at line 13799 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 13674 of file dwarf2read.c.
References _, objfile_type::builtin_int, die_info::child, complaint(), create_array_type_with_stride(), create_static_range_type(), die_type(), do_cleanups(), DW_FIELD_ALLOC_CHUNK, DW_UNSND, dwarf2_attr(), dwarf2_name(), free_current_contents(), get_die_type(), make_cleanup(), make_vector_type(), name, null_cleanup(), dwarf2_cu::objfile, objfile_type(), read_array_order(), read_type_die(), set_descriptive_type(), set_die_type(), sibling_die(), symfile_complaints, die_info::tag, type, TYPE_LENGTH, TYPE_NAME, and xrealloc().
Referenced by read_type_die_1().
|
static |
Definition at line 16414 of file dwarf2read.c.
References attr_abbrev::form, attr_abbrev::name, attribute::name, and read_attribute_value().
Referenced by read_full_die_1(), read_partial_die(), and skip_one_die().
|
static |
Definition at line 16191 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, comp_unit_head::offset, 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_string(), read_indirect_string_from_dwz(), read_n_bytes(), read_offset(), read_signed_leb128(), read_str_index(), read_unsigned_leb128(), sect_offset::sect_off, dwarf_block::size, symfile_complaints, and comp_unit_head::version.
Referenced by read_attribute().
Definition at line 14689 of file dwarf2read.c.
References _, code, complaint(), DW_UNSND, dwarf2_attr(), dwarf2_name(), dwarf_type_encoding_name(), encoding, init_type(), dwarf2_cu::language, language_ada, language_fortran, language_m2, language_pascal, name, dwarf2_cu::objfile, set_die_type(), size, startswith(), symfile_complaints, type, TYPE_CODE_BOOL, TYPE_CODE_CHAR, TYPE_CODE_COMPLEX, TYPE_CODE_DECFLOAT, TYPE_CODE_FLT, TYPE_CODE_INT, TYPE_CODE_PTR, TYPE_CODE_VOID, TYPE_FLAG_UNSIGNED, TYPE_NAME, TYPE_NOSIGN, and TYPE_TARGET_TYPE.
Referenced by read_type_die_1().
Definition at line 11550 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(), cu_offset::cu_off, dwarf2_locexpr_baton::data, call_site_parameter::data_value, call_site_parameter::data_value_size, die_is_declaration(), DW_BLOCK, DW_STRING, 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, dwarf2_cu::objfile, objfile_name(), objfile::objfile_obstack, offset, comp_unit_head::offset, die_info::offset, offset_in_cu_p(), paddress(), call_site_parameter_u::param_offset, call_site::parameter, call_site::parameter_count, die_info::parent, call_site::pc, dwarf2_locexpr_baton::per_cu, dwarf2_cu::per_cu, call_site::per_cu, sect_offset::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, 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 16588 of file dwarf2read.c.
References _, complaint(), gdb_assert, comp_unit_head::initial_length_size, comp_unit_head::length, read_initial_length(), and symfile_complaints.
Referenced by dwarf_decode_line_header().
Definition at line 13934 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(), common_block::n_entries, new_symbol(), dwarf2_cu::objfile, objfile_name(), objfile::objfile_obstack, die_info::offset, sect_offset::sect_off, sibling_die(), size, SYMBOL_VALUE_COMMON_BLOCK, symfile_complaints, and die_info::tag.
Referenced by process_die().
|
static |
Definition at line 4316 of file dwarf2read.c.
References _, comp_unit_head::abbrev_offset, comp_unit_head::addr_size, comp_unit_head::initial_length_size, internal_error(), comp_unit_head::length, comp_unit_head::offset_size, read_1_byte(), read_2_bytes(), read_initial_length(), read_offset(), sect_offset::sect_off, comp_unit_head::signed_addr_p, and comp_unit_head::version.
Referenced by per_cu_header_read_in(), read_and_check_comp_unit_head(), and read_and_check_type_unit_head().
|
static |
Definition at line 6540 of file dwarf2read.c.
References dwarf2_section_info::buffer, dwarf2_read_section(), dwarf_read_debug, fprintf_unfiltered(), gdb_stdlog, get_section_bfd_owner(), get_section_file_name(), get_section_name(), dwarf2_per_cu_data::is_dwz, dwarf2_per_cu_data::length, dwarf2_per_cu_data::objfile, objfile::objfile_obstack, offset, dwarf2_per_cu_data::offset, read_initial_length(), sect_offset::sect_off, dwarf2_per_cu_data::section, dwarf2_section_info::size, and xrealloc().
Referenced by create_all_comp_units().
|
static |
Definition at line 5052 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, dwarf2_per_cu_data::cu, cu_offset::cu_off, 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, comp_unit_head::offset, dwo_unit::offset, peek_abbrev_code(), read_and_check_comp_unit_head(), read_and_check_type_unit_head(), read_full_die_1(), sect_offset::sect_off, dwo_unit::section, dwo_file::sections, signatured_type::signature, signatured_type::type_offset_in_section, signatured_type::type_offset_in_tu, 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 15067 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 15139 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_die_and_siblings_1().
Referenced by load_full_comp_unit_reader(), and read_signatured_type_reader().
|
static |
Definition at line 15102 of file dwarf2read.c.
References read_die_and_children(), and die_info::sibling.
Referenced by read_die_and_children(), and read_die_and_siblings().
|
static |
Definition at line 16656 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(), skip_form_bytes(), and skip_one_die().
Definition at line 13502 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 9176 of file dwarf2read.c.
References _, ANOFFSET, die_info::child, complaint(), do_cleanups(), 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, make_cleanup(), null_cleanup(), objfile::obfd, 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 15221 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 15169 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, offset, die_info::offset, read_attribute(), read_unsigned_leb128(), sect_offset::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 11312 of file dwarf2read.c.
References _, allocate_template_symbol(), ANOFFSET, template_symbol::base, 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(), symbol::is_cplus_template_function, dwarf2_cu::language, language_cplus, language_fortran, dwarf2_cu::list_in_scope, local_symbols, context_stack::locals, template_symbol::n_template_arguments, name, context_stack::name, new_symbol(), new_symbol_full(), dwarf2_cu::objfile, objfile::objfile_obstack, die_info::offset, context_stack::old_blocks, outermost_context_p, pop_context(), process_die(), push_context(), read_lexical_block_scope(), read_type_die(), sect_offset::sect_off, SECT_OFF_TEXT, objfile::section_offsets, sibling_die(), symfile_complaints, die_info::tag, template_symbol::template_arguments, using_directives, context_stack::using_directives, VEC, VEC_address, VEC_empty, VEC_free, VEC_length, and VEC_safe_push.
Referenced by process_die().
Definition at line 8863 of file dwarf2read.c.
References _, die_info::child, complaint(), cp_add_using_directive(), determine_prefix(), do_cleanups(), dwarf2_attr(), dwarf2_name(), dwarf_tag_name(), follow_die_ref_or_sig(), dwarf2_cu::language, language_fortran, make_cleanup(), obconcat(), dwarf2_cu::objfile, objfile_name(), objfile::objfile_obstack, die_info::offset, process_die(), sect_offset::sect_off, sibling_die(), symfile_complaints, die_info::tag, VEC, VEC_cleanup, and VEC_safe_push.
Referenced by process_die().
|
static |
Definition at line 3042 of file dwarf2read.c.
References _, mapped_index::address_table, mapped_index::address_table_size, 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::symbol_table_slots, mapped_index::total_size, version, mapped_index::version, and warning().
Referenced by dwarf2_read_index().
|
static |
Definition at line 16714 of file dwarf2read.c.
References read_indirect_string_at_offset(), and read_offset().
Referenced by read_attribute_value().
Definition at line 16673 of file dwarf2read.c.
References _, dwarf2_section_info::buffer, dwarf2_read_section(), error(), gdb_assert, HOST_CHAR_BIT, dwarf2_section_info::size, and dwarf2_per_objfile::str.
Referenced by dwarf_decode_macro_bytes(), and read_indirect_string().
|
static |
Definition at line 16695 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 16556 of file dwarf2read.c.
References comp_unit_head::length.
Referenced by read_abbrev_offset(), read_checked_initial_length_and_offset(), read_comp_unit_head(), and read_comp_units_from_section().
Definition at line 11491 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, context_stack::locals, dwarf2_cu::objfile, context_stack::old_blocks, pop_context(), process_die(), push_context(), SECT_OFF_TEXT, objfile::section_offsets, sibling_die(), context_stack::start_addr, die_info::tag, using_directives, and context_stack::using_directives.
Referenced by process_die(), and read_func_scope().
Definition at line 14136 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 14114 of file dwarf2read.c.
References _, complaint(), dwarf2_name(), init_type(), dwarf2_cu::objfile, die_info::offset, sect_offset::sect_off, set_die_type(), symfile_complaints, type, TYPE_CODE_MODULE, TYPE_NAME, and TYPE_TAG_NAME.
Referenced by read_type_die_1().
Definition at line 16646 of file dwarf2read.c.
References gdb_assert, and HOST_CHAR_BIT.
Referenced by read_attribute_value().
Definition at line 14071 of file dwarf2read.c.
References die_info::child, cp_add_using_directive(), determine_prefix(), dwarf2_attr(), namespace_name(), new_symbol(), dwarf2_cu::objfile, objfile::objfile_obstack, process_die(), read_type_die(), sibling_die(), die_info::tag, type, and TYPE_NAME.
Referenced by process_die().
Definition at line 8806 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(), offset, die_info::offset, dwarf2_cu::per_cu, sect_offset::sect_off, symfile_complaints, die_info::tag, type, TYPE_CODE, and TYPE_CODE_NAMESPACE.
Referenced by process_die().
Definition at line 14029 of file dwarf2read.c.
References determine_prefix(), dwarf2_attr(), dwarf2_extension(), init_type(), name, namespace_name(), dwarf2_cu::objfile, objfile::objfile_obstack, 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 16611 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_string(), and unpack_bits_as_long().
Definition at line 16624 of file dwarf2read.c.
References _, and internal_error().
Referenced by dwarf_decode_line_header(), dwarf_decode_macro_bytes(), read_abbrev_offset(), read_and_check_type_unit_head(), and read_offset().
|
static |
Definition at line 15753 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, 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::may_be_inlined, partial_die_info::name, attribute::name, abbrev_info::num_attrs, dwarf2_cu::objfile, objfile_name(), partial_die_info::offset, paddress(), objfile::per_bfd, dwarf2_cu::per_cu, read_attribute(), sect_offset::sect_off, set_objfile_main_name(), 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, and comp_unit_head::version.
Referenced by load_partial_dies().
Definition at line 13834 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 20463 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 20425 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 16753 of file dwarf2read.c.
Referenced by decode_locdesc(), dwarf_decode_lines_1(), and read_attribute_value().
|
static |
Definition at line 16912 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, comp_unit_head::offset_size, sect_offset::sect_off, dwo_file::sections, dwarf2_section_info::size, dwo_sections::str, and dwo_sections::str_offsets.
Referenced by read_attribute_value().
Definition at line 13116 of file dwarf2read.c.
References alloc_type(), 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_java, name, dwarf2_cu::objfile, dwarf2_cu::producer, producer_is_icc(), 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 14888 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_java, language_m2, language_objc, language_pascal, name, dwarf2_cu::objfile, objfile_name(), objfile_type(), die_info::offset, PROP_CONST, PROP_UNDEFINED, sect_offset::sect_off, set_descriptive_type(), set_die_type(), symfile_complaints, TARGET_CHAR_BIT, 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 14509 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, language_java, lookup_function_type(), make_cv_type(), 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 14410 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 14347 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 14190 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 14255 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().
Definition at line 14290 of file dwarf2read.c.
References comp_unit_head::addr_size, die_type(), DW_UNSND, dwarf2_attr(), get_die_type(), dwarf2_cu::header, lookup_reference_type(), set_die_type(), type, and TYPE_LENGTH.
Referenced by read_type_die_1().
Definition at line 14392 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 14431 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 14368 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 19006 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_typedef(), 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 19021 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, and die_info::tag.
Referenced by read_type_die().
Definition at line 9372 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 14658 of file dwarf2read.c.
References _, complaint(), die_type(), dwarf2_full_name(), init_type(), name, dwarf2_cu::objfile, objfile_name(), die_info::offset, sect_offset::sect_off, set_die_type(), symfile_complaints, TYPE_CODE_TYPEDEF, TYPE_FLAG_TARGET_STUB, TYPE_NAME, and TYPE_TARGET_TYPE.
Referenced by read_type_die_1().
|
static |
Definition at line 16724 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(), peek_abbrev_code(), peek_die_abbrev(), read_addr_index_from_leb128(), read_attribute_value(), read_full_die_1(), skip_form_bytes(), skip_one_die(), and skip_unknown_opcode().
Definition at line 15048 of file dwarf2read.c.
References dwarf2_name(), init_type(), dwarf2_cu::objfile, set_die_type(), type, TYPE_CODE_VOID, and TYPE_NAME.
Referenced by read_type_die_1().
|
static |
Definition at line 7888 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 4044 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 23118 of file dwarf2read.c.
References partial_symtab::dependencies, objfile::global_psymbols, partial_symtab::globals_offset, psymbol_allocation_list::list, 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_psymtabs_to_index().
|
static |
Definition at line 8236 of file dwarf2read.c.
References die_info::in_process.
Referenced by process_die().
|
static |
Definition at line 23335 of file dwarf2read.c.
References _, ALL_OBJFILES, CATCH, dwarf2_objfile_data_key, END_CATCH, error(), exception_fprintf(), gdb_stderr, objfile_name(), RETURN_MASK_ERROR, TRY, and write_psymtabs_to_index().
Referenced by _initialize_dwarf2_read().
|
static |
Definition at line 6636 of file dwarf2read.c.
References _, add_partial_enumeration(), add_partial_module(), add_partial_namespace(), add_partial_subprogram(), add_partial_symbol(), partial_die_info::d, partial_die_info::die_sibling, dwarf2_find_containing_comp_unit(), error(), fixup_partial_die(), dwarf2_per_cu_data::is_debug_types, partial_die_info::is_declaration, partial_die_info::is_dwz, dwarf2_cu::language, partial_die_info::name, dwarf2_cu::objfile, objfile_name(), partial_die_info::offset, dwarf2_cu::per_cu, process_psymtab_comp_unit(), dwarf2_per_cu_data::psymtab, 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 2142 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_sections(), dwarf2_locate_v2_dwp_sections(), locate_dwz_sections(), and locate_v1_virtual_dwo_sections().
Definition at line 16969 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_java, language_m2, language_minimal, language_objc, and language_pascal.
Referenced by prepare_one_comp_unit(), and read_file_scope().
|
static |
Definition at line 18877 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 22243 of file dwarf2read.c.
References _, add_dyn_prop(), attr_to_dynamic_prop(), complaint(), dummy_obstack_deallocate(), dwarf2_attr(), DYN_PROP_DATA_LOCATION, hashtab_obstack_allocate(), HAVE_GNAT_AUX_INFO, INIT_GNAT_SPECIFIC, need_gnat_info(), dwarf2_cu::objfile, objfile::objfile_obstack, die_info::offset, dwarf2_per_cu_offset_and_type::offset, dwarf2_cu::per_cu, dwarf2_per_cu_offset_and_type::per_cu, per_cu_offset_and_type_eq(), per_cu_offset_and_type_hash(), sect_offset::sect_off, symfile_complaints, 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 22424 of file dwarf2read.c.
References all_commands, gdb_stdout, and help_list().
Referenced by _initialize_dwarf2_read().
|
static |
Definition at line 6419 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 9266 of file dwarf2read.c.
References allocate_symtab(), current_subfile, file_entry::dir_index, DW_UNSND, dwarf2_attr(), dwarf2_start_subfile(), dwarf2_start_symtab(), dwarf_decode_line_header(), line_header::file_names, first_time, free_cu_line_header(), gdb_assert, get_type_unit_group(), line_header::include_dirs, dwarf2_per_cu_data::is_debug_types, dwarf2_cu::line_header, make_cleanup(), subfile::name, file_entry::name, line_header::num_file_names, dwarf2_cu::per_cu, restart_symtab(), subfile::symtab, file_entry::symtab, and signatured_type::type_unit_group.
Referenced by read_type_unit_scope().
|
static |
Definition at line 23384 of file dwarf2read.c.
References _, and fprintf_filtered().
Referenced by _initialize_dwarf2_read().
|
static |
Definition at line 23374 of file dwarf2read.c.
References _, and fprintf_filtered().
Referenced by _initialize_dwarf2_read().
|
static |
Definition at line 22431 of file dwarf2read.c.
References cmd_show_list().
Referenced by _initialize_dwarf2_read().
|
static |
Definition at line 1381 of file dwarf2read.c.
References _, and fprintf_filtered().
Referenced by _initialize_dwarf2_read().
Definition at line 19424 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 7235 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 21029 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 7258 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(), sect_offset::sect_off, skip_children(), symfile_complaints, and comp_unit_head::version.
Referenced by load_partial_dies(), and skip_children().
|
static |
Definition at line 21111 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().
Definition at line 6149 of file dwarf2read.c.
References tu_abbrev_offset::abbrev_offset, and sect_offset::sect_off.
Referenced by build_type_psymtabs_1().
Definition at line 19832 of file dwarf2read.c.
References dwarf2_cu::die_hash, die_info::offset, and sect_offset::sect_off.
Referenced by read_die_and_children().
|
static |
Definition at line 22978 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_symtabs_matching(), dw2_symtab_iter_next(), and write_psymbols().
Definition at line 10449 of file dwarf2read.c.
References debug_file_directory, DIRNAME_SEPARATOR, flags, gdb_bfd_open(), gdb_bfd_record_inclusion(), gdb_bfd_unref(), 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 19376 of file dwarf2read.c.
References dwarf2_cu::language, language_fortran, language_java, 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 22725 of file dwarf2read.c.
References mapped_symtab::data, offset_type_compare(), qsort, mapped_symtab::size, VEC_address, VEC_index, VEC_length, VEC_replace, and VEC_truncate.
Referenced by write_psymtabs_to_index().
|
static |
Definition at line 23059 of file dwarf2read.c.
Referenced by write_psymtabs_to_index().
Definition at line 11162 of file dwarf2read.c.
Referenced by inherit_abstract_dies().
|
static |
Definition at line 13437 of file dwarf2read.c.
References die_info::child, do_cleanups(), dwarf2_attr(), dwarf2_const_value_attr(), dwarf2_name(), make_cleanup_obstack_free(), name, sibling_die(), die_info::tag, TYPE_FLAG_ENUM, and TYPE_UNSIGNED.
Referenced by read_enumeration_type().
|
static |
Definition at line 18181 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 22947 of file dwarf2read.c.
References add_address_entry(), add_address_entry_worker(), addrmap_index_data::addr_obstack, 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_psymtabs_to_index().
|
static |
Definition at line 20064 of file dwarf2read.c.
References store_unsigned_integer(), and TYPE_LENGTH.
Referenced by dwarf2_fetch_constant_bytes().
|
static |
Definition at line 22805 of file dwarf2read.c.
References add_indices_to_cpool(), add_string(), create_strtab(), create_symbol_hash_table(), mapped_symtab::data, symtab_index_entry::index_offset, MAYBE_SWAP, symtab_index_entry::name, and mapped_symtab::size.
Referenced by write_psymtabs_to_index().
|
static |
Definition at line 23048 of file dwarf2read.c.
Referenced by write_psymtabs_to_index().
|
static |
Definition at line 23080 of file dwarf2read.c.
References signatured_type_index_data::cu_index, cu_offset::cu_off, objfile::global_psymbols, partial_symtab::globals_offset, psymbol_allocation_list::list, partial_symtab::n_global_syms, partial_symtab::n_static_syms, signatured_type_index_data::objfile, dwarf2_per_cu_data::offset, signatured_type::per_cu, signatured_type_index_data::psyms_seen, dwarf2_per_cu_data::psymtab, sect_offset::sect_off, signatured_type::signature, objfile::static_psymbols, partial_symtab::statics_offset, store_unsigned_integer(), signatured_type_index_data::symtab, signatured_type::type_offset_in_tu, signatured_type_index_data::types_list, dwarf2_per_cu_data::v, and write_psymbols().
Referenced by write_psymtabs_to_index().
|
static |
Definition at line 23016 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().
Definition at line 23146 of file dwarf2read.c.
References _, cleanup_mapped_symtab(), create_mapped_symtab(), psymtab_cu_index_map::cu_index, signatured_type_index_data::cu_index, do_cleanups(), eq_psymtab_cu_index(), error(), gdb_assert, gdb_fopen_cloexec(), hash_psymtab_cu_index(), INDEX_SUFFIX, dwarf2_per_cu_data::length, make_cleanup(), make_cleanup_htab_delete(), make_cleanup_obstack_free(), MAYBE_SWAP, signatured_type_index_data::objfile, objfile_name(), dwarf2_per_cu_data::offset, perror_with_name(), signatured_type_index_data::psyms_seen, dwarf2_per_cu_data::psymtab, psymtab_cu_index_map::psymtab, objfile::psymtabs, objfile::psymtabs_addrmap, recursively_write_psymbols(), sect_offset::sect_off, SLASH_STRING, store_unsigned_integer(), signatured_type_index_data::symtab, signatured_type_index_data::types_list, uniquify_cu_indices(), unlink_if_set(), partial_symtab::user, dwarf2_per_cu_data::v, VEC_length, write_address_map(), write_hash_table(), write_obstack(), write_one_signatured_type(), xcalloc(), xfree(), and xmalloc().
Referenced by save_gdb_index_command().
|
static |
Definition at line 1298 of file dwarf2read.c.
Referenced by dwarf2_add_field(), and mips_isa_regsize().
|
static |
Definition at line 91 of file dwarf2read.c.
Referenced by _initialize_dwarf2_read(), and dwarf2_physname().
|
static |
Definition at line 328 of file dwarf2read.c.
Referenced by dwarf2_locate_sections().
const struct quick_symbol_functions dwarf2_gdb_index_functions |
Definition at line 4171 of file dwarf2read.c.
|
static |
Definition at line 102 of file dwarf2read.c.
Referenced by _initialize_dwarf2_read(), and dwarf2_symbol_mark_computed().
|
static |
Definition at line 100 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 103 of file dwarf2read.c.
Referenced by _initialize_dwarf2_read(), and dwarf2_symbol_mark_computed().
|
static |
Definition at line 101 of file dwarf2read.c.
Referenced by _initialize_dwarf2_read(), and dwarf2_symbol_mark_computed().
|
static |
Definition at line 96 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 321 of file dwarf2read.c.
|
static |
Definition at line 1372 of file dwarf2read.c.
Referenced by dwarf2_release_queue().
|
static |
Definition at line 1372 of file dwarf2read.c.
int dwarf_always_disassemble |
Definition at line 23371 of file dwarf2read.c.
Referenced by locexpr_describe_location_1().
|
static |
Definition at line 85 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 88 of file dwarf2read.c.
Referenced by _initialize_dwarf2_read(), add_file_name(), add_include_dir(), dwarf_finish_line(), dwarf_record_line(), and dwarf_record_line_1().
|
static |
Definition at line 1379 of file dwarf2read.c.
Referenced by _initialize_dwarf2_read(), and age_cached_comp_units().
|
static |
Definition at line 82 of file dwarf2read.c.
Referenced by _initialize_dwarf2_read(), build_type_psymtabs_1(), create_debug_types_hash_table(), create_dwo_cu(), 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 22420 of file dwarf2read.c.
|
static |
Definition at line 22421 of file dwarf2read.c.
|
static |
Definition at line 94 of file dwarf2read.c.
Referenced by _initialize_dwarf2_read(), and dwarf2_read_index().