mirror of
git://sourceware.org/git/libabigail.git
synced 2024-12-17 07:24:34 +00:00
Do not forget some member types/functions we built IR nodes for
* src/abg-dwarf-reader.cc (build_class_type_and_add_to_ir): Associate the member type IR node to the offset of the die of the member type. (build_ir_node_from_die): For a DW_TAG_subprogram DIE that has a DW_AT_specification pointing to another subprogram DIE, associate the offset of this DIE to the IR node of that other DIE. Signed-off-by: Dodji Seketeli <dodji@redhat.com>
This commit is contained in:
parent
82e83d9c5e
commit
fe698b14bb
@ -2380,6 +2380,7 @@ build_class_type_and_add_to_ir(read_context& ctxt,
|
||||
class_decl::member_type_sptr m =
|
||||
dynamic_pointer_cast<class_decl::member_type>(td);
|
||||
m->set_access_specifier(access);
|
||||
ctxt.die_decl_map()[dwarf_dieoffset(&child)] = m;
|
||||
}
|
||||
}
|
||||
} while (dwarf_siblingof(&child, &child) == 0);
|
||||
@ -3049,7 +3050,10 @@ build_ir_node_from_die(read_context& ctxt,
|
||||
scop.get(),
|
||||
called_from_public_decl);
|
||||
if (d)
|
||||
return d;
|
||||
{
|
||||
ctxt.die_decl_map()[dwarf_dieoffset(die)] = d;
|
||||
return d;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user