| Summary: | Support more languages/demangling styles than just C++ (and Rust) | ||
|---|---|---|---|
| Product: | [Developer tools] valgrind | Reporter: | Mark Wielaard <mark> |
| Component: | general | Assignee: | Julian Seward <jseward> |
| Status: | REPORTED --- | ||
| Severity: | normal | CC: | jseward, mark, philippe.waroquiers |
| Priority: | NOR | ||
| Version First Reported In: | 3.12 SVN | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Bug Depends on: | 372120 | ||
| Bug Blocks: | |||
|
Description
Mark Wielaard
2016-11-07 14:27:35 UTC
Currently we only support demangling (modern) C++ style symbol demangling (which includes Rust demangling, which is based on C++/gnu_v3 style demangling). This is because not all demangling styles can be auto-detected (we only handle symbols starting with "_Z" at the moment). We could detect the language if we have debuginfo from the CU DW_AT_language covering the symbol address. In that case we could set the language style first before calling ML_(cplus_demangle). See demangle.h for the language styles supported. |