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: [PATCH] Instrument function clones using mudflap (PR libmudflap/40778)


On 12/16/10 14:55, Jakub Jelinek wrote:
Hi!

As discussed in the PR, clones are DECL_ARTIFICIAL, so
execute_mudflap_function_ops pass wasn't done on them.  Skipping
the instrumentation of really artificial functions is ok, but
clones (and OpenMP functions etc.) are really user routines or parts
thereof.

Fixed thusly, bootstrapped/regtested on x86_64-linux and i686-linux, ok for
trunk?

2010-12-16 Jakub Jelinek<jakub@redhat.com>

	PR libmudflap/40778
	* tree-mudflap.c (execute_mudflap_function_ops): Instrument
	even artificial functions, if their DECL_ORIGIN is not artificial.

* testsuite/libmudflap.c/fail68-frag.c: New test.
OK.
jeff


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