[Bug libdw/28294] dwarf_aggregate_size fails on some array types
mark at klomp dot org
sourceware-bugzilla@sourceware.org
Mon Oct 18 11:39:18 GMT 2021
https://sourceware.org/bugzilla/show_bug.cgi?id=28294
--- Comment #4 from Mark Wielaard <mark at klomp dot org> ---
Pushed as:
commit c3a6a9dfc6ed0c24ab2d11b2d71f425b479575c9
Author: Mark Wielaard <mark@klomp.org>
Date: Wed Oct 6 22:41:29 2021 +0200
libdw: Use signedness of subrange type to determine array bounds
When calculating the array size check if the subrange has an associate
type, if it does then check the type to determine whether the upper
and lower values need to be interpreted as signed of unsigned
values. We default to signed because that is what the testcase
run-aggregate-size.sh testfile-size4 expects (this is an hardwritten
testcase, we could have chosen a different default).
https://sourceware.org/bugzilla/show_bug.cgi?id=28294
Signed-off-by: Mark Wielaard <mark@klomp.org>
Please reopen or file a new bug if this didn't fully resolve your issue.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Elfutils-devel
mailing list