]> sourceware.org Git - libabigail.git/commitdiff
dwarf-reader: Fix a thinko when building vars
authorDodji Seketeli <dodji@redhat.com>
Thu, 14 Jul 2022 14:00:34 +0000 (16:00 +0200)
committerDodji Seketeli <dodji@redhat.com>
Thu, 14 Jul 2022 14:15:22 +0000 (16:15 +0200)
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

index 0328079d85139e3be0a0d142e9b16d0de4b1776f..02fedbe1ee08e3b1802c2d51fb2615f47f681859 100644 (file)
@@ -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;
                  }
              }
          }
This page took 0.047664 seconds and 5 git commands to generate.