LLVM-CXXFILT(1) | LLVM | LLVM-CXXFILT(1) |
llvm-cxxfilt - LLVM symbol name demangler
llvm-cxxfilt [options] [mangled names…]
llvm-cxxfilt is a symbol demangler that can be used as a replacement for the GNU c++filt tool. It takes a series of symbol names and prints their demangled form on the standard output stream. If a name cannot be demangled, it is simply printed as is.
If no names are specified on the command-line, names are read interactively from the standard input stream. When reading names from standard input, each input line is split on characters that are not part of valid Itanium name manglings, i.e. characters that are not alphanumeric, ‘.’, ‘$’, or ‘_’. Separators between names are copied to the output as is.
$ llvm-cxxfilt _Z3foov _Z3bari not_mangled foo() bar(int) not_mangled $ cat input.txt | _Z3foov *** _Z3bari *** not_mangled | $ llvm-cxxfilt < input.txt | foo() *** bar(int) *** not_mangled |
llvm-cxxfilt returns 0 unless it encounters a usage error, in which case a non-zero exit code is returned.
Maintained by the LLVM Team (https://llvm.org/).
2003-2023, LLVM Project
2023-01-03 | 15 |