Move the printing of llvm-cov information out from collectLineCounts().
authorBob Wilson <bob.wilson@apple.com>
Tue, 22 Oct 2013 00:09:03 +0000 (00:09 +0000)
committerBob Wilson <bob.wilson@apple.com>
Tue, 22 Oct 2013 00:09:03 +0000 (00:09 +0000)
commit32c69dd1abf419742d99c59e7d54812e315cbb2d
treebc7e7f533dd4d5402f455a0427bca93fa956fbce
parent8d6ad83253a8fcf4dbf48850db096c27fc45c3f0
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
lib/IR/GCOV.cpp
tools/llvm-cov/llvm-cov.cpp