mirror of
git://sourceware.org/git/libabigail.git
synced 2024-12-17 07:24:34 +00:00
5be46a9615
* include/abg-ir.h (translation_unit::{mark_type_as_used, prune_unused_types}): Remove these declarations. * src/abg-ir.cc (translation_unit::priv::used_types_): Remove. (class subtype_marking_visitor): Likewise. (translation_unit::{mark_type_as_used, prune_unused_types): Likewise. (get_top_most_scope_under): Fix logic and add comment. * src/abg-dwarf-reader.cc (die_tu_map_type, offset_offset_map): New convenience typedefs. (read_context::{die_tu_map_, die_parent_map_}): New context members. (read_context::{die_tu_map, die_parent_map}): New accessors. (build_ir_node_from_die): New overload that takes the scope of the ir node in parameter. (die_signed_constant_attribute): Un-comment this. (build_die_parent_relations_under, build_die_parent_map) (get_parent_die, get_scope_for_die): New static functions. (build_translation_unit_and_add_to_ir): Renamed build_translation_unit into this. Populate the new read_context::die_tu_map() here. (canonicalize_and_add_type_to_ir) (canonicalize_and_insert_type_into_ir) (canonicalize_and_insert_type_into_ir_under_scope): Move these overloads over the top of the file. (build_namespace_decl_and_add_to_ir): Fix this by adding the namespace to the IR scope of the DIE (using the new get_scope_for_die()). Update the read_context::die_decl_map() map. (build_function_decl): Support functions that return void. Also, skip parameters that don't have type set. (build_corpus): Walk all the DIEs to build a DIE -> parent map. Adjust for the rename to build_translation_unit_and_add_to_ir. (build_ir_node_from_die): Add a scope parm. Adjust back to building IR nodes only for public decls, unless the 'called_from_public_decl' flag is set. Adjust to stick the resulting IR node into the scope given in parameter. Signed-off-by: Dodji Seketeli <dodji@redhat.com> |
||
---|---|---|
.. | ||
abg-comparison.h | ||
abg-config.h | ||
abg-corpus.h | ||
abg-diff-utils.h | ||
abg-dwarf-reader.h | ||
abg-fwd.h | ||
abg-hash.h | ||
abg-ir.h | ||
abg-libxml-utils.h | ||
abg-libzip-utils.h | ||
abg-reader.h | ||
abg-traverse.h | ||
abg-version.h.in | ||
abg-viz-common.h | ||
abg-viz-dot.h | ||
abg-viz-svg.h | ||
abg-writer.h | ||
Makefile.am |