https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81932

robert at ocallahan dot org <robert at ocallahan dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |robert at ocallahan dot org

--- Comment #29 from robert at ocallahan dot org <robert at ocallahan dot org> 
---
(In reply to Jonathan Wakely from comment #26)
> The demangled names are not in a canonical/standardized format, or
> unambiguous, or portable between different compilers, so that isn't a
> complete solution.

Aren't those issues all fixable though?

The first and last points are basically the same. I don't know what differences
there are between the g++ and clang++ worlds other than where they have
actually diverged in their interpretation of C++ mangling ---
https://github.com/itanium-cxx-abi/cxx-abi/issues/68 --- which deserves to be
fixed for other reasons.

And if you make sure to include function parameter types, what ambiguities are
there in demangled names?

It certainly would be helpful to us (Pernosco debugger) if g++ produced DWARF
names that match the c++filt demangled names; see
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94845. Seems like a step in the
right direction that couldn't hurt.

Reply via email to