Re: [PATCH 02/17] kallsyms: increase maximum kernel symbol length to 512
From: Miguel Ojeda <hidden>
Date: 2021-07-14 20:19:59
Also in:
linux-doc, linux-kbuild, lkml
From: Miguel Ojeda <hidden>
Date: 2021-07-14 20:19:59
Also in:
linux-doc, linux-kbuild, lkml
On Wed, Jul 14, 2021 at 8:20 PM Nick Desaulniers [off-list ref] 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
<example::my_module::MyGenericType<example::my_module::MyType> 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