r176619 - Fix build with clang, this was supposed to be part of r176617.

Nick Lewycky nicholas at mxc.ca
Thu Mar 7 00:42:27 PST 2013


Author: nicholas
Date: Thu Mar  7 02:42:27 2013
New Revision: 176619

URL: http://llvm.org/viewvc/llvm-project?rev=176619&view=rev
Log:
Fix build with clang, this was supposed to be part of r176617.

Modified:
    cfe/trunk/lib/CodeGen/BackendUtil.cpp

Modified: cfe/trunk/lib/CodeGen/BackendUtil.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/BackendUtil.cpp?rev=176619&r1=176618&r2=176619&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/BackendUtil.cpp (original)
+++ cfe/trunk/lib/CodeGen/BackendUtil.cpp Thu Mar  7 02:42:27 2013
@@ -305,10 +305,10 @@ void EmitAssemblyHelper::CreatePasses(Ta
   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));





More information about the cfe-commits mailing list