Change llvm-cov output formatting to be more similar to gcov.
authorBob Wilson <bob.wilson@apple.com>
Tue, 22 Oct 2013 05:09:41 +0000 (05:09 +0000)
committerBob Wilson <bob.wilson@apple.com>
Tue, 22 Oct 2013 05:09:41 +0000 (05:09 +0000)
commite877eebfe9d716ed1101aecf958af473836e70e1
treedf2f081e28c655b896b933c73425b52e797c26e5
parent78fe4d62fb12fd3d77cac4d26ec1ab2010aace12
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
include/llvm/Support/GCOV.h
lib/IR/GCOV.cpp
tools/llvm-cov/llvm-cov.cpp