This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Is there a easy way to use the -finstrument-functions option?
- From: renjunqu <renjunqu at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Tue, 25 Oct 2011 00:15:41 -0700 (PDT)
- Subject: Is there a easy way to use the -finstrument-functions option?
Hello everyone:
I want use gcc's "-finstrument-functions" option to hack a
open-source project. But if i want to make the most use of this option, i
should tell the compiler the my own definition of "__cyg_profile_func_enter"
and "__cyg_profile_func_exit" functions. If the project i want to hack will
create many different 'elf' files,and different 'elf' use different source
files,so i have to define the two function in many many files.
Is there some easy ways to tell the compiler my function's
definition???
Ren jun qu
--
View this message in context: http://old.nabble.com/Is-there-a-easy-way-to-use-the--finstrument-functions-option--tp32715395p32715395.html
Sent from the gcc - Help mailing list archive at Nabble.com.