LLVM-CXXFILT(1)
π LLVM-CXXFILT(1) π
okay bestie, welcome to the llvm-cxxfilt page, from the LLVM fam β¨ this is the manual for a symbol name demangler, and yes that word is real and yes it's as iconic as it sounds π
β¨ NAME β¨
llvm-cxxfilt β LLVM symbol name demangler π
πΈ SYNOPSIS πΈ
llvm-cxxfilt [options] [mangled names...]
π¦ DESCRIPTION π¦
so basically llvm-cxxfilt is a symbol demangler, and the whole vibe is that you can use it as a replacement for the GNU c++filt tool. it takes a bunch of symbol names and prints their demangled form on the standard output stream. and if a name can't be demangled? no drama, it just gets printed exactly as-is, no notes π«Ά
if you don't give it any names on the command-line, it reads names interactively from the standard input stream. and when it's reading from standard input, each input line gets split on characters that aren't part of valid Itanium name manglings β meaning characters that aren't alphanumeric, '.', '$', or '_' π« the separators between names get copied to the output as-is, so nothing gets lost, 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 |
likeβ¦ the way it just works ππ
π OPTIONS π
--format=<value>,-sβ which mangling scheme to assume. valid values areauto(the default, it auto-detects the style) andgnu(assume GNU/Itanium style). pick your fighter π--help,-hβ print a summary of command line options π--help-listβ print an uncategorized summary of command line options. yes, a different summary. it's giving variety β¨--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. this one's on by default on Mach-O based platforms π--types,-tβ attempt to demangle names as type names as well as function names. go both ways bestie π--versionβ display the version of thellvm-cxxfiltexecutable β@<FILE>β read command-line options from response file<FILE>π
π EXIT STATUS π
llvm-cxxfilt returns 0 unless it hits a usage error, in which case a non-zero exit code gets returned. so if the number isn't zero, something went wrong, no cap π
π SEE ALSO π
π AUTHOR π
maintained by the LLVM Team (https://llvm.org/) β they're the main characters fr fr π
π COPYRIGHT π
2003-2024, LLVM Project
and that's the whole page bestie!! π
β¨ this was page 12, from 2024-07-18, filed under LLVM-CXXFILT(1) β go demangle something gorgeous, ily, bye π¦π
π¦ where this page comes from
- fedora 43: llvm12 12.0.1-12.fc41 Β· NCSA
- fedora 43: llvm12 12.0.1-12.fc41 Β· NCSA
- fedora 44: llvm12 12.0.1-12.fc41 Β· NCSA
- fedora 44: llvm12 12.0.1-12.fc41 Β· NCSA
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms