dwarves: Add label__name method
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
parent
570dd1ea55
commit
2791a55e95
|
@ -511,6 +511,12 @@ static inline struct label *tag__label(const struct tag *self)
|
||||||
return (struct label *)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 {
|
enum vlocation {
|
||||||
LOCATION_UNKNOWN,
|
LOCATION_UNKNOWN,
|
||||||
LOCATION_LOCAL,
|
LOCATION_LOCAL,
|
||||||
|
|
Loading…
Reference in New Issue