From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E13EB3858C53; Thu, 29 Feb 2024 22:54:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E13EB3858C53 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1709247247; bh=oeTg0zEv0YYfrkY+/HdrkaJQIkvc+RyDqZ1JqqcFkZ0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=iNb07LR5SLIhztmDRAYKI5uFNV0jbsyPD54ZFaytqx9Gkqpu0uXarOJO3WsBzxLGE Gq71tAutN0c1wAmR8Pl364eU44eaAQI8MnluiuPp0OGDSlW/LwteHf1BMKlAEg2+kl f8RNFJcserDBNmuggj5jCmJUHcFPjCKp7mLsGPNI= From: "amerey at redhat dot com" To: elfutils-devel@sourceware.org Subject: [Bug libdw/30948] src/stack doesn't show source inforamtion if the target is compiled with clang Date: Thu, 29 Feb 2024 22:54:05 +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: amerey at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc bug_status resolution 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=3D30948 Aaron Merey changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |amerey at redhat dot com Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #4 from Aaron Merey --- Fixed in the following commit: commit d7768acc697735cc7498ddc891a1065439ba1d6f Author: Aaron Merey Date: Mon Feb 26 09:58:39 2024 -0500 Add __libdw_getdieranges __libdw_getdieranges builds an aranges list by iterating over each CU and recording each address range. This function is an alternative to dwarf_getaranges. dwarf_getaranges attempts to read address ranges from .debug_aranges, which might be absent or incomplete. This patch replaces dwarf_getaranges with __libdw_getdieranges in dwarf_addrdie and dwfl_module_addrdie. The existing tests in run-getsrc-die.sh are also rerun with .debug_aranges removed from the testfiles. https://sourceware.org/bugzilla/show_bug.cgi?id=3D22288 https://sourceware.org/bugzilla/show_bug.cgi?id=3D30948 Signed-off-by: Aaron Merey --=20 You are receiving this mail because: You are on the CC list for the bug.=