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: [google] Patch to enable efficient function level instrumentation (issue 5416043)



http://codereview.appspot.com/5416043/diff/12001/gcc/config/i386/i386.c File gcc/config/i386/i386.c (left):

http://codereview.appspot.com/5416043/diff/12001/gcc/config/i386/i386.c#oldcode10928
gcc/config/i386/i386.c:10928: if (current_function_decl != NULL_TREE &&
I am not sure how the hack you have here makes the linker warning go
away (and besides the section name suffix will be stripped right after
it is set when switch_section is called).  The right solution might be
to set the comdat group of the label address section to be the same as
the group of the comdat function.

Cary, what is your opinion?

http://codereview.appspot.com/5416043/


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