LLVM-CXXFILT(1)
π NAME π
okay so bestie, this is LLVM-CXXFILT(1) β the manual for llvm-cxxfilt, aka the LLVM symbol name demangler. Thatβs the whole main-character job: it takes mangled symbol names and makes them readable. No cap. β¨
π¦ SYNOPSIS π¦
llvm-cxxfilt [options] [mangled names...]
πΈ DESCRIPTION πΈ
llvm-cxxfilt is a symbol demangler, and she can literally be used as a replacement for the GNU c++filt tool. π
She 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 error spiral, just vibes. π«Ά
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. Periodt. π«
π 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 areauto(default, auto-detect the style) andgnu(assume GNU/Itanium style). π§--help,-hβ Print a summary of command line options. Easy save. π--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. Sheβs versatile, okay? π--versionβ Display the version of thellvm-cxxfiltexecutable. π@<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. So if the number isnβt zero, bestie, something about the usage went sideways. π
π₯ SEE ALSO π₯
llvm-nm(1)β go say hi, iykyk. π
π AUTHOR π
Maintained by the LLVM Team (https://llvm.org/). π«Ά
π COPYRIGHT π
2003-2023, LLVM Project
π Cute sign-off time: this page is LLVM-CXXFILT(1) from LLVM source/version 17, dated 2023-12-01. Bye bestie, slay your demangling! π
β¨
π¦ where this page comes from
- opensuse-leap 16.0: llvm17 17.0.6-160000.3.1 Β· Apache-2.0 WITH LLVM-exception AND NCSA
- opensuse-leap 16.0: llvm17 17.0.6-160000.3.1 Β· Apache-2.0 WITH LLVM-exception AND NCSA
- opensuse-leap 16.0: llvm17 17.0.6-160000.3.1 Β· Apache-2.0 WITH LLVM-exception AND NCSA
- opensuse-leap 16.0: llvm17 17.0.6-160000.3.1 Β· Apache-2.0 WITH LLVM-exception AND NCSA
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms