libabigail/src
Dodji Seketeli d4e34afa9b Do not forget to associate DIE to the types they represent
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>
2015-02-20 12:39:41 +01:00
..
abg-comp-filter.cc Make strip_typedef() act on canonical types only 2015-02-19 11:44:11 +01:00
abg-comparison.cc Do not apply diff filters sub-tree not carrying changes 2015-02-18 21:32:37 +01:00
abg-config.cc Update copyright years 2015-01-07 17:52:10 +01:00
abg-corpus.cc Stop traversing function/variable node when added to symbol table 2015-02-18 21:32:38 +01:00
abg-diff-utils.cc Update copyright years 2015-01-07 17:52:10 +01:00
abg-dwarf-reader.cc Do not forget to associate DIE to the types they represent 2015-02-20 12:39:41 +01:00
abg-hash.cc Initial implementation of canonical type comparison in the IR 2015-02-09 17:01:48 +01:00
abg-ini.cc Update copyright years 2015-01-07 17:52:10 +01:00
abg-ir.cc Make strip_typedef() act on canonical types only 2015-02-19 11:44:11 +01:00
abg-libxml-utils.cc Update copyright years 2015-01-07 17:52:10 +01:00
abg-libzip-utils.cc Update copyright years 2015-01-07 17:52:10 +01:00
abg-reader.cc Canonicalize types either early or late after TU reading 2015-02-18 21:32:37 +01:00
abg-tools-utils.cc Expose a new libabigail::tools_utils namespace 2015-01-08 12:28:14 +01:00
abg-traverse.cc Update copyright years 2015-01-07 17:52:10 +01:00
abg-viz-common.cc Update copyright years 2015-01-07 17:52:10 +01:00
abg-viz-dot.cc Update copyright years 2015-01-07 17:52:10 +01:00
abg-viz-svg.cc Update copyright years 2015-01-07 17:52:10 +01:00
abg-writer.cc Update copyright years 2015-01-07 17:52:10 +01:00
Makefile.am Expose a new libabigail::tools_utils namespace 2015-01-08 12:28:14 +01:00