mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-01 00:33:09 +00:00
Move the printing of llvm-cov information out from collectLineCounts().
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
This commit is contained in:
parent
8d6ad83253
commit
32c69dd1ab
@ -74,7 +74,6 @@ void GCOVFile::collectLineCounts(FileInfo &FI) {
|
||||
for (SmallVectorImpl<GCOVFunction *>::iterator I = Functions.begin(),
|
||||
E = Functions.end(); I != E; ++I)
|
||||
(*I)->collectLineCounts(FI);
|
||||
FI.print();
|
||||
}
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
@ -74,5 +74,6 @@ int main(int argc, char **argv) {
|
||||
|
||||
FileInfo FI;
|
||||
GF.collectLineCounts(FI);
|
||||
FI.print();
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user