missing symbols
Andrew Pinski
pinskia@gmail.com
Mon Jun 18 14:22:00 GMT 2007
On 6/18/07, costin_c <costin.cosoveanu@gmail.com> wrote:
> On 6/18/07, costin_c <costin.cosoveanu@gmail.com> wrote:
> > In the following code, compiled with
> > g++ cls.cc -Wall -W -g3 -o cls
> >
> > why only only virtual functions f1, f2 and constructor is listed by nm.
Because they are needed for the vtable. While f3 is declared as
inline and not used so it is not outputed.
> Wierd assembler file, generated by "-S" parameter, include all
> information about test class methods: test,f1,f2,f3
Not really because that is what you get with -g3.
Thanks,
Andrew Pinski
More information about the Gcc
mailing list