From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 279383857806; Tue, 24 May 2022 00:18:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 279383857806 From: "dblaikie at gmail dot com" To: elfutils-devel@sourceware.org Subject: [Bug tools/22288] eu-addr2line doesn't find a rust file:line Date: Tue, 24 May 2022 00:18:14 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed 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: dblaikie at gmail dot com 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: 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 X-BeenThere: elfutils-devel@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Elfutils-devel mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 May 2022 00:18:14 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D22288 --- Comment #5 from David Blaikie --- Just a quick +1 to Comment #2 - consumers shouldn't rely on the presence of .debug_aranges, or them being complete (DWARF doesn't require/guarantee thi= s - and Clang doesn't emit aranges by default, for instance). Each contribution= to .debug_aranges says which CU it covers and any CUs not covered should be parsed/assumed to contain things covering other addresses. Ideally parsing CUs lightly (just enough to get their CU ranges) should be fairly cheap - cheap enough to be worth doing so to avoid/save producers ha= ving to emit all the extra/duplicate data into .debug_aranges that's already cov= ered by CU ranges. It'd be nice if Rust could revert/avoid emitting these aranges, like Clang does. --=20 You are receiving this mail because: You are on the CC list for the bug.=