When instrumenting functions, it is often desirable to avoid instrumenting small functions for performance reasons. This patch adds an option, -finstrument-functions-size=n which lets you selectively apply function instrumentation to functions with at least n basic blocks.
It also fixes the tests associated with -finstrument-functions. Previously, the CHECK-NOT assertions passed even when the function in question actually was instrumented due to overly lax string matching.
instrumentsize.patch
Description: Binary data
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
