Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp708574pxv; Wed, 14 Jul 2021 13:37:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwCMhQhe/8k5UzlrOonKXWNhG4LQUFDiwjzy1BpMIgDwwL+wVFnwfUEnzTF1XpUluR5kLih X-Received: by 2002:a50:8d54:: with SMTP id t20mr226745edt.288.1626295049748; Wed, 14 Jul 2021 13:37:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626295049; cv=none; d=google.com; s=arc-20160816; b=0nJxtE2ujZbC64ExoT2xfW+dfrR/z43AYuj9a7Sji8T1ZwX2nTs7r/cysZv/zyj/Pa OJjO/IRwwW6St0LVzc+STUKYus/YR8EI7YuSq8Y9Qq/WpqYsoxF4mO+MN1SOJEhL3sPg nsUCMJ4uAD9+NXEh2KCBSeVaXbGQ1XRir+W5nNaAo+50tWEh47qI4J6SQUiUJURiRWzw CD+o54KoZst7G91DpV3JzUemVNObItRj4cLgQc3sO6eYFlIA0RKXrDpgiUi/hieeMXyC 1Se4aSIKpwdmSIjSBSA4y+WvapFpSsV7FS0ZTB59FpZxzhCJtWZ7h1Aw7NJAx8QZt/vT eoGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=7L4kksj/vfOAUbxuHKgQDlq1eiLc/XNqtZfav2j7JVs=; b=E8yHhvX3Nmm1MKUduSC+ndZ9w0znNN7FI0yNkaf+1JeTAnVMBBRfPJRvgWjfPAncCb 50G90EZ4dMRmyxg4ip7XvCkabAogSQnYjUQ0m4gcNVNxqHlScm/1qeKiuu60HT01695U R78yHn5pcP46IfF0NN+jUc1/EnW6il5LpzJZKQMNXqJloZs0brimGq2Dr5dxig3SlZbK vNL7zTDD2V4oLJw/TAJQlU5kdNaGDwuovnl1gCk9ic+TiddsiuUjhMxUvwzDM+D5csg4 8K2WYD7EnoPfJXQxHqjT3rkXAhNoz5+VG3gpNH6hP8bz6R6s7FrT9UH9dx8eMekYE8ry eRdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=jR7ZAc1f; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cw17si3533362ejc.356.2021.07.14.13.37.06; Wed, 14 Jul 2021 13:37:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=jR7ZAc1f; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239114AbhGNUWt (ORCPT + 99 others); Wed, 14 Jul 2021 16:22:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57870 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230004AbhGNUWs (ORCPT ); Wed, 14 Jul 2021 16:22:48 -0400 Received: from mail-il1-x130.google.com (mail-il1-x130.google.com [IPv6:2607:f8b0:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6A91DC06175F; Wed, 14 Jul 2021 13:19:55 -0700 (PDT) Received: by mail-il1-x130.google.com with SMTP id j5so2861149ilk.3; Wed, 14 Jul 2021 13:19:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=7L4kksj/vfOAUbxuHKgQDlq1eiLc/XNqtZfav2j7JVs=; b=jR7ZAc1fIM4vo4zdVr/y4sbLOKemEpSL/oQO7vRGlxCE03qUBOdBJR2miQkPtkUSov CtMwnWBR37jxHJAYZgODBG0PTFl8wCuIiH6K/l9ufF9iGtqkC1623m0YNeYpU9gsUzYA SABvdDKjEJAniWbDygpQa6O/glAdqHUV8y4kwjmQI6zeUDo8oJC6QElBbuiEvj/gZ9n/ GmbTaXaxCF1xPA5bcZeBcwNDXcUZIcJ7gXvsNw/Fr2AHldhjMwQLLqAkqnsoKhH1B+DN mHmsDheSZC+/vg50tL1RJiMjmhbueLF481b/UF1fGdIvPUcUgipfXRqsFv9B/SQ2avwS R8yA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=7L4kksj/vfOAUbxuHKgQDlq1eiLc/XNqtZfav2j7JVs=; b=P7e/+LIo/cfTuSyQFjce3tQZp6/cFtcicriiFgxqdAQTt1o58oCX0BMORJUA7u/E7t 2GQIFFYEc7BzSX/OPWmKniST6piXqCvDZs+wfXYvjK/IIdHD+Zjd7y2HwqAOzjwHzbpp aW+lUnZ2YIb7yutcuHACM+dI3+mTyPFLmz1FiPoAysb46UkQc7hGnU9yp40N8th0wYDL YbA0d7JcjayaE8o0Kg9vWcql8rFPdA1n8ThVd5PnC8yO96MeeCvBdcZOOeT0SFijuwHZ Nm7HfhjZbTCj9A+yIe4HxWfIVrmEJ+pb4xEGGMk2OD5Z+QIxgkDsImXt5MjpKbVbxNF2 icYA== X-Gm-Message-State: AOAM532LnvH0gIjIi7Y0OPYQ8lrFmvKw5LyK+wMInNiFyJojW52lzILk 1UX+hJ+WqyQSNs5DkuFglA95DlP78PAF644XMUu5oHRMAevmHA== X-Received: by 2002:a92:b74d:: with SMTP id c13mr7737985ilm.176.1626293994890; Wed, 14 Jul 2021 13:19:54 -0700 (PDT) MIME-Version: 1.0 References: <20210704202756.29107-1-ojeda@kernel.org> <20210704202756.29107-3-ojeda@kernel.org> In-Reply-To: From: Miguel Ojeda Date: Wed, 14 Jul 2021 22:19:43 +0200 Message-ID: Subject: Re: [PATCH 02/17] kallsyms: increase maximum kernel symbol length to 512 To: Nick Desaulniers Cc: Miguel Ojeda , Linus Torvalds , Greg Kroah-Hartman , rust-for-linux , Linux Kbuild mailing list , Linux Doc Mailing List , linux-kernel , Alex Gaynor , Geoffrey Thomas , Finn Behrens , Adam Bratschi-Kaye , Wedson Almeida Filho Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 14, 2021 at 8:20 PM Nick Desaulniers wrote: > > For C++ demangling, we have c++filt. > > A quick search turned up: https://github.com/luser/rustfilt > > but if the v0 mangling scheme is upcoming, I doubt a repo that hasn't > been updated supports an upcoming scheme. Is there a more official > equivalent? Demangling v0 is already supported by the latest releases of binutils (2.36) / gdb (10.2), e.g.: echo _RNvXNtCshGpAVYOtgW1_7example9my_moduleINtB2_13MyGenericTypeNtB2_6MyTypeENtB2_7MyTrait9my_method | c++filt -i as example::my_module::MyTrait>::my_method See the current status at https://github.com/rust-lang/rust/issues/60705. (which reminds me I have to update the "Hacking" section in the Quick Start guide, because now the releases I backported the support into are not needed anymore) Cheers, Miguel