This is the mail archive of the
mailing list for the elfutils project.
Re: [PATCH] libdw: Add new function dwarf_getlocations.
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Mon, 02 Sep 2013 20:59:16 +0200
- Subject: Re: [PATCH] libdw: Add new function dwarf_getlocations.
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
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
Otherwise it looks fine to me.