1LLVM-CXXFILT(1)                      LLVM                      LLVM-CXXFILT(1)
2
3
4

NAME

6       llvm-cxxfilt - LLVM symbol name demangler
7

SYNOPSIS

9       llvm-cxxfilt [options] [mangled names...]
10

DESCRIPTION

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

EXAMPLE

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

OPTIONS

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       --no-strip-underscore, -n
46              Do not strip a leading underscore. This is the default  for  all
47              platforms except Mach-O based hosts.
48
49       --strip-underscore, -_
50              Strip  a  single leading underscore, if present, from each input
51              name before demangling. On by default on Mach-O based platforms.
52
53       --types, -t
54              Attempt to demangle names as type  names  as  well  as  function
55              names.
56
57       --version
58              Display the version of the llvm-cxxfilt executable.
59
60       @<FILE>
61              Read command-line options from response file <FILE>.
62

EXIT STATUS

64       llvm-cxxfilt  returns  0  unless  it encounters a usage error, in which
65       case a non-zero exit code is returned.
66

SEE ALSO

68       llvm-nm(1)
69

AUTHOR

71       Maintained by the LLVM Team (https://llvm.org/).
72
74       2003-2021, LLVM Project
75
76
77
78
7912                                2021-05-17                   LLVM-CXXFILT(1)
Impressum