Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp1460340rdb; Mon, 2 Oct 2023 10:05:42 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFB/9gpe0BCaFpfMbzolqOb0c5zdzso5dG/+KlvBdmqpOMpxs7J2qkj7B5rHEawF8TYcPjL X-Received: by 2002:a05:6e02:16cc:b0:351:57d5:51c4 with SMTP id 12-20020a056e0216cc00b0035157d551c4mr15370350ilx.1.1696266342040; Mon, 02 Oct 2023 10:05:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696266342; cv=none; d=google.com; s=arc-20160816; b=fc2kyjarTxWbhilLbfzUagBXH5xdyK8odl+I1n/EzG35sCNwgcKTP8rcg8x/S41C6H 5iwPAaes7tLz9kDb1HMhA2SW0TsCDYLEDN2sa3E1CQV3+UmEtzFdI4H5AY8rPT9c7+J8 Cw/mgxfoSj+CP58EyjXnSwOa0g8ZeV6tAXUpNhMXr+jbh+HmGuGbsg2c90mnovi9ZdSO +t+K5StxArZ4OsUjC4D3c4ngA5LnCsAaX/JOZdVucVHn2GQyCyAQr7mi3Lqb39/d8aNJ LMendCEL6k/pSr/QWWGhv3WFqq8YXzAj+KrpHgPVr2haNIMBctQVgolJ2f5gP4Gk9hqO 8ZxQ== 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=FxacEiytRt8XwhqsgQ8SY9a9lALhs57So5Dcg4RNvE0=; fh=wjEl6BofP0c7WzG34c/USSQ7C1FfAme8r/K9vYTfZuw=; b=FEpe5yTHZ6rKjmZCpt0JB66SsDAfklU81ImU9XuNlUglZQ/HI3cH9ibLYa+2FGf2Iy e7O5GKYjpEgmKHVUi41/lqlp9kx0WqjbxPpiFO1gdIGRhsz3Waj642+ooaK01PeF0Y62 CvS5JlQ2f9xDvmnMa9eFknkpkHr0dG8lBNaqhfFGRqHSMbD4dJ/YKPd9qbIjel7+N1+S QL7yf2dWSLuIqjQVE/gurq5jLerIad/ax45U5PDm15TjKC1cmp/TzcEMPYxAxQ1G2vx0 Fp/0ciZPlt9kSo/PJwf4/mlLGT83zMCCpwMDPwCsOZ3/u9/RQW+wHFtIzsjaYvsQD153 +/3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=SW5WQvT8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id j2-20020a63e742000000b00584ca259597si16017422pgk.538.2023.10.02.10.05.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Oct 2023 10:05:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=SW5WQvT8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id CD43180D6A38; Mon, 2 Oct 2023 09:58:22 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236742AbjJBQ6C (ORCPT + 99 others); Mon, 2 Oct 2023 12:58:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51314 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238413AbjJBQ6A (ORCPT ); Mon, 2 Oct 2023 12:58:00 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB451D9; Mon, 2 Oct 2023 09:57:57 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8B14BC433C8; Mon, 2 Oct 2023 16:57:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696265877; bh=aChbnempkxcoiWrzh9EM6wKUX2YO3KC6v22o5SGsT+M=; h=From:To:Cc:Subject:Date:From; b=SW5WQvT8OhRvEd0clLUaOwZurg1clnffIB5fUH/lrRZ0ewqzunvOG6zhHrH95HJt+ RCEpHt/UoqamKKWBBbJaV0UtTL7EQ1zBGS4oj+2kQ5t/FU9bqfKKSpHoaqHUCm7p/X T1o7CxhDw17Edky8oV1jwkQXEWfCD6Dk9q6lovCqoqUIqz9Ls5f+TN5lu3re6tUCxO ug0twuiQzvBDuPaOcV8SXegZNHtqPNuFhjessk6ptVML2/Vpyy2PuUw5mYBI3IMy+d W3i5/ZIhMt3/SklQQTPa7LcDAKNUyB2hQ9EtmHxOnm7iPvB+Ul26QRqPdiAzrScuMV +DvSchqUuxb2Q== From: Will Deacon To: linux-kernel@vger.kernel.org Cc: kernel-team@android.com, Will Deacon , Masahiro Yamada , Nathan Chancellor , Nick Desaulniers , Nicolas Schier , Josh Poimboeuf , John Stultz , linux-kbuild@vger.kernel.org Subject: [PATCH v5 0/3] Fix 'faddr2line' for LLVM arm64 builds Date: Mon, 2 Oct 2023 17:57:46 +0100 Message-Id: <20231002165750.1661-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=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Mon, 02 Oct 2023 09:58:23 -0700 (PDT) Hello again. This is version five of the fadd2line fixes that I previously posted at: v1: https://lore.kernel.org/r/20230724174517.15736-1-will@kernel.org v2: https://lore.kernel.org/r/20230725211157.17031-1-will@kernel.org v3: https://lore.kernel.org/r/20230728113415.21067-1-will@kernel.org v4: https://lore.kernel.org/r/20230914131225.13415-1-will@kernel.org Changes since v4 include: * Simplify the is_mapping_symbol() regex to reflect the latest version of the C code. * Add Suggested-by and Reviewed-by tags to patch 1. Cheers, Will Cc: Masahiro Yamada Cc: Nathan Chancellor Cc: Nick Desaulniers Cc: Nicolas Schier Cc: Josh Poimboeuf Cc: John Stultz Cc: linux-kbuild@vger.kernel.org --->8 Will Deacon (3): scripts/faddr2line: Don't filter out non-function symbols from readelf scripts/faddr2line: Use LLVM addr2line and readelf if LLVM=1 scripts/faddr2line: Skip over mapping symbols in output from readelf scripts/faddr2line | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) -- 2.42.0.582.g8ccd20d70d-goog