https://bugs.kde.org/show_bug.cgi?id=481485

            Bug ID: 481485
           Summary: [Feature request] Add support for rust demangling
                    (using rustc-demangle C library probably)
    Classification: Applications
           Product: Heaptrack
           Version: 1.5.0
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: m...@milianw.de
          Reporter: kdeb...@vorpal.se
  Target Milestone: ---

SUMMARY

Hi I couldn't find a separate location to file feature requests so I hope this
it the right location. Currently when looking at Rust binaries I get some
partially demangled names. Presumably it is close enough to C++ to get some
demangling. Unfortunately that is probably the worst option, as I can't just
copy paste the half-demangled name into a proper rust demangler (like
https://github.com/luser/rustfilt).

I would thus appreciate if you either didn't demangle rust symbols at all, or
used https://github.com/rust-lang/rustc-demangle#usage-from-non-rust-languages
to do it fully. I know that hotspot by KDAB (which seems very closely related
to this GUI-wise) already has support for rust demangling, so maybe it wouldn't
be too difficult to add here as well.

STEPS TO REPRODUCE
1.  Profile a rust binary
2. Open in heaptrack_gui
3. Be met with confusing partially demangled names

OBSERVED RESULT
Partially demangled names

EXPECTED RESULT
Preferably fully demangled (otherwise not demangled at all)

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.12

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to