From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id ED98C3858C54; Thu, 26 Jan 2023 17:30:33 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org ED98C3858C54 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1674754233; bh=XFxLrHeKvycUz3ph7tPD+JeDe9fcg1abRseLZGHcUPg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=CYlcE0/aSRKJxeHxEtrjyKTPBgkY7A9O2MCOMZBNVrhCI19/guap1pxNgGLqThqZS 1GPZ7URf2PAQwBoYqFl/xmWjC8DG8wDGe/3k6CRTWdxRtnxfcp1DiX2tZ+XJB5AD5s RJ4I33U1y1vQlefgh0s0RPDdO78Oe9AM3obSqtsg= From: "mark at klomp dot org" To: elfutils-devel@sourceware.org Subject: [Bug libdw/30047] libdw unable to handle DW_TAG_unspecified_type Date: Thu, 26 Jan 2023 17:30:33 +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: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: mark at klomp dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_reconfirmed_on assigned_to bug_status everconfirmed attachments.created 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 ---------------------------------------------------------------------------- Last reconfirmed| |2023-01-26 Assignee|unassigned at sourceware dot org |mark at klomp dot o= rg Status|UNCONFIRMED |ASSIGNED Ever confirmed|0 |1 --- Comment #3 from Mark Wielaard --- Created attachment 14633 --> https://sourceware.org/bugzilla/attachment.cgi?id=3D14633&action=3Ded= it tests: Handle DW_TAG_unspecified_type in funcretval test This patch just fixes the testcase to check for DW_TAG_unspecified_type as return type. With your test binary tests/funcretval now prints: () _start: returns unspecified type () main: return value location: {0x50, 0} But maybe a better fix is for dwfl_module_return_value_location to return z= ero (which technically means that the function doesn't have a return value). Opinions? --=20 You are receiving this mail because: You are on the CC list for the bug.=