------- 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