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]

[Bug libdw/22546] dwarf_aggregate_size() doesn't work for multi-dimensional arrays


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.

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