brintos

brintos / llvm-project-archived public Read only

0
0
Text · 2.2 KiB · 8e509ce Raw
90 lines · plain
1llvm-cxxfilt - LLVM symbol name demangler2=========================================3 4.. program:: llvm-cxxfilt5 6SYNOPSIS7--------8 9:program:`llvm-cxxfilt` [*options*] [*mangled names...*]10 11DESCRIPTION12-----------13 14:program:`llvm-cxxfilt` is a symbol demangler that can be used as a replacement15for the GNU :program:`c++filt` tool. It takes a series of symbol names and16prints their demangled form on the standard output stream. If a name cannot be17demangled, it is simply printed as is.18 19If no names are specified on the command-line, names are read interactively from20the standard input stream. When reading names from standard input, each input21line is split on characters that are not part of valid Itanium name manglings,22i.e. characters that are not alphanumeric, '.', '$', or '_'. Separators between23names are copied to the output as is.24 25EXAMPLE26-------27 28.. code-block:: console29 30  $ llvm-cxxfilt _Z3foov _Z3bari not_mangled31  foo()32  bar(int)33  not_mangled34  $ cat input.txt35  | _Z3foov *** _Z3bari *** not_mangled |36  $ llvm-cxxfilt < input.txt37  | foo() *** bar(int) *** not_mangled |38 39OPTIONS40-------41 42.. option:: --format=<value>, -s43 44  Mangling scheme to assume. Valid values are ``auto`` (default, auto-detect the45  style) and ``gnu`` (assume GNU/Itanium style).46 47.. option:: --help, -h48 49  Print a summary of command line options.50 51.. option:: --no-params, -p52 53  Do not demangle function parameters or return types.54 55.. option:: --no-strip-underscore, -n56 57  Do not strip a leading underscore. This is the default for all platforms.58 59.. option:: --quote60 61  Add `"` `"` around demangled names. Do not quote already quoted names.62 63.. option:: --strip-underscore, -_64 65  Strip a single leading underscore, if present, from each input name before66  demangling.67 68.. option:: --types, -t69 70  Attempt to demangle names as type names as well as symbol names.71 72.. option:: --version73 74  Display the version of the :program:`llvm-cxxfilt` executable.75 76.. option:: @<FILE>77 78 Read command-line options from response file `<FILE>`.79 80EXIT STATUS81-----------82 83:program:`llvm-cxxfilt` returns 0 unless it encounters a usage error, in which84case a non-zero exit code is returned.85 86SEE ALSO87--------88 89:manpage:`llvm-nm(1)`90