llvm-cov: s/(.*)Executed/\1Exec/
authorYuchen Wu <yuchenericwu@hotmail.com>
Wed, 18 Dec 2013 18:46:25 +0000 (18:46 +0000)
committerYuchen Wu <yuchenericwu@hotmail.com>
Wed, 18 Dec 2013 18:46:25 +0000 (18:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197595 91177308-0d34-0410-b5e6-96231b3b80d8

lib/IR/GCOV.cpp

index 2024c1d21f13e08a7dbfea24f91ce2afee246f9c..62cbc5ef03e47df4d89e332dff2d6100b2fe9203 100644 (file)
@@ -525,18 +525,18 @@ void FileInfo::printFunctionSummary(raw_fd_ostream &OS,
          I != E; ++I) {
     const GCOVFunction *Func = *I;
     uint64_t EntryCount = Func->getEntryCount();
-    uint32_t BlocksExecuted = 0;
+    uint32_t BlocksExec = 0;
     for (GCOVFunction::BlockIterator I = Func->block_begin(),
            E = Func->block_end(); I != E; ++I) {
       const GCOVBlock *Block = *I;
       if (Block->getNumDstEdges() && Block->getCount())
-          ++BlocksExecuted;
+          ++BlocksExec;
     }
 
     OS << "function " << Func->getName() << " called " << EntryCount
        << " returned " << safeDiv(Func->getExitCount()*100, EntryCount)
        << "% blocks executed "
-       << safeDiv(BlocksExecuted*100, Func->getNumBlocks()-1) << "%\n";
+       << safeDiv(BlocksExec*100, Func->getNumBlocks()-1) << "%\n";
   }
 }