From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8DFE33858D3C; Mon, 24 Jan 2022 17:29:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8DFE33858D3C From: "gprocida at google dot com" To: libabigail@sourceware.org Subject: [Bug default/26646] unexpectedly declaration-only types Date: Mon, 24 Jan 2022 17:29:08 +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: normal X-Bugzilla-Who: gprocida at google dot com X-Bugzilla-Status: UNCONFIRMED 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: 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: Mon, 24 Jan 2022 17:29:08 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D26646 --- Comment #11 from gprocida at google dot com --- Hi Dodji. Thanks for digging into this. I don't really have any tools for working with DWARF other than dwarfdump, grep etc. For vmlinux3, I see 1 declaration < 1><0x0000e14b> DW_TAG_structure_type DW_AT_name ip_mc_list DW_AT_declaration yes(1) and 13 definitions starting with this one < 1><0x00018293> DW_TAG_structure_type DW_AT_name ip_mc_list DW_AT_byte_size 0x00000090 Tracing back all 13 definitions to potential functions and variables was be= yond what I could achieve. If all 13 are indeed not reachable, that does explain what's going on. Note that I see identical 1 + 13 DIEs for vmlinux4 but there we *do* get a definition in the XML. Regards, Giuliano. --=20 You are receiving this mail because: You are on the CC list for the bug.=