Bug 458175

Summary: Support demangling Rust symbols
Product: [Applications] Heaptrack Reporter: Aleksey Kladov <aleksey.kladov>
Component: generalAssignee: Milian Wolff <mail>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Aleksey Kladov 2022-08-22 15:06:37 UTC
Heaptrack mostly works out of the box with Rust and is very helpful. However, there's one snag -- it doesn't demangle Rust symbols automatically. It would be great if it did this though! 

There's a C library which implements Rust demangling here: https://github.com/LykenSol/rust-demangle.c

And https://github.com/rui314/mold/issues/371 might contain some more useful context.