summaryrefslogtreecommitdiffstats
path: root/llvm/include
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2011-05-17 23:05:13 +0000
committerBill Wendling <isanbard@gmail.com>2011-05-17 23:05:13 +0000
commit0671ba8448d12cd3a310e5db4286125a08162d3a (patch)
treee3f2fb83e650a601d0de092ac46ffdc2d299d43b /llvm/include
parente9692808b7dfaf4ed42cd93d1b82097ae2ead73d (diff)
downloadbcm5719-llvm-0671ba8448d12cd3a310e5db4286125a08162d3a.tar.gz
bcm5719-llvm-0671ba8448d12cd3a310e5db4286125a08162d3a.zip
Conditionalize the format of the GCOV files by target type. Darwin uses the 4.2
format. llvm-svn: 131503
Diffstat (limited to 'llvm/include')
-rw-r--r--llvm/include/llvm/LinkAllPasses.h2
-rw-r--r--llvm/include/llvm/Transforms/Instrumentation.h3
2 files changed, 3 insertions, 2 deletions
diff --git a/llvm/include/llvm/LinkAllPasses.h b/llvm/include/llvm/LinkAllPasses.h
index 88ee65ac311..c02e1615de1 100644
--- a/llvm/include/llvm/LinkAllPasses.h
+++ b/llvm/include/llvm/LinkAllPasses.h
@@ -70,7 +70,7 @@ namespace {
(void) llvm::createEdgeProfilerPass();
(void) llvm::createOptimalEdgeProfilerPass();
(void) llvm::createPathProfilerPass();
- (void) llvm::createGCOVProfilerPass(true, true);
+ (void) llvm::createGCOVProfilerPass(true, true, false);
(void) llvm::createFunctionInliningPass();
(void) llvm::createAlwaysInlinerPass();
(void) llvm::createGlobalDCEPass();
diff --git a/llvm/include/llvm/Transforms/Instrumentation.h b/llvm/include/llvm/Transforms/Instrumentation.h
index 088775a9dfe..8d552317f23 100644
--- a/llvm/include/llvm/Transforms/Instrumentation.h
+++ b/llvm/include/llvm/Transforms/Instrumentation.h
@@ -28,7 +28,8 @@ ModulePass *createOptimalEdgeProfilerPass();
ModulePass *createPathProfilerPass();
// Insert GCOV profiling instrumentation
-ModulePass *createGCOVProfilerPass(bool EmitNotes = true, bool EmitData = true);
+ModulePass *createGCOVProfilerPass(bool EmitNotes = true, bool EmitData = true,
+ bool Use402Format = false);
} // End llvm namespace
OpenPOWER on IntegriCloud