This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Extra constructor debug info


>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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]