This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: [PATCH 2/2] Add C++ iterators
- From: Frank Ch. Eigler <fche at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Thu, 16 Apr 2015 10:07:30 -0400
- Subject: Re: [PATCH 2/2] Add C++ iterators
Hi -
On Thu, Apr 16, 2015 at 03:29:27PM +0200, Mark Wielaard wrote:
> [...] I have a small concern about the unit_iterator to make it
> "future proof". One of the suggestions for DWARFv5 is to merge the
> type units into .debug_info from the separate .debug_type
> section. [...]
Just a general comment about such configurability: it could be
expressed by flags set on the iterator, or alternate iterator-creation
functions (::begin_typerec() for a type-unit-recursive variant). Sort
of similar how in systemtap we have many variants of
parse-tree-visitor classes.
- FChE