Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp3476156rwo; Mon, 24 Jul 2023 11:34:25 -0700 (PDT) X-Google-Smtp-Source: APBJJlG6AC8FPt9aW8M3Wvd4jpxI4ExcJMmCSfFVb3n964zA4F8fO/cF60HCvkD5xVCgW1eQ93HZ X-Received: by 2002:a17:907:2c68:b0:97e:aace:b6bc with SMTP id ib8-20020a1709072c6800b0097eaaceb6bcmr11366664ejc.53.1690223665342; Mon, 24 Jul 2023 11:34:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690223665; cv=none; d=google.com; s=arc-20160816; b=KSc6XLqMV4hX+2coWzuLBiFTLtxJMUwNe1/jJ821mMNYJwM+ioy7IJM1BQQIW0c4G8 oVWQV2SSNL3qlhypfrc+R0QJkqqVIPMQtJQLvscCgbywJMzk8OPiNWeH1q/6JGB+n/Ru BZRqoVpr2a9woHI2s2LQ0sdh8H1Hsh83AmiuKZ021kdpvu2ebqvXyYNZi1noF9cQUVZv 5Cq/cKIE4gjKvI/eNKq4qpuG59twpeivD4ZTwLodXZySj7NEMXDuL4Q6fRcvu+Ne09dz 5/OIbPiaCHQcxenNaNmIY1eM45DDMPEwtuxVSrr6rHdpcS4pEIFmYTMOcmiq1b3QrjKG 7tYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=uavkF6kQ6efGQuYX2n7rLSdCn0ELBpbDOl+v5UflRHk=; fh=FSu9atl9DWIe1aov4mIRT4R72uuRBdCpyNQUle5ZVW8=; b=vkTo7IJsFex1KGdpbtGLrIzO7ET1HhZmvQfD0kNXrW1nJRGy8Tpr6B/6BcKzLmamoD LrFP0Fh/iSZWlf6FUsHXDzhOxYdrnUl/KAzbzh4IX1CFgC5MOeCTqWS34ekhTPTOP5ba BX8z9I9whgxM6657DzCd0oMowiBkBHK4pvCwH0tsim1e/aOdeQQRQQSiBazTDAPheIp3 Qj4gEXpva0BHS5SdNnvkG3bH/aBOupfFDXU5xMsORPXzhIhUJAseEkoT5Xw5A4j90zZO T3GiWRdZ+QOQES+TkD2nj/4Jo/inTqz2feD3d/RI2zk7DJQNgwkQ+dWLOaqNrvp8U4Hf 5lrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OVpBWdFU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o9-20020a17090608c900b0099325282818si6873695eje.571.2023.07.24.11.34.00; Mon, 24 Jul 2023 11:34:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OVpBWdFU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231976AbjGXRth (ORCPT + 99 others); Mon, 24 Jul 2023 13:49:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45948 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231975AbjGXRtV (ORCPT ); Mon, 24 Jul 2023 13:49:21 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1BE49448C for ; Mon, 24 Jul 2023 10:46:10 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id CC81861381 for ; Mon, 24 Jul 2023 17:45:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EC384C433C9; Mon, 24 Jul 2023 17:45:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1690220722; bh=MuNKACAMApCcjb2hzOx6KGU1cfKOZz6a4OvLvRsWOfg=; h=From:To:Cc:Subject:Date:From; b=OVpBWdFUq1/9ApYyMZ3ZFRGlBW+dyZkhr8KU00dh5ayOBVZQfP0wjxJU+bOwP/tab yhROc4Hk6Ucgp1iA+PrX7/FBKHhWArCac2m8RFRyLwA5+bwBzFWUCtwK5UQsJIpD57 JXQ8B/sNKQ+M/T2cMaXxewXNILdL01gtCImk9wqxhB/JBaDqIAgzk7OqqqKpqZFrE1 eEEi9n0iRjO1jWOdNYPZNxtR6vnzIXCCMiaQCuHNEu4DaHxGd/9C0dzidDv3UKHEs4 ZET8/r7K9Lgb1tchjlQULve+J92+VJOUYH39I6r4sRk+QyTqmIIJ8k5YEpoYp1AYj+ ku1pDJ/SkdH4Q== From: Will Deacon To: linux-kernel@vger.kernel.org Cc: kernel-team@android.com, Will Deacon , Josh Poimboeuf , John Stultz Subject: [PATCH 0/2] Fix 'faddr2line' for LLVM arm64 builds Date: Mon, 24 Jul 2023 18:45:15 +0100 Message-Id: <20230724174517.15736-1-will@kernel.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Josh, We recently noticed that 'faddr2line' isn't working very well on arm64 Android kernels built with LLVM, so I've hacked up this pair of fixes which get it back into action. Please take a look! I suck at shell, so apologies in advance for the patches. Cheers, Will Cc: Josh Poimboeuf Cc: John Stultz --->8 Will Deacon (2): scripts/faddr2line: Ignore non-function symbols in readelf output scripts/faddr2line: Use LLVM addr2line and readelf if LLVM=1 scripts/faddr2line | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) -- 2.41.0.487.g6d72f3e995-goog