demangle
NewmacOSpublic func demangle(_ mangledName: String) throws(DemanglingError) -> StringGiven a mangled Swift symbol, demangle it into a human readable format.
If the provided string is not a valid mangled swift identifier this function will throw. If mangling succeeds the returned string will contain a demangled human-readable representation of the identifier.
Warning: The demangled output is lossy is not not guaranteed to be stable across Swift versions. Future versions of Swift may choose to print more (or less) information in the demangled format.
Parameters
mangledName- A mangled Swift symbol.
ReturnsA human readable demangled Swift symbol. Throws: When the demangling fails for any reason.