This is the mail archive of the gcc@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: Generating function name.


Revital Eres wrote:
I need to create a new function name for the
propose of function versioning in IPA phase.
I thought of using the function get_file_function_name_long ()
(cgraphunit.c) but I did not
see any use of it except from generating names for constructors or destructors.

That is probably because we don't have any other case where we need to create globally unique identifiers. If you look at previous gcc releases, you can see that there have been other uses of this function in the past.
--
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com



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