xref: /freebsd/usr.bin/clang/llvm-cxxfilt/llvm-cxxfilt.1 (revision e17f5b1d307b7b8910d67883e57a9604305906d5)
$FreeBSD$
Man page generated from reStructuredText.
.
"LLVM-CXXFILT" "1" "2020-06-26" "10" "LLVM"
NAME
llvm-cxxfilt - LLVM symbol name demangler . .nr rst2man-indent-level 0 . \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .rstReportMargin pre:
. RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .rstReportMargin post:
.. . RE indent \\n[an-margin]
old: \\n[rst2man-indent\\n[rst2man-indent-level]]
.nr rst2man-indent-level -1 new: \\n[rst2man-indent\\n[rst2man-indent-level]]
..
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 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, \(aq.\(aq, \(aq$\(aq, or \(aq_\(aq. Separators between names are copied to the output as is.
EXAMPLE
NDENT 0.0 NDENT 3.5
$ 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 |
NINDENT NINDENT
OPTIONS
NDENT 0.0

--format=<value>, -s Mangling scheme to assume. Valid values are auto (default, auto-detect the style) and gnu (assume GNU/Itanium style). NINDENT NDENT 0.0

--help, -h Print a summary of command line options. NINDENT NDENT 0.0

--help-list Print an uncategorized summary of command line options. NINDENT NDENT 0.0

--strip-underscore, -_ Discard a single leading underscore, if present, from each input name before demangling. NINDENT NDENT 0.0

--types, -t Attempt to demangle names as type names as well as function names. NINDENT NDENT 0.0

--version Display the version of the llvm-cxxfilt executable. NINDENT NDENT 0.0

@<FILE> Read command-line options from response file <FILE>. NINDENT

EXIT STATUS
llvm-cxxfilt returns 0 unless it encounters a usage error, in which case a non-zero exit code is returned.
SEE ALSO
llvm-nm(1)
AUTHOR
Maintained by the LLVM Team (https://llvm.org/).
COPYRIGHT
2003-2020, LLVM Project Generated by docutils manpage writer.
.