This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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
> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]