collectLineCounts() should only organize the output data. This is done in
anticipation of subsequent changes which will pass in GCNO and GCDA filenames
into the print function where it is printed similar to the gcov output.
Patch by Yuchen Wu!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193134
91177308-0d34-0410-b5e6-
96231b3b80d8
for (SmallVectorImpl<GCOVFunction *>::iterator I = Functions.begin(),
E = Functions.end(); I != E; ++I)
(*I)->collectLineCounts(FI);
- FI.print();
}
//===----------------------------------------------------------------------===//
FileInfo FI;
GF.collectLineCounts(FI);
+ FI.print();
return 0;
}