From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 456633857012; Thu, 26 Oct 2023 15:46:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 456633857012 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1698335179; bh=nJ1IO6pdrEJ79b7842tcMzv10txoO3v7zF8jskR74vY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=LHIpRZawkKADqMDBH6Y4+euD5lI0Jh8Mukfln5m2MDuU+WB9TPwDu+PQ+lEheRkfL /zaCRKpqnSEUGYYbUFtU42mQ33RfuQYk+5PlWa+UEcn1noYFImYjgY0LaWhx0qGijr hTsldA+dac+cJ1xk3C9ZGHFsj7kEZvXQ2NZAa8kI= From: "mark at klomp dot org" To: elfutils-devel@sourceware.org Subject: [Bug libdw/30967] Discriminator in Dwarf_Line_s may exceed 24 bits Date: Thu, 26 Oct 2023 15:46:19 +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: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30967 --- Comment #10 from Mark Wielaard --- (In reply to Frank Ch. Eigler from comment #7) > > So my preferred workaround: >=20 > appears to be based on the assumption that truncated bitfields will not > collide. Has this assumption been tested? Most of the values used as discriminators in the test file are unique when truncated to their 24bit value. Note that the values only need to be unique= per source line. I haven't tested that they are. But this is already much better than rejecting the whole line table. And all this only really matters for something actually using the discriminator (worst case some instructions are grouped together). --=20 You are receiving this mail because: You are on the CC list for the bug.=