On Fri, 23 Aug 2013 16:12:37 +0200, Mark Wielaard wrote:
Using dwarf_getlocation it is possible to get single location
descriptions and with dwarf_getlocation_addr it is possible to
get a location list covering a specific address. But sometimes
it is more convenient to get all ranges covered by a location
list.
Just I find that with dwarf_getlocations in place one could rebase
dwarf_getlocation on top of it. Although one would have to hack there
prevention of getlocation() for non-matching ranges. And hope gcc inlines it
all.
Otherwise it looks fine to me.
Thanks,
Jan