Bug 458175 - Support demangling Rust symbols
Summary: Support demangling Rust symbols
Status: REPORTED
Alias: None
Product: Heaptrack
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Milian Wolff
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-22 15:06 UTC by Aleksey Kladov
Modified: 2022-08-22 15:06 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.