conditional gcov instrumentation

Richard Henderson rth@redhat.com
Tue Sep 8 18:11:00 GMT 2009


On 09/07/2009 08:28 PM, Hayawardh V wrote:
> +  gcov_ctr_fn_type = build_function_type_list(void_type_node,
> gcov_type_ptr, NULL_TREE);
> +
> +  decl = build_decl(FUNCTION_DECL, get_identifier("__gcov_ctr"),
> gcov_ctr_fn_type);

Well you certainly don't want to be generating a
different function decl for every edge you instrument.


r~



More information about the Gcc mailing list