LLVM-CXXFILT(1)
π
LLVM-CXXFILT(1) β llvm-cxxfilt, the demangler bestie π
okay so bestie, welcome to the llvm-cxxfilt(1) manual page from LLVM. itβs giving make mangled C++ names make sense, and honestly? iconic. π
πΈ NAME πΈ
llvm-cxxfilt β LLVM symbol name demangler. it does exactly what it says on the tin, no cap. β¨
β¨ 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. 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). pick your fighter, bestie. π--help,-hβ print a summary of command line options. the βhelp me help youβ option, lowkey essential. π«Ά--no-params,-pβ do not demangle function parameters or return types. just the name, none of the extra lore. π--no-strip-underscore,-nβ do not strip a leading underscore. this is the default for all platforms except Mach-O based hosts. noted. π--quoteβ add" "around demangled names. do not quote already quoted names. we love a boundary, but not double-quoting. π--strip-underscore,-_β strip a single leading underscore, if present, from each input name before demangling. on by default on Mach-O based platforms. itβs giving underscore cleanup. π§--types,-tβ attempt to demangle names as type names as well as symbol names. multitasking slay. β--versionβ display the version of thellvm-cxxfiltexecutable. version check, but make it cute. π@<FILE>β read command-line options from response file<FILE>. file-based bestie behavior. π
π EXIT STATUS π
llvm-cxxfilt returns 0 unless it encounters a usage error, in which case a non-zero exit code is returned. so yeah, success is 0, and usage errors get the non-zero treatment. π
π SEE ALSO π
llvm-nm(1) <llvm-nm.html> β go say hi. π
π Author π
Maintained by the LLVM Team (https://llvm.org/). they keep it cute and maintained. π«Ά
π Copyright π
2003-2026, LLVM Project
okay bye bestie π«Ά this page is page 21, dated 2026-05-15, and itβs the LLVM-CXXFILT(1) page from LLVM. mwah π
π¦ where this page comes from
- fedora 44: llvm21 21.1.8-5.fc44 Β· Apache-2.0 WITH LLVM-exception OR NCSA
- fedora 44: llvm21 21.1.8-5.fc44 Β· Apache-2.0 WITH LLVM-exception OR NCSA
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms