Lines Matching refs:read_context

17 	(read_context::build_die_parent_relations_under): Do not try to
54 (read_context::symbol_already_belongs_to_a_function): Define new
56 (read_context::fixup_functions_with_no_symbols): Use the new
232 (read_context&::maybe_add_var_to_exported_decls): Don't add a
1527 * src/abg-reader.cc (read_context::m_wip_types_map): Remove data
1529 (read_context::{clear_wip_classes_map, mark_type_as_wip,
1531 (read_context::maybe_canonicalize_type): Remove use of
1584 (read_context::decl_only_enums_map_): Define new data member.
1585 (read_context::{declaration_only_enums,
1909 (read_context::get_die_source): Always initialize die_source.
1910 (read_context::ContainerType::get_container): Fix
1912 (read_context::compute_canonical_die): Likewise.
1913 (read_context::get_canonical_die): Likewise.
1914 (read_context::get_or_compute_canonical_die): Likewise.
1915 (read_context::associate_die_to_decl): Likewise.
1916 (read_context::set_canonical_die_offset): Likewise.
1917 (read_context::schedule_type_for_late_canonicalization): Likewise.
1918 (read_context::compare_dies): Likewise.
1919 (read_context::get_parent_die): Likewise.
1920 (read_context::get_scope_for_die): Likewise.
1921 (read_context::add_or_update_union_type): Likewise.
1922 (read_context::maybe_canonicalize_type): Likewise.
1923 (read_context::build_ir_node_from_die): Likewise.
1966 dwarf-reader: read_context: drop unused symbol versioning code
1968 (read_context::versym_section_): Delete.
1969 (read_context::verdef_section_): Delete.
1970 (read_context::verneed_section_): Delete.
1971 (read_context::symbol_versionning_sections_loaded_): Delete.
1972 (read_context::symbol_versionning_sections_found_): Delete.
1973 (read_context::initialize): Remove initializations of deleted members.
1974 (read_context::get_symbol_versionning_sections): Delete.
1975 (read_context::get_version_for_symbol): Delete.
1976 (read_context::lookup_elf_symbol_from_index): Use
1984 (read_context::bss_section_): Delete.
1985 (read_context::text_section_): Delete.
1986 (read_context::rodata_section_): Delete.
1987 (read_context::data_section_): Delete.
1988 (read_context::data1_section_): Delete.
1989 (read_context::initialize): Remove initializations of deleted members.
1990 (read_context::options): Delete.
1991 (read_context::bss_section): Delete.
1992 (read_context::text_section): Delete.
1993 (read_context::rodata_section): Delete.
1994 (read_context::data_section): Delete.
1995 (read_context::data1_section): Delete.
1996 (read_context::get_elf_file_type): Delete.
1997 (read_context::lookup_symbol_from_elf): Delete.
1998 (read_context::lookup_public_variable_symbol_from_elf): Delete.
1999 (read_context::fun_addr_sym_map_sptr): Delete.
2000 (read_context::fun_addr_sym_map): Delete.
2001 (read_context::get_data_section_for_variable_address): Delete.
2002 (read_context::suppression_matches_function_sym_name): Delete.
2003 (read_context::suppression_matches_function_name): Delete.
2004 (read_context::suppression_matches_type_name): Delete.
2304 * src/abg-dwarf-reader.cc (read_context::{compute_canonical_die,
2364 dwarf-reader: read_context: drop some unused accessor methods
2365 * src/abg-dwarf-reader.cc (read_context::fun_syms_sptr): Delete method.
2366 (read_context::fun_syms): Likewise.
2367 (read_context::var_syms_sptr): Likewise.
2368 (read_context::var_syms): Likewise.
2369 (read_context::undefined_fun_syms_sptr): Likewise.
2370 (read_context::undefined_fun_syms): Likewise. Both overloads.
2371 (read_context::undefined_var_syms_sptr): Likewise.
2372 (read_context::undefined_var_syms): Likewise. Both overloads.
2389 * src/abg-reader.cc (read_context::key_type_decl): Rely on
2823 * src/abg-dwarf-reader.cc (read_context::{opd_section_,
2828 (read_context::find_symbol_table_section):
2858 (read_context::function_symbol_is_exported): use is_linux_kernel
2860 (read_context::variable_is_exported): Likewise.
2861 (read_context::get_symtab_format): Likewise.
2862 (read_context::load_symbol_maps): Likewise.
2864 (read_context::is_linux_kernel_binary): Drop function.
2865 (read_context::is_linux_kernel_module): Drop function.
2978 (read_context::load_symbol_maps_from_symtab_section): simplify
2999 * src/abg-dwarf-reader.cc (class read_context): Add private
3004 read_context.
3006 * src/abg-reader.cc (read_context): Add private bool
4012 (read_context::corpus_is_suppressed_by_soname_or_filename): Define
4044 * src/abg-dwarf-reader.cc (read_context::suppression_can_match):
4049 * src/abg-reader.cc (read_context::suppression_can_match):
4123 (read_context::get_first_exported_fn_address_from_DW_AT_ranges):
4552 (read_context::m_tracking_non_reachable_types): Add new data
4554 (read_context::read_context): Initialize it.
4555 (read_context::tracking_non_reachable_types): Define accessors for
4597 dwarf_reader::read_context::show_unreachable_types property.
4610 dwarf_reader::read_context::show_unreachable_types property based
4665 (read_context::try_reading_first_ksymtab_entry): Add
4667 (read_context::get_ksymtab_entry_size): Add support for variable
4745 (read_context::is_elf_symbol_suppressed): Define new member functions.
4746 (read_context::{load_symbol_maps_from_symtab_section,
4815 (read_context::get_first_exported_fn_address_from_DW_AT_ranges):
4816 Rename read_context::get_first_address_from_DW_AT_ranges into
4820 (read_context::get_function_address): Adjust.
4826 (read_context::get_first_address_from_DW_AT_ranges): Define new
4828 (read_context::get_function_address): Use the new
4829 read_context::get_first_address_from_DW_AT_ranges here.
4938 (read_context::{get_ksymtab_format_module,
4959 (read_context::lookup_elf_symbol_from_index): Adjust calls to
4970 (read_context::{lookup_native_elf_symbol_from_index,
4973 (read_context::lookup_elf_symbol_from_index): Add a new overload.
4975 (read_context::{load_symbol_maps_from_symtab_section,
4980 (read_context::maybe_adjust_{fn, var}_sym_address): Do not adjust
4998 (read_context::get_ksymtab_format_module): Conditionalize the use
5021 (read_context::{ksymtab_reloc_section_,
5024 (read_context::read_context): Initialize ksymtab_reloc_section_,
5026 (read_context::{find_ksymtab_reloc_section,
5032 (read_context::load_kernel_symbol_table): Adjust to call either
5035 (read_context::get_ksymtab_format): Adjust to call
5037 (read_context::lookup_elf_symbol_from_index): Adjust.
5072 * src/abg-dwarf-reader.cc (read_context::die_is_in_cplus_plus):
5227 (read_context::canonicalize_types_scheduled): Add timing logs to
5263 (read_context::main_corpus_from_current_group): Use the
5484 (read_context::{get_canonical_die, lookup_artifact_from_die,
5608 * src/abg-dwarf-reader.cc (read_context::{die_is_in_c,
5624 (read_context::per_tu_repr_to_fn_type_maps_): Define new data
5626 (read_context::per_tu_repr_to_fn_type_maps): ... and its accessor.
5627 (read_context::{associate_die_repr_to_fn_type_per_tu,
5631 read_context::lookup_fn_type_from_die_repr_per_tu and
5632 read_context::associate_die_repr_to_fn_type_per_tu functions,
5633 instead of read_context::lookup_type_from_die.
5661 (read_context::get_container)
5662 (read_context::compute_canonical_die_offset)
5663 (read_context::get_or_compute_canonical_die)
5664 (read_context::get_die_source)
5665 (read_context::get_die_qualified_type_name)
5666 (read_context::get_die_pretty_representation)
5667 (read_context::get_die_language, read_context::odr_is_relevant)
5668 (read_context::set_canonical_die_offset)
5669 (read_context::associate_die_to_type, die_is_anonymous)
5901 * src/abg-reader.cc (read_context::maybe_canonicalize_type): Delay
5911 (read_context::find_any_ksymtab_section): Define new member
5913 (read_context::{get_symtab_format,
5916 (read_context::get_nb_ksymtab_entries): Handle the absence of
5918 (read_context::get_nb_ksymtab_gpl_entries): Handle the absence of
5920 (read_context::load_kernel_symbol_table): Handle the case of zero
5922 (read_context::{maybe_adjust_address_for_exec_or_dyn,
6181 (read_context::extra_types_to_canonicalize_): Add new data member.
6182 (read_context::{initialize, clear_types_to_canonicalize}): Adjust.
6183 (read_context::extra_types_to_canonicalize): Create new accessor.
6184 (read_context::schedule_type_for_late_canonicalization): Add new
6186 (read_context::perform_late_type_canonicalizing): Perform the
6189 (maybe_strip_qualification): Take a read_context&. Schedule newly
6192 maybe_strip_qualification to pass a read_context.
6263 (read_context::{try_reading_first_ksymtab_entry_using_pre_v4_19_format,
6266 (read_context::maybe_adjust_sym_address_from_v4_19_ksymtab): Make
6268 (read_context::get_ksymtab_format): Implement the new heuristic
6343 (read_context::{ksymtab_format_, ksymtab_entry_size_,
6346 (read_context::initiliaze): Initialize the new data members above.
6347 (read_context::{get_ksymtab_format, get_ksymtab_symbol_value_size,
6352 (read_context::load_kernel_symbol_table): Support loading from
6614 const read_context&.
7054 (read_context::debug_info_root_paths_): Define new data member.
7055 (read_context::read_context): Take a vector of debug info root
7056 dirs and initialize the new read_context::debug_info_root_paths_.
7057 (read_context::{initialize, create_default_dwfl}): Take a vector
7059 (read_context::{add_debug_info_root_paths,
7062 (read_context::load_debug_info): Look into the debug info roots
8602 (read_context::odr_is_relevant): Handle Ada.
9574 (read_context::canonical_type_die_offsets_): Renamed the
9576 (read_context::canonical_decl_die_offsets_): Renamed the
9578 (read_context::{initialize, compute_canonical_die_offset,
9585 Bug 22190 - crash in read_context::get_or_compute_canonical_die
9599 (read_context::{primary_die_parent_map_,
9602 (read_context::{die_parent_map, type_section_die_parent_map}):
9604 (read_context::{build_die_parent_relations_under,
9710 (read_context::elf_architecture_is_ppc64): Do not crash if the elf
9939 (read_context::resolve_declaration_only_classes): Use the new
10003 * src/abg-dwarf-reader.cc (read_context::{die_wip_classes_map,
10015 (read_context::{resolve_declaration_only_classes,
10227 (read_context::resolve_declaration_only_classes): Implement the
10303 Allow re-using the ELF/DWARF read_context when loading a corpus group
10306 * src/abg-dwarf-reader.cc (read_context::elf_paths_): Make this to
10308 (read_context::initialize): New function to initialize all data
10310 (read_context::read_context): Use the new read_context::initialize
10313 read_context so that it can be re-used to load a new corpus.
10404 (read_context::resolve_declaration_only_classes): Implement the
10482 Const-ify the read_context& parameter.
10483 (read_context::die_source_dependant_container_set::get_container):
10485 (read_context::{name_artefacts_map_, per_tu_name_artefacts_map_,
10489 (read_context::{die_decl_map, alternate_die_decl_map,
10500 (read_context::{decl_die_repr_die_offsets_maps_,
10504 (read_context::clear_per_translation_unit_data): Don't clear
10505 read_context::per_tu_name_artefacts_map_ data member as it's
10507 (read_context::clear_per_corpus_data): Don't clear
10508 read_context::name_artefacts_map_ and all the other relevant data
10510 (read_context::{dwarf_per_die_source,
10518 (read_context::associate_die_to_decl): Remove the
10520 read_context::{decl_die_artefact_maps_, get_canonical_die} member
10522 (read_context::lookup_decl_from_die_offset): Use Dwarf_Off rather
10525 (read_context::lookup_type_artifact_from_die): Const-ify. In one
10530 (read_context::odr_is_relevant): Add an overload that takes a DIE.
10531 (read_context::associate_die_to_type): Remove the
10534 (read_context::lookup_type_from_die): Use the new
10536 (read_context::lookup_type_from_die_offset): Use the new
10539 (read_context::schedule_type_for_late_canonicalization): Use the
10548 read_context::odr_is_relevant that takes a DIE. Adjust.
10616 * src/abg-reader.cc (read_context::m_corpus_group): New data
10618 (read_context::{get_corpus_group, set_corpus_group}): Define new
10858 (read_context::get_scope_for_node)
10868 * abg-dwarf-reader.cc (read_context::options_type): Define new
10871 (read_context::{bss, tesxt, rodata, data, data1}_section_): Add
10873 (read_context::{symbol_versionning_sections_loaded_,
10875 (read_context::corpus_group_): Likewise.
10876 (read_context::{load_in_linux_kernel_mode, load_all_types,
10878 (read_context::options_): ... this instance of the new
10879 read_context:options_type.
10880 (read_context::read_context): Adjust.
10881 (read_context::{clear_alt_debug_info_data, clear_per_corpus_data,
10885 (read_context::~read_context): Define destructor.
10886 (read_context::{options, bss_section, text_section,
10893 (read_context::get_die_qualified_type_name): Handle the name of
10895 (read_context::load_symbol_maps): Really don't load (linux kernel
10915 (read_context::maybe_adjust_var_sym_address): Adjust.
11092 * src/abg-dwarf-reader.cc (read_context::nil_scope_): Add new data
11094 (read_context::{global_scope, nil_scope}): Define new member functions.
11095 (read_context::build_die_parent_maps): Do not build the map if we
11904 (read_context::associate_die_to_artifact_by_repr_internal):
12074 (read_context::{ksymtab_section_, ksymtab_gpl_section_,
12078 (read_context::read_context): Initialize ksymtab_section_,
12080 (read_context::{find_symbol_table_section, find_opd_section,
12084 (read_context::{find_ksymtab_section, find_ksymtab_gpl_section,
12097 (read_context::read_int_from_array_of_bytes): Factorize this
12099 (read_context::{lookup_ppc64_elf_fn_entry_point_address}):
12101 (read_context::read_uint64_from_array_of_bytes): New function.
12103 (read_context::{fun_entry_addr_sym_map_sptr}): Try to load symbol
12105 (read_context::elf_architecture_is_big_endian): Fix logic.
12106 (read_context::{var_addr_sym_map}): Express the const variant in
12109 (read_context::load_symbol_maps_from_symtab_section): Renamed
12111 (read_context::is_linux_kernel_binary): Define new member
12113 (read_context::{function, variable}_symbol_is_exported): If we are
12120 (enum read_context::kernel_symbol_table_kind): New enum.
12121 (read_context::load_symbol_maps): Support loading linux kernel
12124 read_context::variable_symbol_is_exported.
12347 (read_context::per_tu_name_artefacts_map_): New data member.
12348 (read_context::clear_per_translation_unit_data): Clear the new
12349 read_context::per_tu_name_artefacts_map_.
12350 (read_context::associate_die_to_decl): Take a flag to say if we
12353 (read_context::lookup_{type_artifact, artifact}_from_die): Update
12355 (read_context::lookup_artifact_from_die_representation): Likewise.
12356 (read_context::{associate_die_to_artifact_by_repr,
12360 (read_context::lookup_{type_artifact, artifact}_from_die_per_tu):
12362 (read_context::{lookup_artifact_from_per_tu_die_representation,
12463 (read_context::resolve_declaration_only_classes)
12466 * src/abg-reader.cc (read_context::type_is_from_translation_unit):
12471 (read_context::sort_type): Add new overloads.
12565 read_context::build_or_get_type_decl rather than
12566 read_context::get_type_decl to build the naming typedef referred
12573 * src/abg-reader.cc (read_context::maybe_canonicalize_type):
12693 * abg-dwarf-reader.cc (read_context::find_opd_section): Fix
12695 (read_context::load_symbol_maps): If for a given function entry
12705 (read_context::address_is_in_opd_section): Define new member
13016 (class read_context::die_source_dependant_container_set): New
13018 (read_context::{die_qualified_name_maps_, die_pretty_repr_maps_,
13020 (read_context::{get_die_qualified_name, get_die_qualified_name,
13027 (read_context::lookup_type_from_die_offset): Fix comment.
13047 (read_context::associate_die_to_decl): Call
13049 (read_context::{associate_die_to_type,
13592 (read_context::{die_wip_classes_map_,
13595 (read_context::{lookup_type_from_die_offset, die_wip_classes_map,
13674 (read_context::read_property): Support reading a property with no
14046 (read_context::supprs_): New data member.
14047 (read_context::get_suppressions): New member function.
14048 (read_context::get_die_source): Make this const.
14049 (read_context::tu_die_imported_unit_points_map): Add a const
14051 (read_context::cur_transl_unit): Renamed current_translation_unit
14053 (read_context::cur_tu): Remove or rename into cur_transl_unit.
14058 (read_context::{suppression_can_match,
14069 read_context& parameter be const and adjust as required.
14078 read_context::cur_tu -> read_context::cur_transl_unit rename.
14084 (read_context::m_exported_decls_builder): Renamed
14086 (read_context::get_exported_decls_builder): Adjust.
14087 (read_context::get_cur_scope): Make this const.
14088 (read_location): Take a const read_context and adjust.
14092 (read_context::{m_path, m_supprs}): New data members.
14093 (read_context::{g,s}et_path): New member functions.
14094 (read_context::{get_suppressions,
14123 (main): Adjust. Release the memory used by read_context early.
14306 (read_context::{type_unit_die_decl_map_, type_unit_die_type_map_,
14312 (read_context::{get_die_source, associate_die_to_decl,
14319 (read_context::{lookup_decl_from_type_unit_die_offset,
14321 (read_context::build_die_parent_maps): Build a DIE -> parent map
14349 (read_context::primary_die_parent_map_): Renamed
14351 (read_context::clear_per_corpus_data): Use the new
14355 (read_context::{get_die_source, clear_die_type_maps,
14366 using the new read_context::get_die_source.
14369 (maybe_canonicalize_type, read_context::{associate_die_to_decl,
14379 (read_context::{tu_die_imported_unit_points_map}): Modified
14382 (read_context::build_die_parent_relations_under): Turn the
14385 (read_context::build_die_parent_maps): Turn the non-member
14642 * src/abg-reader.cc (read_context::push_decl_to_current_scope):
14655 * src/abg-reader.cc (read_context::{push_decl_to_current_scope,
14864 * src/abg-ini.cc (read_context::peek): Take an output parameter to
14867 (read_context::read_string): Accept all characters as part of the
15358 (read_context::alt_fd_): New data member.
15359 (read_context::read_context): Initialize the new alt_fd_ data
15361 (read_context::load_debug_info): Store the file descriptor used to
15363 (read_context::~read_context): New desctructor.
15366 (read_context::load_debug_info): Be paranoid in making sure we
15837 * src/abg-dwarf-reader.cc (read_context::load_symbol_maps): While
15973 * src/abg-dwarf-reader.cc (read_context::{opd_section_,
15975 (read_context::read_context): Initialize the new opd_section_ data
15977 (read_context::{find_opd_section,
15982 (read_context::lookup_elf_fn_symbol_from_address): Adjust to use
15983 the new read_context::fun_entry_addr_sym_map() function.
15984 (read_context::load_symbol_maps): Populate the function entry
15986 (read_context::load_elf_properties): Renamed
15987 read_context::load_remaining_elf_data into this.
16066 * src/abg-dwarf-reader.cc (read_context::{die_type_map,
16074 (read_context::{alternate_die_wip_classes_map_,
16076 (read_context::lookup_type_from_die_offset): Lookup WIP class and
16078 (read_context::{die_wip_classes_map, die_wip_function_types_map}):
16081 (read_context::{is_wip_class_die_offset,
16230 (read_context::die_function_with_no_symbol_map_): New data member.
16231 (read_context::die_function_decl_with_no_symbol_map): New
16233 (read_context::fixup_functions_with_no_symbols): New member
16235 (finish_member_function_reading): Take a read_context. Schedule
16605 * src/abg-dwarf-reader.cc (read_context::do_log_): New data
16607 (read_context::read_context): Initialize the new data member.
16608 (read_context::do_log): Define accessors.
16610 (read_context::canonicalize_types_scheduled)
17005 (read_context::lookup_elf_symbol_from_index): Adjust the creation
17007 (read_context::load_symbol_maps): Recognize instances of a given
17122 (read_context::{get_elf_file_type, address_is_in_section,
17124 (read_context::maybe_adjust_fn_sym_address): Adjust comment.
17126 read_context::get_data_section_for_variable_address().
17189 (read_context::alt_tu_die_imported_unit_points_map_): New data
17191 (read_context::alt_tu_die_imported_unit_points_map): New accessor.
17264 (read_context::tu_die_imported_unit_points_map_): New data member.
17265 (read_context::tu_die_imported_unit_points_map): New getter.
17269 overload that takes a read_context as a parameter.
17843 (read_context::die_wip_function_types_map_): New data member.
17844 (read_context::{die_wip_function_types_map,
17929 (read_context::lookup_elf_symbol_from_index): Set the size of the
18177 * src/abg-reader.cc (read_context::maybe_canonicalize_type):
18182 (read_context::build_or_get_type_decl): Canonicalize types here,
18248 (read_context::resolve_declaration_only_classes): Emit statistics
18622 * src/abg-reader.cc (read_context): Abort if we run into an
18979 * src/abg-reader.cc (read_context::is_wip_type): Make this
19012 * src/abg-reader.cc (read_context::get_type): Slight style
19111 (read_context::buf_): New data member.
19112 (read_context::{peek, get, put_back, good, eof, read_string,
19114 (read_context::read_next_char): Use the new read_context::{get,
19117 (read_context::{skip_white_spaces, skip_comments,
19122 Adjust to use the new member functions of read_context rather than
19124 (read_context::read_string_property_value): Likewise. Use the new
19125 read_context::read_string() method.
19126 (read_context::{read, write}_property): Support reading list_property.
19378 * src/abg-dwarf-reader.cc (read_context::{env_,
19380 (read_context::read_context): Initialize them.
19381 (read_context::clear_per_translation_unit_data): Do not touch the
19383 (read_context::{env, offline_callbacks}): New accessors.
19384 (read_context::{create_default_dwfl}): New member function.
19385 (read_context::dwfl_handle): Add a setter overload.
19412 * src/abg-reader.cc (read_context::m_env): New data member.
19413 (read_context::read_context): Initialize it.
19414 (read_context::{get_environment, set_environment}): New data
19515 (read_context::map_id_and_node): Map a type id to the last
19523 (read_context::get_all_type_decls): Define new member function.
19524 (read_context::types_equal): Use qualified names only if both
19526 (read_context::key_type_decl): Now a given ID is associated to
19550 * src/abg-reader.cc (read_context::maybe_canonicalize_type): Late
19733 * src/abg-reader.cc (class read_context): Move data member at
19736 (read_context::m_corp_node): New data member.
19737 (read_context::read_context): Initialize it.
19738 (read_context::{get,set}_corpus_node): New accessors.
19739 (read_context::map_id_and_node): Accept that a node id previously
19742 (read_context::get_translation_unit): Fix the logic.
19743 (read_context::m_wip_types_map): Rename
19744 read_context::m_wip_classes_map into this.
19745 (read_context::clear_wip_types_map): Rename
19746 read_context::clear_wip_classes into this.
19747 (read_context::mark_type_as_wip): Rename
19748 read_context::mark_class_as_wip into this.
19749 (read_context::unmark_type_as_wip): Rename
19750 read_context::unmark_type_as_wip into this.
19751 (read_context::is_wip_type): Rename read_context::is_wip_class
19753 (read_context::types_equal): New member function.
19754 (read_context::clear_per_translation_unit_data): Do not clear
19757 (read_context::clear_per_corpus_data): Clear here the previous
19759 (read_context::maybe_canonicalize_type): Add a new force_delay
19765 (read_context::type_id_new_in_translation_unit): Remove this
19777 (read_context::get_scope_for_node): If the scope is a new
19807 read_context::maybe_canonicalize_type() function rather than
19816 * src/abg-dwarf-reader.cc (read_context::decl_only_classes_map_):
19818 (read_context::{declaration_only_classes_to_force_defined,
19821 (read_context::resolve_declaration_only_classes): Do not force
20022 * src/abg-dwarf-reader.cc (read_context::die_type_map): Fix typo
20026 (read_context::perform_late_type_canonicalizing): Fix a type in
20053 * src/abg-reader.cc (read_context::maybe_canonicalize_type): Do
20108 (read_context::canonicalize_types_scheduled): Canonicalize all
20199 (read_context::resolve_declaration_only_classes): Accept that a
20264 (read_context::decl_only_classes_to_force_defined_map_): New data
20266 (read_context::declaration_only_classes_to_force_defined): New
20268 (read_context::schedule_declaration_only_class_for_forced_resolution):
20273 (read_context::resolve_declaration_only_classes): If
20416 * src/abg-reader.cc (read_context::get_scope_for_node): Take an
20420 (read_context::build_or_get_type_decl): Adjust to set the access
21341 (read_context::find_symbol_table_section): Allow returning a nil
21343 (read_context::lookup_elf_symbol_from_index): Return an empty elf
21345 (read_context::load_symbol_maps): If no symbol table is found then
22209 (read_context::lookup_elf_symbol_from_index): Likewise.
22210 (read_context::lookup_elf_fn_symbol_from_address): Likewise.
22211 (read_context::lookup_elf_var_symbol_from_address): Likewise.
22212 (read_context::lookup_public_function_symbol_from_elf): Likewise.
22213 (read_context::lookup_public_variable_symbol_from_elf): Likewise.
22214 (read_context::load_symbol_maps): Likewise.
22327 (read_context::{char_is_delimiter, char_is_property_value_char,
22331 (read_context::read_property_value): Return a property_value_sptr
22333 (read_context::{read_string_property_value,
22337 (read_context::read_property): Adjust return type. Also, change to read
22342 (read_context::read_section): Adjust.
22818 * src/abg-dwarf-reader.cc (read_context::load_all_types_): New
22820 (read_context::read_context): Initialize it.
22821 (read_context::canonical_types_scheduled): If some types still
22823 (read_context::load_all_types): New member functions.
22831 * src/abg-reader.cc (read_context::type_is_from_translation_unit):
23022 (read_context::resolve_declaration_only_classes): Lookup class
23028 * src/abg-reader.cc (read_context::read_context): Initialize the
23034 * src/abg-reader.cc (read_context::m_exported_decls_builder_): New
23036 (read_context::read_context): Initialize it.
23037 (read_context::{type_is_from_translation_unit,
23041 (read_context::clear_per_translation_unit_data): Clear id->xml
23043 (read_context::clear_per_corpus_data): ... not here.
23044 (read_context::walk_xml_node_to_map_type_ids): Only walk the
23194 (read_context::decl_only_classes_map_): New data member.
23195 (read_context::declaration_only_classes): New accessor.
23196 (read_context::{maybe_schedule_declaration_only_class_for_resolution,
23200 (read_context::clear_per_translation_unit_data): Do not clear the
23203 (read_context::clear_per_corpus_data): ... here instead.
23204 (read_context::build_translation_unit_and_add_to_ir): Do not
23207 call read_context::clear_per_corpus_data() and the new
23208 read_context::resolve_declaration_only_classes() here.
23223 (read_context::clear_per_translation_unit_data): Do not clear
23225 (read_context::clear_per_corpus_data): ... here instead.
23229 read_context::clear_per_corpus_data() here.
23514 * src/abg-dwarf-reader.cc (read_context::exported_decls_builder):
23516 (read_context::read_context): Initialize it.
23517 (read_context::{exported_decls_builder,
23614 (read_context::{canonicalize_types_scheduled,
23622 (read_context::schedule_type_for_late_canonicalization): Renamed
23623 read_context::schedule_type_for_canonicalization into this. Also,
23705 (read_context::die_type_map): New accessor for the two DIE->Type
23708 (read_context::{associate_die_to_type,
23711 (read_context::clear_per_translation_unit_data): Factorize this
23757 (read_context::{symtab_section_,
23761 (read_context::read_context): Initialize them.
23762 (read_context::{find_symbol_table_section,
23766 (read_context::lookup_elf_symbol_from_index): Use the new caching
23767 functions read_context::find_symbol_table_section and
23768 read_context::get_version_for_symbol.
23769 (read_context::load_symbol_maps): Likewise, use the new caching
23770 function read_context::find_symbol_table_section.
23860 (read_context::{die_type_map_, alternate_die_type_map_,
23863 (read_context::{associate_die_to_decl,
23865 (read_context::{associate_die_to_type,
23895 * src/abg-reader.cc (class read_context::{m_wip_classes_map,
23897 (read_context::{clear_types_to_canonicalize,
23902 (read_context::clear_per_translation_unit_data): Call
23903 read_context::clear_types_to_canonicalize().
23905 read_context::perform_late_type_canonicalizing() at the end of the
23935 (read_context::clear_per_translation_unit_data): Factorize this
23937 (read_context::read_translation_unit_from_input): ... this one.
24203 (read_context::::load_elf_architecture): Use the new
24602 (read_context::elf_architecture_): Define new data member.
24603 (read_context::elf_architecture): Define new accessor.
24604 (read_context::{load_elf_architecture, load_remaining_elf_data}):
25282 * src/abg-dwarf-reader.cc (read_context::{dt_needed_,
25284 (read_context::{dt_needed, dt_soname}): New accessors.
25285 (read_context::load_dt_soname_and_needed): New member function.
25287 read_context::load_dt_soname_and_needed() to read the dt_soname
25511 (read_context::{undefined_fun_syms_, undefined_var_syms_}): New
25513 (read_context::lookup_elf_symbol_from_index): Adjust for
25515 (read_context::{undefined_fun_syms_sptr, undefined_fun_syms,
25517 (read_context::load_symbol_maps): Add support for loading
25519 (read_context::maybe_load_symbol_maps): Take in account the need
26284 * src/abg-ini.cc (read_context::char_is_property_value_char): New
26286 (read_context::read_next_char): Fix typos. Allow escaping of '['
26288 (read_context::read_property_value): Use the new
26289 read_context::char_is_property_value_char above.
27834 * src/abg-dwarf-reader.cc (read_context::alternate_die_decl_map):
28020 (read_context::load_symbol_maps): Consider symbols of type
28024 (read_context::get_variable_address): If the address is for a tls
28073 * include/abg-dwarf-reader.h (class read_context)
28082 (read_context::{alt_dwarf_,
28085 (read_context::{alt_dwarf, alt_debug_info_path,
28092 (read_context::load_debug_info): Painfully Get a handle on the
28128 read_context.
28167 (read_context::elf_handle): Add comment.
28168 (read_context::{dwarf_elf_handle, dwarf_is_splitted,
28172 of read_context. Also, For shared libraries and executable (that
28176 (read_context::{get_function_address, get_variable_address):
28542 * src/abg-reader.cc (read_context::{g,s}et_corpus): Define these.
28556 (read_context::{fun_sym_addr_sym_index_map_,
28558 (read_context::{fun,var}_addr_sym_map_): New. Replace the above
28560 (read_context::{var,fun}_syms_): New.
28561 (read_context::lookup_elf_{fn,var}_symbol_from_address): Adjust.
28562 (read_context::{fun,var}_addr_sym_map{_sptr}): New.
28563 (read_context::{fun,var}_syms{_sptr}): New.
28564 (read_context::load_symbol_maps): Replace
28565 read_context::load_symbol_addr_to_index_maps. Adjust to load all
28567 (read_context::maybe_load_symbol_maps): New.
28686 * src/abg-dwarf-reader.cc (read_context::cur_tu_die_): New member.
28687 (read_context::read_context): Initialize the new member.
28688 (read_context::cur_tu_die): New accessors.
28810 (read_context::var_decls_to_add_): Renamed var_decls_to_add into
28812 (read_context::{fun, var}_sym_addr_sym_index_map_): New member.
28813 (read_context::{lookup_symbol_from_elf,
28819 (read_context::lookup_public_{variable,
29005 (read_context::elf_{module_, handle}_): New data members.
29006 (read_context::{elf_module, elf_handle}): New accessors.
29007 (read_context::load_debug_info): Store the elf module into
29008 read_context::_elf_module_. Adjust.
29009 (read_context::{lookup_symbol_from_elf,
31081 (read_context::var_decls_to_re_add_to_tree): New accessor.
31116 * src/abg-dwarf-reader.cc (read_context::cur_tu): Rename
31117 read_context::current_translation_unit into this.
31118 (read_context::current_scope, die_location)
31177 * src/abg-reader.cc (read_context::map_id_and_node): Allow
31548 * src/abg-reader.cc (read_context::map_id_and_node): Support
31671 * src/abg-reader.cc (read_context::m_decls_stack): Make this is a
31673 (read_context::{get_id_xml_node_map,
31679 (read_context::{get_cur_decl, push_decl, pop_decl}): Update this
31681 (read_context::clear_decls_stack): New.
31682 (read_context::get_translation_unit): Use the first decl of the
31685 (read_context::key_type_decl): Take a new flag to force the
31688 (read_context::push_and_key_type_decl): Assert that a type must
31814 (read_context::{pop_scope, pop_scope_or_abort): New.
31815 (read_context::{push_decl_to_current_scope,
31846 * src/abg-reader.cc (read_context::{get_cur_decl, pop_decl}): Return
31848 (read_context::push_decl): Take a decl_base_sptr rather than
31918 * src/abg-reader.cc (read_context::clear_type_map): New member
32263 * src/abg-dwarf-reader.cc (read_context::{dwarf_version,
32384 (read_context::{die_tu_map_, die_parent_map_}): New context
32386 (read_context::{die_tu_map, die_parent_map}): New accessors.
32394 read_context::die_tu_map() here.
32401 get_scope_for_die()). Update the read_context::die_decl_map()
32609 * src/abg-dwarf-reader.cc (read_context::dwarf_): New member.
32610 (read_context::load_debug_info): Move the content of
32612 (read_context::dwarf): New accessor for the dwarf_ member above.
32624 the new read_context::dwarf() getter. Adjust the call to
32629 and use its read_context::load_debug_info method to load the debug
35039 * src/abg-reader.cc (read_context::const_class_tmpl_map_it): New
35041 (read_context::get_fn_tmpl_decl): Fix comment.
35042 (read_context::{get_class_tmpl_decl,key_class_tmpl_decl})
35045 (read_context::m_class_tmpl_map): New member.
35158 * src/abg-reader.cc (read_context::push_decl_to_current_scope)
35159 (read_context::push_and_key_type_decl): Add an overload that takes
35167 parameter. Pass it do read_context::push_and_key_type_decl or
35168 read_context::push_decl_to_current_scope rather than call
35173 to read_context::push_decl_to_current_scope rather than call
35217 * src/abg-reader.cc (read_context::get_fn_tmpl_decl)
35218 (read_context::key_fn_tmpl_decl): New functions.
35219 (read_context::m_fn_tmpl_map): New data member.
35220 (read_context::key_type_decl): Renamed read_context::add_type_decl
35222 (read_context::push_decl_to_current_scope): Renamed
35223 read_context::finish_decl_creation into this. Add an assert.
35224 (read_context::push_and_key_type_decl): Renamed
35225 read_context::finish_type_decl_creation into this. Adjust to the
35344 (read_context::{get_type_decl,add_type_decl): Add comment.
35486 * src/abg-reader.cc (read_context::get_cur_scope): Now that we
35490 (read_context::get_translation_unit): New definition.
35491 (read_context::finish_decl_creation, finish_type_decl_creation):
35595 * src/abg-reader.cc (read_context::get_cur_scope): Return a naked
35679 * src/abg-reader.cc (read_context::finish_decl_creation)
35680 (read_context::finish_type_decl_creation)
35685 read_context::finish_type_decl_creation or
35686 read_context::finish_decl_creation.
35792 * src/abg-reader.cc (read_context::get_cur_scope): Remove useless
35796 (read_context::m_cur_scope, read_context::set_cur_scope): Remove
35817 * abg-reader.cc (read_context::get_cur_scope): Add a non-const
35862 * src/abg-reader.cc (read_context::{get_cur_decl,pop_decl}):