llvm::itaniumDemangle

Demangle an Itanium ABI mangled name.

Synopsis

Declared in <llvm/Demangle/Demangle.h>

char*
itaniumDemangle(
    std::string_view mangled_name,
    bool ParseParams = true);

Return Value

a non-NULL pointer to a NUL-terminated C style string that should be explicitly freed, if successful; otherwise nullptr if mangled_name is not a valid mangling or is nullptr.

Parameters

NameDescription
mangled_name- the Itanium mangled name to demangle.
ParseParams- if false, skip demangling function parameters.