GDB (xrefs)
|
#include "objfiles.h"
Public Types | |
typedef iterator_range< minimal_symbol_iterator > | msymbols_range |
Public Member Functions | |
~objfile () | |
void | unlink () |
DISABLE_COPY_AND_ASSIGN (objfile) | |
compunit_symtab_range | compunits () |
msymbols_range | msymbols () |
separate_debug_range | separate_debug_objfiles () |
CORE_ADDR | text_section_offset () const |
CORE_ADDR | data_section_offset () const |
const char * | intern (const char *str) |
const char * | intern (const std::string &str) |
struct gdbarch * | arch () const |
bool | has_partial_symbols () |
bool | has_unexpanded_symtabs () |
struct symtab * | find_last_source_symtab () |
void | forget_cached_source_info () |
bool | map_symtabs_matching_filename (const char *name, const char *real_path, gdb::function_view< bool(symtab *)> callback) |
struct compunit_symtab * | lookup_symbol (block_enum kind, const char *name, domain_enum domain) |
void | print_stats (bool print_bcache) |
void | dump () |
void | expand_symtabs_for_function (const char *func_name) |
void | expand_all_symtabs () |
void | expand_symtabs_with_fullname (const char *fullname) |
void | expand_matching_symbols (const lookup_name_info &name, domain_enum domain, int global, symbol_compare_ftype *ordered_compare) |
bool | expand_symtabs_matching (gdb::function_view< expand_symtabs_file_matcher_ftype > file_matcher, const lookup_name_info *lookup_name, gdb::function_view< expand_symtabs_symbol_matcher_ftype > symbol_matcher, gdb::function_view< expand_symtabs_exp_notify_ftype > expansion_notify, block_search_flags search_flags, domain_enum domain, enum search_domain kind) |
struct compunit_symtab * | find_pc_sect_compunit_symtab (struct bound_minimal_symbol msymbol, CORE_ADDR pc, struct obj_section *section, int warn_if_readin) |
void | map_symbol_filenames (gdb::function_view< symbol_filename_ftype > fun, bool need_fullname) |
struct compunit_symtab * | find_compunit_symtab_by_address (CORE_ADDR address) |
enum language | lookup_global_symbol_language (const char *name, domain_enum domain, bool *symbol_found_p) |
void | require_partial_symbols (bool verbose) |
CORE_ADDR | section_offset (bfd_section *section) const |
void | set_section_offset (bfd_section *section, CORE_ADDR offset) |
Static Public Member Functions | |
static objfile * | make (gdb_bfd_ref_ptr bfd_, const char *name_, objfile_flags flags_, objfile *parent=nullptr) |
Private Member Functions | |
objfile (gdb_bfd_ref_ptr, const char *, objfile_flags) | |
const std::forward_list< quick_symbol_functions_up > & | qf_require_partial_symbols () |
Definition at line 396 of file objfiles.h.
typedef iterator_range<minimal_symbol_iterator> objfile::msymbols_range |
Definition at line 434 of file objfiles.h.
|
private |
Definition at line 315 of file objfiles.c.
References build_objfile_section_table(), flags, is_target_filename(), mtime, name, OBJF_NOT_FILENAME, objfile_obstack, original_name, and set_objfile_per_bfd().
Referenced by compile_object_run(), and dwarf2_fetch_die_loc_sect_off().
objfile::~objfile | ( | ) |
Definition at line 493 of file objfiles.c.
References breakpoint_free_objfile(), btrace_free_objfile(), clear_current_source_symtab_and_line(), clear_pc_function_cache(), symtab::compunit(), forget_cached_source_info_for_objfile(), gdb::observers::free_objfile, free_objfile_separate_debug(), get_current_source_symtab_and_line(), get_objfile_pspace_data(), compunit_symtab::objfile(), preserve_values(), pspace, objfile_pspace_info::section_map_dirty, separate_debug_objfile, separate_debug_objfile_backlink, separate_debug_objfile_link, sf, sym_fns::sym_finish, and symtab_and_line::symtab.
|
inline |
Definition at line 482 of file objfiles.h.
References objfile_per_bfd_storage::gdbarch, and per_bfd.
Referenced by ada_lookup_simple_minsym(), add_symbol_overload_list_qualified(), dwarf_expr_context::address_type(), annotate_source_line(), type::arch(), basic_type(), block_gdbarch(), call_target_sbrk(), cooked_indexer::check_bounds(), checkpoint_command(), coff_read_enum_type(), coff_symtab_read(), create_addrmap_from_index(), create_exception_master_breakpoint_hook(), create_exception_master_breakpoint_probe(), create_longjmp_master_breakpoint_names(), create_longjmp_master_breakpoint_probe(), create_overlay_event_breakpoint(), create_std_terminate_master_breakpoint(), ctf_init_float_type(), dbx_end_psymtab(), dbx_init_float_type(), decode_base_type(), define_symbol(), dtrace_process_dof(), dump_msymbols(), dump_psymtab(), dump_symtab_1(), dwarf2_add_field(), dwarf2_build_frame_info(), dwarf2_fetch_die_loc_sect_off(), dwarf2_find_location_expression(), dwarf2_get_symbol_read_needs(), dwarf2_init_complex_target_type(), dwarf2_init_float_type(), dwarf2_ranges_read(), dwarf2_record_block_ranges(), dwarf_decode_lines_1(), edit_command(), elf_gnu_ifunc_record_cache(), elf_gnu_ifunc_resolve_by_got(), elf_rel_plt_read(), elf_symtab_read(), enter_line_range(), enter_linenos(), dwarf_expr_context::execute_stack_op(), dwarf_expr_context::fetch_address(), dwarf_expr_context::fetch_result(), filter_overlapping_sections(), finalize_symtab(), find_function_in_inferior(), find_function_start_sal_1(), psymbol_functions::find_pc_sect_compunit_symtab(), dwarf2_base_index_functions::find_pc_sect_compunit_symtab(), buildsym_compunit::finish_block_internal(), gdbpy_execute_objfile_script(), gdbpy_source_objfile_script(), dwarf_expr_context::get_base_type(), get_sal_arch(), handle_stap_probe(), info_address_command(), init_entry_point_info(), init_float_type(), internalize_unwinds(), linux_infcall_mmap(), linux_infcall_munmap(), list_command(), list_overlays_command(), locexpr_describe_location_1(), locexpr_describe_location_piece(), locexpr_get_symbol_read_needs(), loclist_describe_location(), lookup_global_or_static_symbol(), macho_add_oso_symfile(), maintenance_check_psymtabs(), maintenance_info_psymtabs(), maintenance_print_one_line_table(), mark_common_block_symbol_computed(), mdebug_expand_psymtab(), mi_cmd_symbol_list_lines(), msymbol_is_function(), new_symbol(), objfile_type(), output_nondebug_symbol(), parse_partial_symbols(), parse_symbol(), print_msymbol_info(), process_full_comp_unit(), process_one_symbol(), python_free_objfile(), python_new_objfile(), read_addrmap_from_aranges(), read_attribute_value(), read_base_type(), read_call_site_scope(), read_dbx_symtab(), read_debug_names_from_section(), read_enum_type(), read_file_scope(), read_func_scope(), read_lexical_block_scope(), read_one_struct_field(), read_range_type(), read_tag_pointer_type(), read_tag_string_type(), record_minimal_symbol(), rw_pieced_value(), cooked_indexer::scan_attributes(), section_is_mapped(), tui_source_window::set_contents(), simple_overlay_update_1(), simple_read_overlay_table(), skip_prologue_sal(), tui_update_source_windows_with_line(), value_allocate_space_in_inferior(), value_fn_field(), write_debug_names(), and z80_read_overlay_region_table().
|
inline |
Definition at line 426 of file objfiles.h.
References compunit_symtabs.
Referenced by ada_add_global_exceptions(), global_symbol_searcher::add_matching_symbols(), add_nonlocal_symbols(), add_symbol_overload_list_qualified(), basic_lookup_transparent_type_1(), coff_symtab_read(), ada_language::collect_symbol_completion_matches(), default_collect_symbol_completion_matches_break_on(), dump_objfile(), find_line_symtab(), find_symbol_at_address(), forget_cached_source_info_for_objfile(), gdbpy_lookup_static_symbols(), info_sources_worker(), iterate_over_all_matching_symtabs(), lookup_symbol_in_objfile_symtabs(), maintenance_check_symtabs(), maintenance_info_line_tables(), maintenance_info_symtabs(), maintenance_print_symbols(), make_source_files_completion_list(), map_matching_symbols(), objfile_relocate1(), and print_objfile_statistics().
|
inline |
Definition at line 462 of file objfiles.h.
References SECT_OFF_DATA.
Referenced by cooked_index_functions::find_compunit_symtab_by_address().
objfile::DISABLE_COPY_AND_ASSIGN | ( | objfile | ) |
void objfile::dump | ( | ) |
Definition at line 310 of file symfile-debug.c.
References debug_symfile, gdb_printf(), gdb_stdlog, objfile_debug_name(), and qf.
Referenced by dump_objfile().
void objfile::expand_all_symtabs | ( | ) |
Definition at line 344 of file symfile-debug.c.
References debug_symfile, gdb_printf(), gdb_stdlog, objfile_debug_name(), and qf_require_partial_symbols().
Referenced by reread_symbols(), and symbol_file_add_with_addrs().
void objfile::expand_matching_symbols | ( | const lookup_name_info & | name, |
domain_enum | domain, | ||
int | global, | ||
symbol_compare_ftype * | ordered_compare | ||
) |
Definition at line 381 of file symfile-debug.c.
References debug_symfile, domain_name(), gdb_printf(), gdb_stdlog, name, objfile_debug_name(), and qf_require_partial_symbols().
Referenced by map_matching_symbols().
void objfile::expand_symtabs_for_function | ( | const char * | func_name | ) |
Definition at line 321 of file symfile-debug.c.
References ALL_DOMAIN, debug_symfile, gdb_printf(), gdb_stdlog, lookup_name_info::make_ignore_params(), objfile_debug_name(), qf_require_partial_symbols(), SEARCH_GLOBAL_BLOCK, SEARCH_STATIC_BLOCK, and VAR_DOMAIN.
bool objfile::expand_symtabs_matching | ( | gdb::function_view< expand_symtabs_file_matcher_ftype > | file_matcher, |
const lookup_name_info * | lookup_name, | ||
gdb::function_view< expand_symtabs_symbol_matcher_ftype > | symbol_matcher, | ||
gdb::function_view< expand_symtabs_exp_notify_ftype > | expansion_notify, | ||
block_search_flags | search_flags, | ||
domain_enum | domain, | ||
enum search_domain | kind | ||
) |
Definition at line 399 of file symfile-debug.c.
References debug_symfile, gdb_printf(), gdb_stdlog, objfile_debug_name(), qf_require_partial_symbols(), and search_domain_name().
Referenced by global_symbol_searcher::expand_symtabs(), expand_symtabs_matching(), iterate_over_all_matching_symtabs(), and maintenance_expand_symtabs().
void objfile::expand_symtabs_with_fullname | ( | const char * | fullname | ) |
Definition at line 355 of file symfile-debug.c.
References ALL_DOMAIN, debug_symfile, gdb_printf(), gdb_stdlog, objfile_debug_name(), qf_require_partial_symbols(), SEARCH_GLOBAL_BLOCK, SEARCH_STATIC_BLOCK, and UNDEF_DOMAIN.
Referenced by find_line_symtab().
struct compunit_symtab * objfile::find_compunit_symtab_by_address | ( | CORE_ADDR | address | ) |
Definition at line 478 of file symfile-debug.c.
References debug_symfile, debug_symtab_name(), gdb_printf(), gdb_stdlog, objfile_debug_name(), compunit_symtab::primary_filetab(), and qf_require_partial_symbols().
Referenced by find_symbol_at_address().
struct symtab * objfile::find_last_source_symtab | ( | ) |
Definition at line 129 of file symfile-debug.c.
References debug_symfile, debug_symtab_name(), gdb_printf(), gdb_stdlog, objfile_debug_name(), and qf_require_partial_symbols().
Referenced by select_source_symtab().
struct compunit_symtab * objfile::find_pc_sect_compunit_symtab | ( | struct bound_minimal_symbol | msymbol, |
CORE_ADDR | pc, | ||
struct obj_section * | section, | ||
int | warn_if_readin | ||
) |
Definition at line 429 of file symfile-debug.c.
References debug_symfile, debug_symtab_name(), gdb_printf(), gdb_stdlog, bound_minimal_symbol::minsym, objfile_debug_name(), compunit_symtab::primary_filetab(), and qf_require_partial_symbols().
Referenced by expand_symtab_containing_pc().
void objfile::forget_cached_source_info | ( | ) |
Definition at line 152 of file symfile-debug.c.
References debug_symfile, gdb_printf(), gdb_stdlog, objfile_debug_name(), and qf_require_partial_symbols().
Referenced by forget_cached_source_info_for_objfile().
bool objfile::has_partial_symbols | ( | ) |
Definition at line 77 of file symfile-debug.c.
References debug_symfile, flags, gdb_printf(), gdb_stdlog, OBJF_PSYMTABS_READ, objfile_debug_name(), and qf.
Referenced by coff_symfile_read(), elf_symfile_read_dwarf2(), and read_symbols().
bool objfile::has_unexpanded_symtabs | ( | ) |
Definition at line 105 of file symfile-debug.c.
References debug_symfile, gdb_printf(), gdb_stdlog, objfile_debug_name(), and qf_require_partial_symbols().
Referenced by info_sources_worker().
|
inline |
Definition at line 469 of file objfiles.h.
References objfile_per_bfd_storage::intern(), and per_bfd.
Referenced by allocate_symtab(), create_dwo_unit_in_dwp_v1(), create_dwo_unit_in_dwp_v2(), create_dwo_unit_in_dwp_v5(), dw2_get_file_names_reader(), dwarf2_canonicalize_name(), dwarf2_compute_name(), dwarf2_name(), dwarf2_physname(), elf_symtab_read(), fixup_go_packaging(), file_and_directory::intern_comp_dir(), quirk_ada_thick_pointer(), and unnamed_template_tag_name().
|
inline |
Definition at line 476 of file objfiles.h.
References objfile_per_bfd_storage::intern(), and per_bfd.
enum language objfile::lookup_global_symbol_language | ( | const char * | name, |
domain_enum | domain, | ||
bool * | symbol_found_p | ||
) |
Definition at line 505 of file symfile-debug.c.
References language_unknown, name, and qf_require_partial_symbols().
Referenced by find_main_name().
struct compunit_symtab * objfile::lookup_symbol | ( | block_enum | kind, |
const char * | name, | ||
domain_enum | domain | ||
) |
Definition at line 233 of file symfile-debug.c.
References ALL_DOMAIN, blockvector::block(), block_find_non_opaque_type_preferred(), block_find_symbol(), debug_symfile, debug_symtab_name(), domain_name(), gdb_printf(), gdb_stdlog, GLOBAL_BLOCK, name, objfile_debug_name(), compunit_symtab::primary_filetab(), qf_require_partial_symbols(), SEARCH_GLOBAL_BLOCK, SEARCH_STATIC_BLOCK, and symbol_matches_search_name().
Referenced by basic_lookup_transparent_type_quick(), and lookup_symbol_via_quick_fns().
|
static |
Definition at line 451 of file objfiles.c.
References program_space::add_objfile(), add_separate_debug_objfile(), current_program_space, get_objfile_pspace_data(), and objfile_pspace_info::new_objfiles_available.
Referenced by jit_object_close_impl(), and symbol_file_add_with_addrs().
void objfile::map_symbol_filenames | ( | gdb::function_view< symbol_filename_ftype > | fun, |
bool | need_fullname | ||
) |
Definition at line 464 of file symfile-debug.c.
References debug_symfile, gdb_printf(), gdb_stdlog, objfile_debug_name(), and qf_require_partial_symbols().
Referenced by info_sources_worker(), and map_symbol_filenames().
bool objfile::map_symtabs_matching_filename | ( | const char * | name, |
const char * | real_path, | ||
gdb::function_view< bool(symtab *)> | callback | ||
) |
Definition at line 163 of file symfile-debug.c.
References ALL_DOMAIN, compare_filenames_for_search(), compunit_symtabs, debug_symfile, gdb_printf(), gdb_stdlog, iterate_over_some_symtabs(), name, objfile_debug_name(), qf_require_partial_symbols(), SEARCH_GLOBAL_BLOCK, SEARCH_STATIC_BLOCK, and UNDEF_DOMAIN.
Referenced by iterate_over_symtabs().
|
inline |
Definition at line 439 of file objfiles.h.
References objfile_per_bfd_storage::minimal_symbol_count, objfile_per_bfd_storage::msymbols, and per_bfd.
Referenced by ada_add_standard_exceptions(), ada_lookup_simple_minsym(), global_symbol_searcher::add_matching_msymbols(), coff_read_minsyms(), ada_language::collect_symbol_completion_matches(), default_collect_symbol_completion_matches_break_on(), dump_msymbols(), global_symbol_searcher::expand_symtabs(), find_methods(), find_solib_trampoline_target(), info_classes_command(), info_selectors_command(), and scan_file_globals().
void objfile::print_stats | ( | bool | print_bcache | ) |
Definition at line 299 of file symfile-debug.c.
References debug_symfile, gdb_printf(), gdb_stdlog, objfile_debug_name(), and qf_require_partial_symbols().
Referenced by print_objfile_statistics().
|
inlineprivate |
Definition at line 617 of file objfiles.h.
References qf, and require_partial_symbols().
Referenced by expand_all_symtabs(), expand_matching_symbols(), expand_symtabs_for_function(), expand_symtabs_matching(), expand_symtabs_with_fullname(), find_compunit_symtab_by_address(), find_last_source_symtab(), find_pc_sect_compunit_symtab(), forget_cached_source_info(), has_unexpanded_symtabs(), lookup_global_symbol_language(), lookup_symbol(), map_symbol_filenames(), map_symtabs_matching_filename(), and print_stats().
void objfile::require_partial_symbols | ( | bool | verbose | ) |
Definition at line 524 of file symfile-debug.c.
References flags, gdb_printf(), OBJF_PSYMTABS_READ, objfile_has_symbols(), objfile_name(), and qf.
Referenced by qf_require_partial_symbols(), and read_symbols().
|
inline |
Definition at line 591 of file objfiles.h.
References gdb_bfd_section_index().
Referenced by obj_section::offset().
|
inline |
Definition at line 450 of file objfiles.h.
Referenced by create_exception_master_breakpoint(), create_longjmp_master_breakpoint(), lookup_minimal_symbol_by_pc_section(), lookup_minimal_symbol_linkage(), lookup_symbol_in_objfile_from_linkage_name(), objfile_has_symbols(), objfile_rebase(), and objfile_relocate().
|
inline |
Definition at line 602 of file objfiles.h.
References gdb_bfd_section_index().
Referenced by obj_section::set_offset().
|
inline |
Definition at line 457 of file objfiles.h.
References SECT_OFF_TEXT.
Referenced by add_pe_forwarded_sym(), amd64_windows_find_unwind_info(), cooked_indexer::check_bounds(), coff_symtab_read(), create_addrmap_from_index(), do_compile_dwarf_expr_to_c(), dwarf2_compile_expr_to_ax(), dwarf2_fetch_cfa_info(), dwarf2_fetch_die_loc_sect_off(), dwarf2_find_location_expression(), dwarf2_frame_cache(), dwarf2_frame_find_fde(), dwarf2_ranges_read(), dwarf_decode_lines_1(), enable_break(), enter_line_range(), enter_linenos(), dwarf_expr_context::execute_stack_op(), dwarf2_base_index_functions::find_pc_sect_compunit_symtab(), get_objfile_text_range(), dtrace_probe::get_relocated_address(), hppabsd_find_global_pointer(), loclist_describe_location(), new_symbol(), process_coff_symbol(), process_full_comp_unit(), read_addrmap_from_aranges(), read_call_site_scope(), read_file_scope(), read_func_scope(), read_lexical_block_scope(), read_unwind_info(), read_xcoff_symtab(), relocate_address(), cooked_indexer::scan_attributes(), partial_symtab::text_high(), and partial_symtab::text_low().
void objfile::unlink | ( | ) |
Definition at line 470 of file objfiles.c.
References current_program_space, and program_space::remove_objfile().
Referenced by do_module_cleanup(), free_objfile_separate_debug(), jit_event_handler(), objfile_deleter::operator()(), remove_symbol_file_command(), and syms_from_objfile_1().
CORE_ADDR objfile::addr_low = 0 |
Definition at line 633 of file objfiles.h.
Referenced by solib_read_symbols().
struct compunit_symtab* objfile::compunit_symtabs = nullptr |
Definition at line 646 of file objfiles.h.
Referenced by add_compunit_symtab_to_objfile(), compunits(), dump_objfile(), iterate_over_symtabs(), map_symtabs_matching_filename(), objfile_has_full_symbols(), and reread_symbols().
objfile_flags objfile::flags |
Definition at line 637 of file objfiles.h.
Referenced by coff_symfile_init(), coff_symfile_read(), disable_breakpoints_in_freed_objfile(), dwarf2_has_info(), dwarf2_initialize_objfile(), elf_symfile_init(), elf_symfile_read(), buildsym_compunit::end_compunit_symtab_get_static_block(), buildsym_compunit::end_compunit_symtab_with_blockvector(), find_pc_sect_psymtab_closer(), find_symbol_at_address(), gdbpy_lookup_objfile(), get_msymbol_address(), has_partial_symbols(), load_auto_scripts_for_objfile(), macho_add_oso_symfile(), macho_symfile_init(), new_symbol(), objfile(), objfpy_get_is_file(), parse_partial_symbols(), psymbol_functions::partial_symbols(), record_minimal_symbol(), remove_symbol_file_command(), remove_user_added_objfile(), require_partial_symbols(), reread_symbols(), save_gdb_index_command(), shared_objfile_contains_address_p(), index_cache::store(), symbol_file_add_separate(), symbol_file_add_with_addrs(), target_translate_tls_address(), thread_db_new_objfile(), write_dwarf_index(), xcoff_initial_scan(), and xcoff_symfile_init().
std::unique_ptr<jited_objfile_data> objfile::jited_data = nullptr |
Definition at line 780 of file objfiles.h.
Referenced by add_objfile_entry().
std::unique_ptr<jiter_objfile_data> objfile::jiter_data = nullptr |
Definition at line 776 of file objfiles.h.
Referenced by get_jiter_objfile_data(), jit_breakpoint_deleted(), jit_event_handler(), and jit_read_descriptor().
long objfile::mtime = 0 |
Definition at line 668 of file objfiles.h.
Referenced by source_cache::get_plain_source_lines(), objfile(), and reread_symbols().
gdb_bfd_ref_ptr objfile::obfd |
Definition at line 653 of file objfiles.h.
Referenced by add_symbol_file_from_memory_command(), amd64_windows_find_unwind_info(), arm_exidx_new_objfile(), arm_find_exidx_entry(), arm_find_mapping_symbol(), arm_record_special_symbol(), auto_load_objfile_script(), auto_load_section_scripts(), build_objfile_section_table(), build_section_addr_info_from_objfile(), coff_read_enum_type(), coff_read_minsyms(), coff_read_struct_type(), coff_symfile_read(), coff_symtab_read(), coffstab_build_psymtabs(), nto_procfs_target::create_inferior(), cs_to_bfd_section(), cs_to_section(), dbx_expand_psymtab(), dbx_symfile_init(), dbx_symfile_read(), decode_locdesc(), default_symfile_offsets(), dump_objfile(), dwarf2_const_value_attr(), dwarf2_const_value_data(), dwarf2_fetch_constant_bytes(), dwarf2_find_location_expression(), dwarf2_frame_find_fde(), dwarf2_has_info(), dwarf2_ranges_process(), dwarf2_rnglists_process(), dwarf_decode_lines_1(), elf_get_probes(), elf_gnu_ifunc_resolve_by_got(), elf_read_minimal_symbols(), elf_rel_plt_read(), elf_symfile_read(), elf_symfile_read_dwarf2(), elf_symtab_read(), elfctf_build_psymtabs(), elfmdebug_build_psymtabs(), elfstab_build_psymtabs(), enable_break(), enter_line_range(), find_comp_unit(), find_separate_debug_file_by_buildid(), find_separate_debug_file_by_debuglink(), find_separate_debug_file_in_section(), frv_fdpic_find_canonical_descriptor(), gcore_create_callback(), gdbpy_lookup_objfile(), get_gdb_index_contents_from_cache(), get_mpz(), get_objfile_text_range(), remote_target::get_offsets(), source_cache::get_plain_source_lines(), dtrace_static_probe_ops::get_probes(), stap_static_probe_ops::get_probes(), get_section_index(), get_symbol_leading_char(), handle_stap_probe(), i386_thiscall_push_dummy_call(), init_entry_point_info(), init_objfile_sect_indices(), internalize_unwinds(), loclist_describe_location(), macho_check_dsym(), macho_resolve_oso_sym_with_minsym(), macho_symfile_offsets(), macho_symfile_read(), macho_symfile_relocate(), macho_symtab_add_minsym(), matching_obj_sections(), mdebug_build_psymtabs(), mipscoff_symfile_read(), dw2_debug_names_iterator::next(), objfile_filename(), objfile_flavour_name(), objfile_name(), objfile_relocate1(), objfpy_get_build_id(), open_source_file(), process_coff_symbol(), process_linenos(), read_addr_index_1(), read_addr_index_from_leb128(), read_addrmap_from_aranges(), read_alphacoff_dynamic_symtab(), read_dbx_symtab(), dwarf2_per_objfile::read_line_string(), read_loclist_index(), read_ofile_symtab(), read_pe_exported_syms(), read_rnglist_index(), read_str_index(), read_symbol(), read_symbol_lineno(), read_unwind_info(), read_xcoff_symtab(), minimal_symbol_reader::record_full(), record_minimal_symbol(), reread_symbols(), scan_partial_symbols(), scan_xcoff_symtab(), separate_debug_file_exists(), set_comp_unit(), set_objfile_per_bfd(), solib_aix_get_section_offsets(), stabsect_build_psymtabs(), index_cache::store(), svr4_iterate_over_objfiles_in_search_order(), swap_sym(), symfile_find_segment_sections(), syms_from_objfile_1(), try_open_dwop_file(), update_section_map(), var_decode_location(), xcoff_initial_scan(), xcoff_next_symbol_text(), and xcoff_secnum_to_sections().
auto_obstack objfile::objfile_obstack |
Definition at line 673 of file objfiles.h.
Referenced by add_pending(), add_stt_entries(), add_variant_property(), alloc_type(), alloc_type_instance(), allocate_compunit_symtab(), allocate_symtab(), arm_exidx_new_objfile(), attr_to_dynamic_prop(), basic_type(), build_error_marker_type(), build_objfile_section_table(), coff_read_enum_type(), coff_read_struct_type(), coffstab_build_psymtabs(), common_block_end(), common_block_start(), compile_object_load(), compute_compunit_symtab_includes(), copy_type(), cp_scan_for_anonymous_namespaces(), ctf_add_enum_member_cb(), ctf_add_var_cb(), dbx_end_psymtab(), dbx_symfile_init(), define_symbol(), dwarf2_const_value(), dwarf2_symbol_mark_computed(), elf_gnu_ifunc_record_cache(), elfmdebug_build_psymtabs(), elfstab_build_psymtabs(), buildsym_compunit::end_compunit_symtab_with_blockvector(), finalize_symtab(), buildsym_compunit::finish_block_internal(), fixup_go_packaging(), handle_member_location(), init_stringtab(), make_blockranges(), buildsym_compunit::make_blockvector(), mark_common_block_symbol_computed(), mdebug_build_psymtabs(), mdebug_expand_psymtab(), new_psymtab(), new_symbol(), objfile(), objfile_register_static_link(), objfile_type(), parse_partial_symbols(), parse_symbol(), parse_type(), patch_block_stabs(), process_coff_symbol(), process_one_symbol(), process_structure_scope(), process_xcoff_symbol(), quirk_rust_enum(), dwarf2_section_info::read(), read_base_type(), read_call_site_scope(), read_common_block(), read_cpp_abbrev(), read_dbx_symtab(), read_enum_type(), read_func_scope(), read_import_statement(), read_member_functions(), read_namespace(), read_namespace_type(), read_one_struct_field(), read_type(), read_typedef_type(), read_unwind_info(), read_variable(), read_xcoff_symtab(), reread_symbols(), resolve_dynamic_array_or_string(), rs6000_builtin_type(), set_die_type(), set_tid_type(), dwarf2_cu::setup_type_unit_groups(), stabsect_build_psymtabs(), start_psymtab(), swap_sym(), xcoff_end_psymtab(), xcoff_initial_scan(), and xcoff_start_psymtab().
objfile::OBJSTATS |
Definition at line 752 of file objfiles.h.
const char* objfile::original_name = nullptr |
Definition at line 631 of file objfiles.h.
Referenced by gdbpy_lookup_objfile(), load_auto_scripts_for_objfile(), objfile(), objfile_debug_name(), objfile_name(), objfpy_get_username(), open_and_init_dwp_file(), reread_symbols(), and svr4_find_and_create_probe_breakpoints().
struct objfile_per_bfd_storage* objfile::per_bfd = nullptr |
Definition at line 657 of file objfiles.h.
Referenced by add_minsym_to_demangled_hash_table(), partial_symtab::add_psymbol(), add_stt_entries(), add_symbol_file_command(), anonymous_struct_prefix(), arch(), build_minimal_symbol_hash_tables(), clear_minimal_symbol_hash_tables(), coff_read_minsyms(), create_addrmap_from_index(), create_cus_hash_table(), create_partial_symtab(), ctf_add_enum_member_cb(), ctf_add_var_cb(), dbx_end_psymtab(), define_symbol(), dump_msymbols(), dump_objfile(), dwarf2_build_psymtabs_hard(), dwarf2_read_debug_names(), dwarf2_read_gdb_index(), elf_read_minimal_symbols(), entry_point_address_query(), finalize_all_units(), find_main_name(), fixup_go_packaging(), buildsym_compunit::get_macro_table(), guess_full_die_structure_name(), init_entry_point_info(), minimal_symbol_reader::install(), intern(), iterate_over_minimal_symbols(), jit_object_close_impl(), lookup_minimal_symbol(), lookup_minimal_symbol_by_pc_name(), lookup_minimal_symbol_by_pc_section(), lookup_minimal_symbol_linkage(), lookup_minimal_symbol_text(), minimal_symbol_upper_bound(), msymbols(), new_psymtab(), new_symbol(), parse_partial_symbols(), print_objfile_statistics(), process_coff_symbol(), read_symbols(), minimal_symbol_reader::record_full(), set_objfile_main_name(), set_objfile_per_bfd(), start_psymtab(), xcoff_end_psymtab(), and xcoff_start_psymtab().
std::unique_ptr<objfile_per_bfd_storage> objfile::per_bfd_storage |
Definition at line 663 of file objfiles.h.
Referenced by set_objfile_per_bfd().
struct program_space* objfile::pspace |
Definition at line 641 of file objfiles.h.
Referenced by ada_tasks_new_objfile_observer(), annotate_source_line(), clear_dangling_display_expressions(), compare_msymbols(), compare_symbols(), disable_breakpoints_in_freed_objfile(), find_label_symbols(), find_method(), gdbscm_objfile_progspace(), jit_breakpoint_deleted(), jit_breakpoint_re_set_internal(), maintenance_print_symbol_cache(), minsym_found(), objfile_relocate1(), objfpy_get_progspace(), probes_table_htab_remove_objfile_probes(), probes_table_remove_objfile_probes(), psscm_pspace_smob_from_pspace(), psscm_scm_from_pspace(), remove_symbol_file_command(), search_minsyms_for_name(), select_source_symtab(), svr4_fetch_objfile_link_map(), symbol_to_sal(), symtab_free_objfile_observer(), and ~objfile().
std::forward_list<quick_symbol_functions_up> objfile::qf |
Definition at line 685 of file objfiles.h.
Referenced by dbx_symfile_read(), dump(), dwarf2_initialize_objfile(), elfctf_build_psymtabs(), has_partial_symbols(), maintenance_check_psymtabs(), maintenance_info_psymtabs(), maintenance_print_psymbols(), mdebug_build_psymtabs(), objfile_relocate1(), qf_require_partial_symbols(), require_partial_symbols(), reread_symbols(), syms_from_objfile_1(), and xcoff_initial_scan().
Definition at line 689 of file objfiles.h.
Referenced by reread_symbols().
int objfile::sect_index_bss = -1 |
Definition at line 713 of file objfiles.h.
Referenced by init_objfile_sect_indices(), parse_partial_symbols(), reread_symbols(), solib_aix_get_section_offsets(), symfile_find_segment_sections(), and xcoff_symfile_offsets().
int objfile::sect_index_data = -1 |
Definition at line 712 of file objfiles.h.
Referenced by cooked_index_functions::find_compunit_symtab_by_address(), init_objfile_sect_indices(), parse_partial_symbols(), read_dbx_symtab(), reread_symbols(), solib_aix_get_section_offsets(), symfile_find_segment_sections(), and xcoff_symfile_offsets().
int objfile::sect_index_rodata = -1 |
Definition at line 714 of file objfiles.h.
Referenced by init_objfile_sect_indices(), reread_symbols(), symfile_find_segment_sections(), and xcoff_symfile_offsets().
int objfile::sect_index_text = -1 |
Definition at line 711 of file objfiles.h.
Referenced by find_probe_by_pc(), init_objfile_sect_indices(), macho_symfile_offsets(), parse_partial_symbols(), reread_symbols(), solib_aix_get_section_offsets(), symfile_find_segment_sections(), and xcoff_symfile_offsets().
::section_offsets objfile::section_offsets |
Definition at line 699 of file objfiles.h.
Referenced by partial_symbol::address(), build_section_addr_info_from_objfile(), coff_symtab_read(), default_symfile_offsets(), dsbt_relocate_main_executable(), dump_msymbols(), dwarf2_frame_find_fde(), entry_point_address_query(), compunit_symtab::find_call_site(), fixup_section(), frv_relocate_main_executable(), get_msymbol_address(), remote_target::get_offsets(), init_objfile_sect_indices(), call_site_target::iterate_over_addresses(), macho_symfile_offsets(), mdebug_expand_psymtab(), objfile_rebase1(), objfile_relocate1(), call_site::pc(), process_coff_symbol(), process_xcoff_symbol(), read_ofile_symtab(), reread_symbols(), set_objfile_default_section_offset(), solib_aix_get_section_offsets(), svr4_relocate_main_executable(), syms_from_objfile_1(), minimal_symbol::value_address(), var_decode_location(), and xcoff_symfile_offsets().
struct obj_section* objfile::sections = nullptr |
Definition at line 725 of file objfiles.h.
Referenced by add_to_objfile_sections(), build_objfile_section_table(), dsbt_relocate_main_executable(), dump_msymbols(), fixup_section(), frv_relocate_main_executable(), macho_symfile_offsets(), maint_obj_section_from_bfd_section(), maint_print_all_sections(), general_symbol_info::obj_section(), objfile_relocate1(), reread_symbols(), solib_aix_get_section_offsets(), and xcoff_symfile_offsets().
struct obj_section* objfile::sections_end = nullptr |
Definition at line 726 of file objfiles.h.
Referenced by build_objfile_section_table(), find_extant_func_descr(), hppa64_convert_code_addr_to_fptr(), hppa_linux_find_global_pointer(), hppabsd_find_global_pointer(), ia64_find_global_pointer_from_dynamic_section(), maint_obj_section_from_bfd_section(), and xstormy16_find_jmp_table_entry().
struct objfile* objfile::separate_debug_objfile = nullptr |
Definition at line 738 of file objfiles.h.
Referenced by add_separate_debug_objfile(), elf_symfile_read_dwarf2(), filter_debuginfo_sections(), free_objfile_separate_debug(), matching_obj_sections(), separate_debug_iterator::operator++(), preferred_obj_section(), read_symbols(), sort_cmp(), symbol_file_add_with_addrs(), and ~objfile().
struct objfile* objfile::separate_debug_objfile_backlink = nullptr |
Definition at line 743 of file objfiles.h.
Referenced by add_separate_debug_objfile(), auto_load_objfile_script(), expr::check_objfile(), clear_dangling_display_expressions(), dwarf2_build_frame_info(), elf_read_minimal_symbols(), elf_rel_plt_read(), elf_symfile_read_dwarf2(), exp_uses_objfile(), find_solib_for_objfile(), gcore_create_callback(), gdbpy_lookup_objfile(), gdbscm_progspace_objfiles(), get_msymbol_address(), dtrace_static_probe_ops::get_probes(), stap_static_probe_ops::get_probes(), get_symbol_address(), handle_jit_event(), info_symbol_command(), lookup_global_symbol(), lookup_minimal_symbol(), lookup_minimal_symbol_by_pc_name(), lookup_minimal_symbol_text(), lookup_symbol_in_objfile_from_linkage_name(), matching_obj_sections(), objfile_find_memory_regions(), objfpy_get_owner(), open_and_init_dwp_file(), separate_debug_iterator::operator++(), preferred_obj_section(), read_symbols(), reread_symbols(), svr4_iterate_over_objfiles_in_search_order(), target_translate_tls_address(), thread_db_new_objfile(), varobj_invalidate_if_uses_objfile(), and ~objfile().
struct objfile* objfile::separate_debug_objfile_link = nullptr |
Definition at line 748 of file objfiles.h.
Referenced by add_separate_debug_objfile(), free_objfile_separate_debug(), separate_debug_iterator::operator++(), and ~objfile().
const struct sym_fns* objfile::sf = nullptr |
Definition at line 681 of file objfiles.h.
Referenced by collect_probes(), buildsym_compunit::end_compunit_symtab_with_blockvector(), find_probe_by_pc(), find_probes_in_objfile(), install_symfile_debug_logging(), psymbol_functions::lookup_global_symbol_language(), objfile_set_sym_fns(), parse_probes_in_pspace(), read_symbols(), reread_symbols(), symbol_file_add_with_addrs(), symfile_debug_installed(), symfile_relocate_debug_section(), syms_from_objfile_1(), uninstall_symfile_debug_logging(), and ~objfile().
bool objfile::skip_jit_symbol_lookup = false |
Definition at line 786 of file objfiles.h.
htab_up objfile::static_links |
Definition at line 772 of file objfiles.h.
Referenced by objfile_lookup_static_link(), objfile_register_static_link(), and reread_symbols().
struct symbol* objfile::template_symbols = nullptr |
Definition at line 759 of file objfiles.h.
Referenced by new_symbol(), objfile_relocate1(), and reread_symbols().