[llvm-commits] [patch] Implement a pass to instrument function entry and exit
nelhage at nelhage.com
Sat Jun 5 18:38:09 PDT 2010
This patch adds a pass that adds calls to instrument function exit and
entry, in a way compatible with GCC's -finstrument-functions flag.
Options are also provided to selectively exclude certain functions from
instrumenting, analogous to those provided by GCC.
If this patch is not totally off-base, I'm planning to also implement
and send along a function attribute to disable instrumenting on specific
functions, and frontend support in clang.
- Nelson Elhage
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 8034 bytes
Desc: InstrumentFunctions pass
More information about the llvm-commits