2 .\" Man page generated from reStructuredText.
4 .TH "LLVM-CXXFILT" "1" "2020-06-26" "10" "LLVM"
6 llvm-cxxfilt \- LLVM symbol name demangler
8 .nr rst2man-indent-level 0
12 level \\n[rst2man-indent-level]
13 level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
20 .\" .rstReportMargin pre:
22 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
23 . nr rst2man-indent-level +1
24 .\" .rstReportMargin post:
28 .\" indent \\n[an-margin]
29 .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
30 .nr rst2man-indent-level -1
31 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
32 .in \\n[rst2man-indent\\n[rst2man-indent-level]]u
36 \fBllvm\-cxxfilt\fP [\fIoptions\fP] [\fImangled names...\fP]
39 \fBllvm\-cxxfilt\fP is a symbol demangler that can be used as a replacement
40 for the GNU \fBc++filt\fP tool. It takes a series of symbol names and
41 prints their demangled form on the standard output stream. If a name cannot be
42 demangled, it is simply printed as is.
44 If no names are specified on the command\-line, names are read interactively from
45 the standard input stream. When reading names from standard input, each input
46 line is split on characters that are not part of valid Itanium name manglings,
47 i.e. characters that are not alphanumeric, \(aq.\(aq, \(aq$\(aq, or \(aq_\(aq. Separators between
48 names are copied to the output as is.
55 $ llvm\-cxxfilt _Z3foov _Z3bari not_mangled
60 | _Z3foov *** _Z3bari *** not_mangled |
61 $ llvm\-cxxfilt < input.txt
62 | foo() *** bar(int) *** not_mangled |
70 .B \-\-format=<value>, \-s
71 Mangling scheme to assume. Valid values are \fBauto\fP (default, auto\-detect the
72 style) and \fBgnu\fP (assume GNU/Itanium style).
77 Print a summary of command line options.
82 Print an uncategorized summary of command line options.
86 .B \-\-strip\-underscore, \-_
87 Discard a single leading underscore, if present, from each input name before
93 Attempt to demangle names as type names as well as function names.
98 Display the version of the \fBllvm\-cxxfilt\fP executable.
103 Read command\-line options from response file \fI<FILE>\fP\&.
107 \fBllvm\-cxxfilt\fP returns 0 unless it encounters a usage error, in which
108 case a non\-zero exit code is returned.
113 Maintained by the LLVM Team (https://llvm.org/).
115 2003-2020, LLVM Project
116 .\" Generated by docutils manpage writer.