diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2011-04-21 01:56:25 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2011-04-21 01:56:25 +0000 |
commit | a61e52c9b7cf874b46cef687c1c4627a35952542 (patch) | |
tree | 6068d1dec1aaa8c6475140576226c55ece5e18dd /include/llvm/Transforms/Instrumentation.h | |
parent | 333ed454d0c20d0f4999f7c9a404688b254a0cb0 (diff) | |
download | llvm-a61e52c9b7cf874b46cef687c1c4627a35952542.tar.gz llvm-a61e52c9b7cf874b46cef687c1c4627a35952542.tar.bz2 llvm-a61e52c9b7cf874b46cef687c1c4627a35952542.tar.xz |
Add independent controls for whether GCOV profiling should emit .gcno files or
instrument the program to emit .gcda.
TODO: we should emit slightly different .gcda files when .gcno emission is off.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129903 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Transforms/Instrumentation.h')
-rw-r--r-- | include/llvm/Transforms/Instrumentation.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Transforms/Instrumentation.h b/include/llvm/Transforms/Instrumentation.h index 3ef2f5a14d..088775a9df 100644 --- a/include/llvm/Transforms/Instrumentation.h +++ b/include/llvm/Transforms/Instrumentation.h @@ -28,7 +28,7 @@ ModulePass *createOptimalEdgeProfilerPass(); ModulePass *createPathProfilerPass(); // Insert GCOV profiling instrumentation -ModulePass *createGCOVProfilerPass(); +ModulePass *createGCOVProfilerPass(bool EmitNotes = true, bool EmitData = true); } // End llvm namespace |