non-virtual thunk functions

Brian Ryner bryner@brianryner.com
Wed Feb 4 11:28:00 GMT 2004


Hi,

I have a couple of questions relating to the "non-virtual thunk to 
Foo::Bar" symbols that are emitted for C++ code on Linux.  First, what 
exactly are these thunks used for?  Secondly, is it possible for these 
thunks to be stripped out, when the method in question has hidden 
visibility (via the visibility attribute)?  I'm using gcc 3.3.2 on 
Fedora Core 1.

Thanks.

-- 
-Brian Ryner
bryner@brianryner.com



More information about the Gcc mailing list