From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4AA8E3858401; Sat, 11 Sep 2021 23:39:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4AA8E3858401 From: "mark at klomp dot org" To: elfutils-devel@sourceware.org Subject: [Bug libdw/28294] dwarf_aggregate_size fails on some array types Date: Sat, 11 Sep 2021 23:39:12 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: elfutils X-Bugzilla-Component: libdw X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mark at klomp dot org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: mark at klomp dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc cf_reconfirmed_on everconfirmed assigned_to attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: elfutils-devel@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Elfutils-devel mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Sep 2021 23:39:12 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D28294 Mark Wielaard changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED CC| |mark at klomp dot org Last reconfirmed| |2021-09-11 Ever confirmed|0 |1 Assignee|unassigned at sourceware dot org |mark at klomp dot o= rg --- Comment #1 from Mark Wielaard --- Created attachment 13662 --> https://sourceware.org/bugzilla/attachment.cgi?id=3D13662&action=3Ded= it Use type of subrange (if any) to determine signedness of upper/lower values 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 sign= ed of unsigned values. We default to signed because that is what run-aggregate-size.sh testfile-size4 expects (but it is an hardwritten testcase, we can flip the default if that makes more sense). --=20 You are receiving this mail because: You are on the CC list for the bug.=