We forget to register member functions for lookup (by DWARF DIE
representation). So member functions are not correctly found (by
lookup) and thus are not properly de-duplicated or updated.
* src/abg-dwarf-reader.cc (add_or_update_class_type): Register
member functions for lookup by member function DIE representation.
Signed-off-by: Dodji Seketeli <dodji@redhat.com>
where_offset);
if (function_decl_sptr f = is_function_decl(r))
ctxt.associate_die_to_decl(&child, f, where_offset,
- /*associate_by_repr=*/false);
+ /*associate_by_repr=*/true);
}
// Handle member types
else if (die_is_type(&child))