[PATCH] D22825: Add a counter-function insertion pass

Honggyu Kim via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 26 19:15:47 PDT 2016


honggyu.kim added a comment.

And I think we should consider `-finstrument-functions` option as well. It inserts two functions both at the entry and exit. We maybe better to change the name 'CountingFunction' to something else to cover both cases. 'CountingEntryFunction' and 'CountingExitFunction' seems to be okay as well.


https://reviews.llvm.org/D22825





More information about the llvm-commits mailing list