llvm-cxxfilt - LLVM symbol name demangler
llvm-cxxfilt [options] [mangled names...]
LLVM-CXXFILT(1) LLVM LLVM-CXXFILT(1) NAME llvm-cxxfilt - LLVM symbol name demangler SYNOPSIS llvm-cxxfilt [options] [mangled names...] DESCRIPTION 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 interac- tively 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 alphanu- meric, '.', '$', or '_'. Separators between names are copied to the output as is. EXAMPLE $ 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 | OPTIONS --format=<value>, -s Mangling scheme to assume. Valid values are auto (default, auto-detect the style) and gnu (assume GNU/Itanium style). --help, -h Print a summary of command line options. --help-list Print an uncategorized summary of command line options. --no-strip-underscore, -n Do not strip a leading underscore. This is the default for all platforms except Mach-O based hosts. --strip-underscore, -_ Strip a single leading underscore, if present, from each input name before demangling. On by default on Mach-O based platforms. --types, -t Attempt to demangle names as type names as well as function names. --version Display the version of the llvm-cxxfilt executable. @<FILE> Read command-line options from response file <FILE>. EXIT STATUS llvm-cxxfilt returns 0 unless it encounters a usage error, in which case a non-zero exit code is returned. ATTRIBUTES See attributes(7) for descriptions of the following attributes: +---------------+---------------------+ |ATTRIBUTE TYPE | ATTRIBUTE VALUE | +---------------+---------------------+ |Availability | developer/llvm/llvm | +---------------+---------------------+ |Stability | Uncommitted | +---------------+---------------------+ SEE ALSO llvm-nm(1) AUTHOR Maintained by the LLVM Team (https://llvm.org/). COPYRIGHT 2003-2022, LLVM Project NOTES Source code for open source software components in Oracle Solaris can be found at https://www.oracle.com/downloads/opensource/solaris-source- code-downloads.html. This software was built from source available at https://github.com/oracle/solaris-userland. The original community source was downloaded from https://github.com/llvm/llvm- project/releases/download/llvmorg-11.0.0/llvm-11.0.0.src.tar.xz. Further information about this software can be found on the open source community website at https://llvm.org/. 11 2022-06-28 LLVM-CXXFILT(1)