Up until now, only function types pointed to by a pointer to function
was canonicalized. This patch also canonicalizes function types that
are used as types for function declarations.
* src/abg-dwarf-reader.cc (build_function_decl): Canonicalize
function types.
Signed-off-by: Dodji Seketeli <dodji@redhat.com>
{
function_type_sptr fn_type(build_function_type(ctxt, die, is_method,
where_offset));
+ maybe_canonicalize_type(dwarf_dieoffset(die), source, ctxt);
result.reset(is_method
? new class_decl::method_decl(fname, fn_type,