From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gnu.wildebeest.org (gnu.wildebeest.org [45.83.234.184]) by sourceware.org (Postfix) with ESMTPS id D01413857351 for ; Mon, 8 May 2023 20:06:25 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D01413857351 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=klomp.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=klomp.org Received: by gnu.wildebeest.org (Postfix, from userid 1000) id 9D43E30008BB; Mon, 8 May 2023 22:06:24 +0200 (CEST) Date: Mon, 8 May 2023 22:06:24 +0200 From: Mark Wielaard To: Youling Tang Cc: elfutils-devel@sourceware.org, Hengqi Chen , Liwei Ge Subject: Re: [PATCH 4/5] backends: Add frame pointer unwinding for LoongArch Message-ID: <20230508200624.GG11475@gnu.wildebeest.org> References: <1680836368-5373-1-git-send-email-tangyouling@loongson.cn> <1680836368-5373-5-git-send-email-tangyouling@loongson.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1680836368-5373-5-git-send-email-tangyouling@loongson.cn> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Status: No, score=-3030.2 required=5.0 tests=BAYES_00,JMQ_SPF_NEUTRAL,KAM_DMARC_STATUS,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Fri, Apr 07, 2023 at 10:59:27AM +0800, Youling Tang wrote: > If we don't find any debug information for a given frame, we usually > cannot unwind any further. However, the binary in question might have > been compiled with frame pointers, in which case we can look up the > well known frame pointer locations in the stack snapshot and use them > to bridge the frames without debug information. Looks useful and correct. Thanks, Mark