From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3D75EC0015E for ; Mon, 24 Jul 2023 17:49:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231993AbjGXRti (ORCPT ); Mon, 24 Jul 2023 13:49:38 -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 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