dwarves: Add label__name method

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
Arnaldo Carvalho de Melo 2009-06-08 14:19:23 -03:00
parent 570dd1ea55
commit 2791a55e95
1 changed files with 6 additions and 0 deletions

View File

@ -511,6 +511,12 @@ static inline struct label *tag__label(const struct tag *self)
return (struct label *)self;
}
static inline const char *label__name(const struct label *self,
const struct cu *cu)
{
return cu__string(cu, self->name);
}
enum vlocation {
LOCATION_UNKNOWN,
LOCATION_LOCAL,