From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7C3983858C5E; Tue, 14 Feb 2023 15:34:24 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7C3983858C5E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1676388864; bh=axO9xZit9WiwChmYmASA5TwuLu0X5O81R/rD/dPBysQ=; h=From:To:Subject:Date:In-Reply-To:References:From; b=AUIv9Z88z84Ci7wuh1Aa5Twc+4VtWnurJzznpGkcyDQvrCSrA41V37F8N3Aq4jJfT wxYpA1LC2dI4t7vOsq2ZzWrGpR14A5ZLzmx20+gWfFgaHDdVK1IUM9oqgCgeNKiH21 f2A4vLTqF+mhGJ6By7aY46xDDugWxxEIXLfH5NQY= From: "mark at klomp dot org" To: elfutils-devel@sourceware.org Subject: [Bug libdw/30047] libdw unable to handle DW_TAG_unspecified_type Date: Tue, 14 Feb 2023 15:34:23 +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: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: mark at klomp dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution bug_status 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=3D30047 Mark Wielaard changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|ASSIGNED |RESOLVED --- Comment #8 from Mark Wielaard --- commit f2c522567ad63ac293535fba9704895e685ab5bc Author: Mark Wielaard Date: Thu Jan 26 18:19:15 2023 +0100 backends: Handle DW_TAG_unspecified_type in dwarf_peeled_die_type binutils 2.40 introduces DW_TAG_unspecified_type for assembly functions with an unknown return type. This breaks the run-funcretval.sh testcase because dwfl_module_return_value_location returns an error for such functions because it cannot determine the return value location. Fix that by treating DW_TAG_unspecified_type as if the DIE doesn't have a DW_AT_type. Also update the testcase to explicitly checking for DW_TAG_unspecified_type and printing "returns unspecified type". https://sourceware.org/bugzilla/show_bug.cgi?id=3D30047 Signed-off-by: Mark Wielaard --=20 You are receiving this mail because: You are on the CC list for the bug.=