From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 5D0033858C74; Thu, 2 Nov 2023 13:30:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5D0033858C74 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1698931803; bh=Ez/B0ORYQ0s5BelPvHqgZxc2Oe5bcdnCUaS35HwVTTc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=IgZU5KbhS94OdmhJ5PJiI6cmhcSxkZKUm6/aPM7dT8E0+PdhzOazi0dmiDZsaY1zD unEk10dAcGJsVM7VwCdcwZdS2M9N3s1VtznmgfACisRLIsVVhkQP+yDkzXaLcpt9r6 MQQ4fCmb+6Gzek03+SwyHMt4DNEzAX28219LzanE= From: "mark at klomp dot org" To: elfutils-devel@sourceware.org Subject: [Bug libdw/28148] eu-addr2line reports function name of the caller when code is inlined Date: Thu, 02 Nov 2023 13:30:02 +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: unassigned at sourceware 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=3D28148 Mark Wielaard changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED --- Comment #2 from Mark Wielaard --- (In reply to Mark Wielaard from comment #1) > Is this still an issue? >=20 > With binutils addr2line 2.39 I get: >=20 > $ addr2line -f -e inlined-bug.elf 20400e10 > irq_disable > /home/john/src/RIOT/cpu/riscv_common/include/irq_arch.h:62 >=20 > And with eu-addr2line 0.189: >=20 > $ eu-addr2line -f -e inlined-bug.elf 20400e10 > irq_disable inlined at /home/john/src/RIOT/core/atomic_c11.c:212:1 in > __atomic_fetch_and_4 > /home/john/src/RIOT/cpu/riscv_common/include/irq_arch.h:62:5 >=20 > $ eu-addr2line -a --pretty-print -i -f -e inlined-bug.elf 20400e10 > 0x20400e10: irq_disable at > /home/john/src/RIOT/cpu/riscv_common/include/irq_arch.h:62:5 > (inlined by) __atomic_fetch_and_4 at > /home/john/src/RIOT/core/atomic_c11.c:212:1 Assuming this is now fixed. --=20 You are receiving this mail because: You are on the CC list for the bug.=