mirror of
git://sourceware.org/git/libabigail.git
synced 2025-01-02 07:22:05 +00:00
d4e34afa9b
There are cases where we forget to associate some DIEs to the types they represent. I have seen this while comparing libstdc++ from RHEL 6.5 and RHEL 7. This patch moves the DIE->type association to the build_* functions that actually creates the types, as opposed to doing it in the callers of these build_* functions. * src/abg-dwarf-reader.cc (build_type_decl, build_enum_type) (build_qualified_type, build_pointer_type_def) (build_reference_type, build_typedef_type) (build_class_type_and_add_to_ir): Take a new flag that says if the DIE is from the alternate debug info section or not. Perform the DIE->type association in these functions. Note that in build_class_type_and_add_to_ir we are now doing the DIE->type association even for declaration-only classes. And for member types, do not bother doing the association because it's already been done by build_ir_node_from_die(). (build_ir_node_from_die): Do not do the DIE->type association here anymore. Adjust to the new signature of the build_* functions above that actually build the types. Signed-off-by: Dodji Seketeli <dodji@redhat.com> |
||
---|---|---|
.. | ||
abg-comp-filter.cc | ||
abg-comparison.cc | ||
abg-config.cc | ||
abg-corpus.cc | ||
abg-diff-utils.cc | ||
abg-dwarf-reader.cc | ||
abg-hash.cc | ||
abg-ini.cc | ||
abg-ir.cc | ||
abg-libxml-utils.cc | ||
abg-libzip-utils.cc | ||
abg-reader.cc | ||
abg-tools-utils.cc | ||
abg-traverse.cc | ||
abg-viz-common.cc | ||
abg-viz-dot.cc | ||
abg-viz-svg.cc | ||
abg-writer.cc | ||
Makefile.am |