From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C0C0E385841A; Fri, 3 Dec 2021 09:38:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C0C0E385841A From: "mark at klomp dot org" To: libabigail@sourceware.org Subject: [Bug default/26591] detect pathologically redundant types in abixml Date: Fri, 03 Dec 2021 09:38:47 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: libabigail X-Bugzilla-Component: default X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: mark at klomp dot org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: dodji at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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: libabigail@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Mailing list of the Libabigail project List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Dec 2021 09:38:47 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D26591 Mark Wielaard changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mark at klomp dot org --- Comment #12 from Mark Wielaard --- (In reply to Matthias Maennich from comment #11) > We came across this as we were digging into an unrelated issue. >=20 > The duplicate types mentioned in comment 6 appear to correlate to > DW_AT_signature (part of DWARF 4 type units - see > https://dwarfstd.org/ShowIssue.php?issue=3D080930.1). The test files > that make use of this feature are: >=20 > tests/data/test-read-dwarf/test15-pr18892.so - GCC 4.9.2 > tests/data/test-read-dwarf/libtest23.so - GCC 4.8.5 > tests/data/test-read-dwarf/PR22122-libftdc.so - Clang 3.9.1 >=20 > abidw gets incomplete type information as a result. Is there a specific bug for handling debug_types? libdw should handle these just fine without the program even needing to know about the different section type. dwarf_formref_die () will return a Dwarf_= Die however the attribute refers to it (if it uses a signature then that gets looked up internally by libdw). --=20 You are receiving this mail because: You are on the CC list for the bug.=