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: Fwd: trees: function declaration


george@georgeshagov.com wrote:
I need some kind of assistance. I am trying to substitute function name during
the compilation procedure.

The only way to tell what is wrong is to debug the patch. And since it is your patch, you are the one that should be trying to debug it.


Try setting breakpoints at every place that calls SET_DECL_ASSEMBLER_NAME. Perhaps someone is calling it after you are.

Try looking at the implementation of the _asm_ extension, which provides the same feature, i.e. changing the assembler name of a function. See the set_user_assembler_name function in varasm.c.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com



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