On Tue, May 8, 2012 at 4:38 PM, Manuel López-Ibáñez
<lopeziba...@gmail.com> wrote:
> A suggestion: Make dwarf_name call the demangler, and then a (new?) a
> function that converts a mangled decl to a human-readable string. In
> any case, the pretty-printer does a lot of stuff that is mostly
> useless for just printing a declaration (translation, wrapping, etc.).
>
> Bonus point if all GNU toolchain program use the same functions for
> demangling and undemagling (because I guess they actually don't, no?)
>
> I guess it cannot be so easy, so I apologize in advance for saying nonsense.

It makes sense; and I don't think it is as complicated as it might sound.

-- Gaby

Reply via email to