Fix access to alternate die -> decl map

* src/abg-dwarf-reader.cc (read_context::alternate_die_decl_map):
	Return the real alternate die decl map, rather than what we was
	doing previously b/c of a stupid copy/paste.  Oh well.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
This commit is contained in:
Dodji Seketeli 2014-08-26 14:28:42 +02:00
parent b13345fd86
commit 73ffa4f562

View File

@ -1501,7 +1501,7 @@ public:
/// @return the die -> decl map of the alternate debug info file.
const die_decl_map_type&
alternate_die_decl_map() const
{return die_decl_map_;}
{return alternate_die_decl_map_;}
/// Return the map that associates a decl to the DIE that represents
/// it. This if for DIEs that come from the alternate debug info file.
@ -1513,7 +1513,7 @@ public:
/// @return the die -> decl map of the alternate debug info file.
die_decl_map_type&
alternate_die_decl_map()
{return die_decl_map_;}
{return alternate_die_decl_map_;}
private:
/// Add an entry to the die->decl map for DIEs coming from the main