Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp3903278rdb; Thu, 14 Sep 2023 06:22:37 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHItdaJ+Kb5HJjDedpVscIUDJ4AisLqzgTV3zow6xPvm8ODS+NACitBqc3uMuK6lPyxMjXI X-Received: by 2002:a17:90a:1506:b0:274:7de5:10c7 with SMTP id l6-20020a17090a150600b002747de510c7mr1383202pja.11.1694697757048; Thu, 14 Sep 2023 06:22:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694697757; cv=none; d=google.com; s=arc-20160816; b=kvNm0zpe4tyKU8CQjshQMeR/pSqFcs6GkVXmoDMuiJH9jDxL7syl/6bTi/fTvvWuah dz3cd+wpnBm6m8/EFhkME4bL2Kbp+M3UKMG5neyTLqV0XdDplvfq3dz+ajo0xobjcirz E4MQjyIpiRwQpgJEZoHfBkwartsqYOa4bPJQcHlW0YIUjCjzMIHWfNzq1hVrhYIaI+OO zl/6cjjLVeiuI/7/CPG+K72OJIU7kp8iN7bizFDKggh4pfJyQ6Ukil9vBf2kNzQMluV/ do+AtVwU4PYutI0Uz8PFMOtEBG0dhNuMD35omXUQ2Skp1LDDVInbxi8wknNTy5SnyfKR V1NA== 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=u2v37JNVcW0Z8G9R4/IsHdfHeHOkYfNK4BtcI5MCw08=; fh=wjEl6BofP0c7WzG34c/USSQ7C1FfAme8r/K9vYTfZuw=; b=ndGkiCzbzJsc1bEKS52xhndqkx5cbkIKnsE76lOU+UlHST1qQZvp6eEQMh46EvK621 2O/mwccuMLSASWlqXEQ+vb8daDCDF3xbm7eKh/pSOhBQia5oxgNe8nqOCPAcHMneuT3a W7lx+PmFWfhysEP9aDUF5s6lvG32hXSWuqyPBx1lVjH8Miv0iWNx7jWxs/qqsqzkRl7P RlcWXAnvRWMCAXygqx1gfAsm/XP5MYkFaTeF+4n14z1q2gpntUBZJ1SZQKHiTEMXRZfd SOEjarA0IOYqB1/7x47vZm9/b2HJIeaOxfKdqrkIE/sWzuIjgq3Xzv4CD748hgyyxr/W xGfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mCVDV+GD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id i23-20020a17090acf9700b0026b502223cbsi1679403pju.10.2023.09.14.06.22.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 06:22:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mCVDV+GD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (Postfix) with ESMTP id 2E7288258C98; Thu, 14 Sep 2023 06:13:00 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238623AbjINNMj (ORCPT + 99 others); Thu, 14 Sep 2023 09:12:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36968 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238825AbjINNMi (ORCPT ); Thu, 14 Sep 2023 09:12:38 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8F8931FE0; Thu, 14 Sep 2023 06:12:32 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 08064C433C9; Thu, 14 Sep 2023 13:12:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1694697152; bh=Kh9pU/xf+VGPc4ooL6xm3VqJZN3l4jNcBSstCB+238k=; h=From:To:Cc:Subject:Date:From; b=mCVDV+GD+8nvp5pITa6SeYr4XF5qno/5NReU62xueIFEo+GTc7tstKSCKz+8wsTfH 1jt07kDpuXXhx1pHrQVd0yJPnuu/C5Dmsny9Xg+Uk3QS8m4ObNaitOGiVTrCCbUEOZ 1o4xQ5v6fYrEY8RXNZH6N2onC5AeqGAMES4WucwtvIWBhngLIyN7Wy0IKyXWZ93wab p875ryf7KuAE8RcVOuGDi5P6qZ89K1TW90m2uBOBlIPCb2NAA6XMkPxlQIk9WTQiDH 57DJbNxSLeEaBdGJzpu4UqxOBt7/HtIDhELLrNKnbzfwvtxMnusK6wdKg2hXhNUrkp 7J79NBrT0Risg== 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 v4 0/3] Fix 'faddr2line' for LLVM arm64 builds Date: Thu, 14 Sep 2023 14:12:22 +0100 Message-Id: <20230914131225.13415-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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Thu, 14 Sep 2023 06:13:00 -0700 (PDT) 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 agentk.vger.email Hi all, Here's version four of my faddr2line fixes previously posted here: 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 Changes since v3 include: * Add support for specifying specific LLVM versions with LLVM= * Drop the mksysmap filter in favour of a simpler regex implementing is_mapping_symbol() 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.283.g2d96d420d3-goog