LLVM-CXXFILT(1)

πŸ“¦ version 15.0.7, in opensuse-leap 16.0

πŸ’– NAME πŸ’–

okay so welcome to the LLVM-CXXFILT(1) page, bestie πŸ’– this is all about llvm-cxxfilt β€” the LLVM symbol name demangler β€” and she is literally here to make mangled names make sense ✨


🌸 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 β€” no drama, no cap πŸ’…

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, '.', '$', or '_' 🧚 Separators between names are copied to the output as is.


✨ EXAMPLE ✨

$ 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 |

πŸ’… OPTIONS πŸ’…

  • --format=<value>, -s β€” mangling scheme to assume. Valid values are auto (default, auto-detect the style) and gnu (assume GNU/Itanium style) 🌈
  • --help, -h β€” print a summary of command line options πŸ‘‘
  • --no-strip-underscore, -n β€” do not strip a leading underscore. This is the default for all platforms except Mach-O based hosts πŸ™ˆ
  • --strip-underscore, -_ β€” strip a single leading underscore, if present, from each input name before demangling. On by default on Mach-O based platforms πŸ’€
  • --types, -t β€” attempt to demangle names as type names as well as function names πŸŽ€
  • --version β€” display the version of the llvm-cxxfilt executable ⭐
  • @<FILE> β€” read command-line options from response file <FILE> πŸ“

πŸŽ€ EXIT STATUS πŸŽ€

llvm-cxxfilt returns 0 unless it encounters a usage error, in which case a non-zero exit code is returned. periodt πŸ’…


🫢 SEE ALSO 🫢

llvm-nm(1)


πŸ‘‘ AUTHOR πŸ‘‘

Maintained by the LLVM Team (https://llvm.org/) 🫑


2003-2023, LLVM Project


okay bye bestie, mwah πŸ’‹ β€” source/version vibes are LLVM and 15, the date on this cutie is 2023-01-14, and yes she's LLVM-CXXFILT(1) to the very end ✨

πŸ“¦ where this page comes from