From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id AF1743858D33; Wed, 16 Aug 2023 18:50:09 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AF1743858D33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1692211809; bh=BeJ/VHK3WWD1QG1q2Yv7WkKSbTU70rA5yAkJPLSTuas=; h=From:To:Subject:Date:From; b=d/i/QceG3/9wtRIntN359eHyyES1xNjk0U6nHjqly9Z9DtjCWEk1aXcSRySlC7yRi NMp/FNvOfwb0jN9zc8udA9Wz00E+uiU633c+DfxBsk8fKOA/6DmB7AqIYxDuW4C2Ek MH1hhlJ7XuX0XSJhReZckv2G52tokT9+BxeK1Qrw= From: "tromey at sourceware dot org" To: elfutils-devel@sourceware.org Subject: [Bug tools/30772] New: dwarflint checking for specification recursion Date: Wed, 16 Aug 2023 18:50:09 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: elfutils X-Bugzilla-Component: tools X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tromey at sourceware dot org X-Bugzilla-Status: NEW 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: 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=3D30772 Bug ID: 30772 Summary: dwarflint checking for specification recursion Product: elfutils Version: unspecified Status: NEW Severity: normal Priority: P2 Component: tools Assignee: unassigned at sourceware dot org Reporter: tromey at sourceware dot org CC: elfutils-devel at sourceware dot org Target Milestone: --- This idea comes from this thread: https://sourceware.org/pipermail/gdb-patches/2023-August/201655.html The idea is that if a DIE refers to itself via a chain of DW_AT_specification (or the other ways a DIE can refer to another), then dwarflint ought to warn, as recursion like this is never valid. --=20 You are receiving this mail because: You are on the CC list for the bug.=