summaryrefslogtreecommitdiff
path: root/lib/Transforms/Instrumentation
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2011-12-06 00:29:13 +0000
committerNick Lewycky <nicholas@mxc.ca>2011-12-06 00:29:13 +0000
commit7c0674100443b4115d2fd6472e59cd8dcb9cc6d4 (patch)
tree0a51c0cf95a178026381ea8504595938adcc83a3 /lib/Transforms/Instrumentation
parentdce42b75dc05befb4f43b664951c80752904bcde (diff)
downloadllvm-7c0674100443b4115d2fd6472e59cd8dcb9cc6d4.tar.gz
llvm-7c0674100443b4115d2fd6472e59cd8dcb9cc6d4.tar.bz2
llvm-7c0674100443b4115d2fd6472e59cd8dcb9cc6d4.tar.xz
Expose a switch for the new gcov format.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145880 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Instrumentation')
-rw-r--r--lib/Transforms/Instrumentation/GCOVProfiling.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Transforms/Instrumentation/GCOVProfiling.cpp b/lib/Transforms/Instrumentation/GCOVProfiling.cpp
index 3ba5d2c74d..96e5d5b311 100644
--- a/lib/Transforms/Instrumentation/GCOVProfiling.cpp
+++ b/lib/Transforms/Instrumentation/GCOVProfiling.cpp
@@ -108,8 +108,9 @@ INITIALIZE_PASS(GCOVProfiler, "insert-gcov-profiling",
"Insert instrumentation for GCOV profiling", false, false)
ModulePass *llvm::createGCOVProfilerPass(bool EmitNotes, bool EmitData,
- bool Use402Format) {
- return new GCOVProfiler(EmitNotes, EmitData, Use402Format);
+ bool Use402Format,
+ bool UseExtraChecksum) {
+ return new GCOVProfiler(EmitNotes, EmitData, Use402Format, UseExtraChecksum);
}
namespace {