From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 00FA43858401; Wed, 1 Dec 2021 10:19:22 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 00FA43858401 From: "maennich at android dot com" To: libabigail@sourceware.org Subject: [Bug default/26591] detect pathologically redundant types in abixml Date: Wed, 01 Dec 2021 10:19:22 +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: maennich at android dot com 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: Wed, 01 Dec 2021 10:19:23 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D26591 Matthias Maennich changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |maennich at android dot com --- Comment #11 from Matthias Maennich --- Hi Dodji, We came across this as we were digging into an unrelated issue. 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: 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 abidw gets incomplete type information as a result. LLVM added support to LLDB's DWARF parser here: https://reviews.llvm.org/D62246. The feature doesn't currently appear in Android binaries (kernel or framewo= rk libraries). Both GCC and Clang appear to require -fdebug-types-section to enable this feature. At least it should be straightforward doing with / without comparisons. --=20 You are receiving this mail because: You are on the CC list for the bug.=