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] Fix 22546: dwarf_aggregate_size() works with multi-dimensional arrays


On Mon, 2017-12-11 at 21:57 -0800, Dima Kogan wrote:
> If we have a multidimensional array of dimensions (a,b,c) the number of elements
> should be a*b*c, but prior to this patch dwarf_aggregate_size() would report
> a+b+c instead.
> 
> This patch fixes the bug and adds a test that demonstrates the bug (the test
> fails without the functional part of this patch).
> 
> Fixes: https://sourceware.org/bugzilla/show_bug.cgi?id=22546

Thanks. As said in the bug report, this looks good.
Pushed to master.

Cheers,

Mark


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