This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: 0.144
- From: Mark Wielaard <mjw at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Wed, 06 Jan 2010 18:46:43 +0100
- Subject: Re: 0.144
On Wed, 2010-01-06 at 04:44 -0800, Roland McGrath wrote:
> It turns out that an array_type with no size is a kosher enough thing.
> You're expected to look for the number of elements (really the stride) and
> multiply. For the general case that can be some hairy logic. So I added a
> new function dwarf_aggregate_size that does this for you. It should handle
> everything except the truly hairy cases where some of the sizes involved
> are not constants but given as expressions and such, which will probably
> always be outside of this sort of C interface in libdw.
Seems you forgot to add dwarf_aggregate_size.c to the git repository.
Could you add and push it?
Thanks,
Mark