[Bug middle-end/92170] Incorrect function names output when using -fstack-usage on C++

ebotcazou at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Oct 28 07:24:00 GMT 2019


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

--- Comment #9 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> Is there a reason why -fstack-usage doesn't output mangled name ?

Yes, the output was supposed to be human-readable, that's why the location of
the function is also output.

> Wouldn't it better if it was consistent with other tools and as such could
> be compared ?

This would break backward compatibility though.

> The patch is very simple, just bypass any demangling here since I don't
> think it's the role of this method to demangle for you.

Probably worth discussing so please post it on gcc-patches@


More information about the Gcc-bugs mailing list