This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa mudflap] more C++ support
Hi -
jason wrote:
> > + /* The gcc/cp decl_printable_name hook doesn't do as good a job as
> > + the libiberty demangler. */
>
> How so?
The example I came across was a virtual function table being
__mf_register'd during static initialization. Its symbol
was _Z...blah, which demangled/c++filt'd to "vtable for foo::bar",
but decl_printable_name'd to "void (*foo::bar::__Z...blah)[3] (...)".
The latter was approximately a declaration of an equivalent type of
a virtual function table.
- FChE