summaryrefslogtreecommitdiff
path: root/include/llvm/Transforms/Instrumentation.h
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2011-04-21 01:56:25 +0000
committerNick Lewycky <nicholas@mxc.ca>2011-04-21 01:56:25 +0000
commita61e52c9b7cf874b46cef687c1c4627a35952542 (patch)
tree6068d1dec1aaa8c6475140576226c55ece5e18dd /include/llvm/Transforms/Instrumentation.h
parent333ed454d0c20d0f4999f7c9a404688b254a0cb0 (diff)
downloadllvm-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.h2
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