[Bug libdw/22546] dwarf_aggregate_size() doesn't work for multi-dimensional arrays
mark at klomp dot org
sourceware-bugzilla@sourceware.org
Mon Dec 11 22:55:00 GMT 2017
https://sourceware.org/bugzilla/show_bug.cgi?id=22546
--- Comment #6 from Mark Wielaard <mark at klomp dot org> ---
I believe your fix is correct. And we really do want to calculate the stride
only once based on the array element type, not for each dimension. I am not
sure what the original code tried to do. It probably just was never tested
against multi-dimensional arrays. So the testcase addition is great too.
Would you mind sending a complete patch plus the testcase addition to the
mailinglist as describe in the CONTRIBUTING document?
https://sourceware.org/git/?p=elfutils.git;a=blob_plain;f=CONTRIBUTING;hb=HEAD
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Elfutils-devel
mailing list