aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/BackendUtil.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/CodeGen/BackendUtil.cpp')
-rw-r--r--lib/CodeGen/BackendUtil.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/CodeGen/BackendUtil.cpp b/lib/CodeGen/BackendUtil.cpp
index 14eb57d27e..ab65801ce5 100644
--- a/lib/CodeGen/BackendUtil.cpp
+++ b/lib/CodeGen/BackendUtil.cpp
@@ -305,10 +305,10 @@ void EmitAssemblyHelper::CreatePasses(TargetMachine *TM) {
if (CodeGenOpts.EmitGcovArcs || CodeGenOpts.EmitGcovNotes) {
MPM->add(createGCOVProfilerPass(CodeGenOpts.EmitGcovNotes,
CodeGenOpts.EmitGcovArcs,
- TargetTriple.isMacOSX(),
- false,
+ CodeGenOpts.CoverageVersion,
+ CodeGenOpts.CoverageExtraChecksum,
CodeGenOpts.DisableRedZone,
- false));
+ CodeGenOpts.CoverageFunctionNamesInData));
if (CodeGenOpts.getDebugInfo() == CodeGenOptions::NoDebugInfo)
MPM->add(createStripSymbolsPass(true));