aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/LinkAllPasses.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/LinkAllPasses.h
parent333ed454d0c20d0f4999f7c9a404688b254a0cb0 (diff)
downloadexternal_llvm-a61e52c9b7cf874b46cef687c1c4627a35952542.zip
external_llvm-a61e52c9b7cf874b46cef687c1c4627a35952542.tar.gz
external_llvm-a61e52c9b7cf874b46cef687c1c4627a35952542.tar.bz2
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/LinkAllPasses.h')
-rw-r--r--include/llvm/LinkAllPasses.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/LinkAllPasses.h b/include/llvm/LinkAllPasses.h
index 56c113b..88ee65a 100644
--- a/include/llvm/LinkAllPasses.h
+++ b/include/llvm/LinkAllPasses.h
@@ -70,7 +70,7 @@ namespace {
(void) llvm::createEdgeProfilerPass();
(void) llvm::createOptimalEdgeProfilerPass();
(void) llvm::createPathProfilerPass();
- (void) llvm::createGCOVProfilerPass();
+ (void) llvm::createGCOVProfilerPass(true, true);
(void) llvm::createFunctionInliningPass();
(void) llvm::createAlwaysInlinerPass();
(void) llvm::createGlobalDCEPass();