[cfe-commits] [patch] Implement -finstrument-functions

Nelson Elhage nelhage at nelhage.com
Fri Jun 18 20:41:47 PDT 2010


This patch implements the -finstrument-functions flag, which adds calls
to instrument function entry and exit.

I originally sent a patch [1] to implement this as an LLVM pass; Chris
Lattner suggested [2] this feature should just go entirely in clang,
which is what this patch implements.

[1] http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20100531/102265.html
[2] http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20100614/102439.html

-------------- next part --------------
A non-text attachment was scrubbed...
Name: instrument-functions.diff
Type: text/x-diff
Size: 10380 bytes
Desc: -finstrument-functions support
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20100618/8f1ec9cf/attachment.diff>


More information about the cfe-commits mailing list