On 6/18/07, costin_c <[EMAIL PROTECTED]> wrote:
On 6/18/07, costin_c <[EMAIL PROTECTED]> 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

Reply via email to