dwarves: Introduce function__addr method
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
parent
2791a55e95
commit
e39c0b0998
|
@ -688,6 +688,11 @@ size_t function__fprintf_stats(const struct tag *tag_self,
|
|||
const char *function__prototype(const struct function *self,
|
||||
const struct cu *cu, char *bf, size_t len);
|
||||
|
||||
static __pure inline function__addr(const struct function *self)
|
||||
{
|
||||
return self->lexblock.ip.addr;
|
||||
}
|
||||
|
||||
static __pure inline uint32_t function__size(const struct function *self)
|
||||
{
|
||||
return self->lexblock.size;
|
||||
|
|
Loading…
Reference in New Issue