cpp_demangle 0.2.9

A crate for demangling C++ symbols
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/env bash

set -eu

function demangle {
    echo "              $1"
    echo "libiberty:    $(c++filt $1)"
    echo "cpp_demangle: $(cargo run --bin cppfilt -- $1 2> /dev/null)"
}

# demangle '_Z3abcDTqult3def3ghi3jkl3mnoE'
demangle '_ZN7mozilla19WriteDumpFileHelperIfEENS_8EnableIfIXsr6IsSameIT_fEE5valueEvE4TypeEPS2_mP7__sFILE'