]> sourceware.org Git - libabigail.git/commit
Fix accidentally removing the scope of variables when fixing them up
authorDodji Seketeli <dodji@redhat.com>
Thu, 11 Dec 2014 10:32:09 +0000 (11:32 +0100)
committerDodji Seketeli <dodji@redhat.com>
Thu, 11 Dec 2014 10:39:31 +0000 (11:39 +0100)
commit04abbd1d44b092995e36e6d6337c98a0ed79d3cc
tree7d625bf747452066915c5963accebcc5f9378c64
parente8a0fbaeee9b896fdc7fda4f73f7e513ce972605
Fix accidentally removing the scope of variables when fixing them up

This is about bug
https://sourceware.org/bugzilla/show_bug.cgi?id=17652.  Some old DWARF
producers emit incomplete debug info for static data members.  We
currently detect this and fix the resulting constructed variables up.
During this fix up, it appears that we sometimes accidentally remove
the scope of some variables.  Fixed thus.

* src/abg-dwarf-reader.cc (build_translation_unit_and_add_to_ir):
During var decl fixup, remove the scope of a variable only when we
are sure that we want to re-scope it.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
src/abg-dwarf-reader.cc
This page took 0.032553 seconds and 5 git commands to generate.