maybe_canonicalize_type is too strict when given a non type. In that
case, it should just return, not abort.
* src/abg-dwarf-reader.cc (maybe_canonicalize_type): Don't abort
when trying to canonicalize a decl.
Signed-off-by: Dodji Seketeli <dodji@redhat.com>
size_t die_offset = dwarf_dieoffset(die);
type_base_sptr t = ctxt.lookup_type_from_die(die);
- assert(t);
+
+ if (!t)
+ return;
type_base_sptr peeled_type = peel_typedef_pointer_or_reference_type(t);
if (is_class_type(peeled_type)