scripts: decode_stacktrace: demangle Rust symbols
authorMiguel Ojeda <ojeda@kernel.org>
Sun, 5 Dec 2021 18:00:43 +0000 (19:00 +0100)
committerMiguel Ojeda <ojeda@kernel.org>
Wed, 28 Sep 2022 07:01:40 +0000 (09:01 +0200)
commit99115db4ecc87af73415939439ec604ea0531e6f
treeb3a9727cd1bac24375bed2c88e1a4a58e0742a4d
parentd1d84b5f73888ccb9fc148dfc3cb3e15d3604d65
scripts: decode_stacktrace: demangle Rust symbols

Recent versions of both Binutils (`c++filt`) and LLVM (`llvm-cxxfilt`)
provide Rust v0 mangling support.

Reviewed-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Co-developed-by: Alex Gaynor <alex.gaynor@gmail.com>
Signed-off-by: Alex Gaynor <alex.gaynor@gmail.com>
Co-developed-by: Wedson Almeida Filho <wedsonaf@google.com>
Signed-off-by: Wedson Almeida Filho <wedsonaf@google.com>
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
scripts/decode_stacktrace.sh