dwarf_loader: DW_TAG_label can have DW_AT_abstract_origin

Do nothing for now, just to reduce the size of the upcoming
type recoding patch, aka dwarves undwarvification.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
Arnaldo Carvalho de Melo 2009-03-05 18:21:06 -03:00
parent d040419977
commit 2118fae5b0
2 changed files with 2 additions and 0 deletions

View File

@ -420,6 +420,7 @@ static struct label *label__new(Dwarf_Die *die)
if (self != NULL) {
tag__init(&self->tag, die);
self->name = strings__add(strings, attr_string(die, DW_AT_name));
self->abstract_origin = attr_type(die, DW_AT_abstract_origin);
if (dwarf_lowpc(die, &self->low_pc))
self->low_pc = 0;
}

View File

@ -505,6 +505,7 @@ struct label {
struct tag tag;
strings_t name;
Dwarf_Addr low_pc;
Dwarf_Off abstract_origin;
};
struct enumerator {