This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: indirect function support


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


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