aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/BackendUtil.cpp
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2013-03-07 08:42:27 +0000
committerNick Lewycky <nicholas@mxc.ca>2013-03-07 08:42:27 +0000
commit9789d0d247d0bc1a06d1ea82c0630b427aa209c3 (patch)
treeb8086f1612d0d677f206e0fa807756eabe9f146a /lib/CodeGen/BackendUtil.cpp
parent0f815f1f91e5cf0726fd8296445038fec3bed80b (diff)
Fix build with clang, this was supposed to be part of r176617.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176619 91177308-0d34-0410-b5e6-96231b3b80d8
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));