This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libmudflap/40778] [4.5 Regression] Mudflap instrumentation missing in cloned function.
- From: "hubicka at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Jan 2010 14:33:13 -0000
- Subject: [Bug libmudflap/40778] [4.5 Regression] Mudflap instrumentation missing in cloned function.
- References: <bug-40778-17902@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from hubicka at gcc dot gnu dot org 2010-01-29 14:33 -------
Yes, the clone_of and similar datastructures are cleared because function is no
longer a virtual clone. Probably best way to get to original function is via
DECL_ABSTRACT_ORIGIN same way as debug info does. Is that sufficient here? (We
can always add some extra flags, but I think we should have enough of them
already. All the other synthetic functions we do not want to instrument won't
have DECL_ABSTRACT_ORIGIN set, right?)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40778