* [PATCH, applied] dwarf-reader: Fix a thinko when building vars
@ 2022-07-14 14:16 Dodji Seketeli
0 siblings, 0 replies; only message in thread
From: Dodji Seketeli @ 2022-07-14 14:16 UTC (permalink / raw)
To: libabigail
Hello,
While looking at something else, I noticed that we were getting out
early when building the IR for vars. Fixed thus.
* src/abg-dwarf-reader.cc (build_ir_node_from_die): Don't get out
early when building vars.
Signed-off-by: Dodji Seketeli <dodji@redhat.com>
---
src/abg-dwarf-reader.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/abg-dwarf-reader.cc b/src/abg-dwarf-reader.cc
index 0328079d..02fedbe1 100644
--- a/src/abg-dwarf-reader.cc
+++ b/src/abg-dwarf-reader.cc
@@ -15831,7 +15831,7 @@ build_ir_node_from_die(read_context& ctxt,
}
ABG_ASSERT(m->get_scope());
ctxt.maybe_add_var_to_exported_decls(m.get());
- return m;
+ result = m;
}
}
}
--
2.36.1
--
Dodji
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-07-14 14:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-14 14:16 [PATCH, applied] dwarf-reader: Fix a thinko when building vars Dodji Seketeli
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).