Module tracy_client::demangle
source · Available on crate feature
demangle
only.Expand description
Custom symbol demangling support.
By default, Tracy demangles symbols using the C++ ABI, which is not fully compatible with Rust symbol mangling.
With the demangle
feature enabled, clients must register a custom demangling function.
This can be done by calling the register_demangler!
macro with either no arguments
to use the default demangler, or with a path to a custom demangler function. See
its documentation for how to use it.
Note that only one demangler can be registered at a time. Attempting to register multiple
demanglers will result in a linking failure due to multiple definitions of the underlying
extern "C"
function.
Structs§
- Opaque buffer used to write demangled symbols.
Functions§
- Demangles a Rust symbol using
rustc_demangle
. - Symbol demangler that does nothing.