Extra constructor debug info
Daniel Berlin
dberlin@redhat.com
Fri Feb 9 08:13:00 GMT 2001
>From mangle.c:
" We also need to provide unique mangled names (which should never be
exported) for the constructor that takes an in-charge parameter,
and for a constructor whose name is the same as its class's name.
We use "C*INTERNAL*" for these. */ "
Even though it doesn't appear to ever be exported, which is correct, they
show up in the debug info.
We get a declaration with no definition (in dwarf2), as part of the class,
so you end up with *three* constructors listed in GDB, rather than two.
It also pops up in STABS.
Can someone make the *INTERNAL* one stop showing up in the debug info,
please?
--Dan
More information about the Gcc-bugs
mailing list