mirror of
git://sourceware.org/git/libabigail.git
synced 2025-02-01 14:21:37 +00:00
Ignore variables which type couldn't be read from DWARF
* src/abg-dwarf-reader.cc (build_var_decl): Drop the var on the floor if its type couldn't be built. Signed-off-by: Dodji Seketeli <dodji@redhat.com>
This commit is contained in:
parent
d08e5181f2
commit
edb50beeed
@ -5502,6 +5502,9 @@ build_var_decl(read_context& ctxt,
|
||||
assert(type);
|
||||
}
|
||||
|
||||
if (!type)
|
||||
return result;
|
||||
|
||||
string name, linkage_name;
|
||||
location loc;
|
||||
die_loc_and_name(ctxt, die, loc, name, linkage_name);
|
||||
|
Loading…
Reference in New Issue
Block a user