indirect function support

Nathan Sidwell nathan@codesourcery.com
Tue May 18 08:41:00 GMT 2010


H.J. Lu wrote:

> Is that a good idea to ask programmers to do name mangling by
> hand?  It can be quite complicated for  complex C++ classes
> and they have to update the alias when member functions are changed.
> We need to make it easy to use.

The alias attribute already requires this (for non-member functions, for member 
functions, alias was simply broken).  While it would be nice to improve alias, I 
don't see why that should be a requirement of adding ifunc support to alias.

Do you have a use case of using ifunc for member functions?  Perhaps that would 
help.

nathan

-- 
Nathan Sidwell    ::   http://www.codesourcery.com   ::         CodeSourcery



More information about the Gcc-patches mailing list