]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
scripts: decode_stacktrace: demangle Rust symbols
authorMiguel Ojeda <ojeda@kernel.org>
Sun, 5 Dec 2021 18:00:43 +0000 (19:00 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 Feb 2024 07:42:31 +0000 (08:42 +0100)
commit0f906882eba54874fdbd69eaa946efbf3e045a22
tree098f82a20e2e6e48fef286c94d5055352b61705a
parenta3d71b6ae935b0343f191be610cd1e5518bfbf99
scripts: decode_stacktrace: demangle Rust symbols

[ Upstream commit 99115db4ecc87af73415939439ec604ea0531e6f ]

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>
Stable-dep-of: efbd63983533 ("scripts/decode_stacktrace.sh: optionally use LLVM utilities")
Signed-off-by: Sasha Levin <sashal@kernel.org>
scripts/decode_stacktrace.sh