> +/* Give each callsite a position count equal to the entry count of the callee
> +   it opens, so an inlined body's calls show up in the caller's line counts.
> +
> +   TODO: callsites nested inside an inlined body are left alone.  Recursing
> +   gives an offset that already holds a callsite a position count as well,
> +   which inflates the totals reported for the enclosing functions.  */

Couldn't that be common?

It would be good to have an option to warn about this at least.

File also has the usual indentation issues, not sure where that is
commin from.

-Andi

Reply via email to