Change llvm-cov output formatting to be more similar to gcov.

- Replaced tabs with proper padding
- print() takes two arguments, which are the GCNO and GCDA filenames
- Files are listed at the top of output, appended by line 0
- Stripped strings of trailing \0s
- Removed last two lines of whitespace in output

Patch by Yuchen Wu!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193148 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bob Wilson
2013-10-22 05:09:41 +00:00
parent 78fe4d62fb
commit e877eebfe9
3 changed files with 12 additions and 10 deletions

View File

@@ -74,6 +74,6 @@ int main(int argc, char **argv) {
FileInfo FI;
GF.collectLineCounts(FI);
FI.print();
FI.print(InputGCNO, InputGCDA);
return 0;
}