1LLVM-CXXFILT(1) LLVM LLVM-CXXFILT(1)
2
3
4
6 llvm-cxxfilt - LLVM symbol name demangler
7
9 llvm-cxxfilt [options] [mangled names...]
10
12 llvm-cxxfilt is a symbol demangler that can be used as a replacement
13 for the GNU c++filt tool. It takes a series of symbol names and prints
14 their demangled form on the standard output stream. If a name cannot be
15 demangled, it is simply printed as is.
16
17 If no names are specified on the command-line, names are read interac‐
18 tively from the standard input stream. When reading names from standard
19 input, each input line is split on characters that are not part of
20 valid Itanium name manglings, i.e. characters that are not alphanu‐
21 meric, '.', '$', or '_'. Separators between names are copied to the
22 output as is.
23
25 $ llvm-cxxfilt _Z3foov _Z3bari not_mangled
26 foo()
27 bar(int)
28 not_mangled
29 $ cat input.txt
30 | _Z3foov *** _Z3bari *** not_mangled |
31 $ llvm-cxxfilt < input.txt
32 | foo() *** bar(int) *** not_mangled |
33
35 --format=<value>, -s
36 Mangling scheme to assume. Valid values are auto (default,
37 auto-detect the style) and gnu (assume GNU/Itanium style).
38
39 --help, -h
40 Print a summary of command line options.
41
42 --help-list
43 Print an uncategorized summary of command line options.
44
45 --strip-underscore, -_
46 Discard a single leading underscore, if present, from each input
47 name before demangling.
48
49 --types, -t
50 Attempt to demangle names as type names as well as function
51 names.
52
53 --version
54 Display the version of this program.
55
56 @<FILE>
57 Read command-line options from response file <FILE>.
58
60 llvm-cxxfilt returns 0 unless it encounters a usage error, in which
61 case a non-zero exit code is returned.
62
64 llvm-nm(1)
65
67 Maintained by the LLVM Team (https://llvm.org/).
68
70 2003-2019, LLVM Project
71
72
73
74
759 2019-09-19 LLVM-CXXFILT(1)