[llvm-cov] Emit a summary in the report directory's index
authorVedant Kumar <vsk@apple.com>
Fri, 9 Sep 2016 01:32:55 +0000 (01:32 +0000)
committerVedant Kumar <vsk@apple.com>
Fri, 9 Sep 2016 01:32:55 +0000 (01:32 +0000)
commita59334da6baf812ac6e8b2e140a2ac2599654479
tree051d7cc872520aab5e89b233b0c4e0cf7ef24d10
parentaae0ba70604be5e0e1a70c05c80dde8a7590f85b
[llvm-cov] Emit a summary in the report directory's index

llvm-cov writes out an index file in '-output-dir' mode, albeit not a
very informative one. Try to fix that by using the CoverageReport API to
include some basic summary information in the index file.

llvm-svn: 281011
llvm/test/tools/llvm-cov/showLineExecutionCounts.cpp
llvm/test/tools/llvm-cov/style.test
llvm/tools/llvm-cov/CodeCoverage.cpp
llvm/tools/llvm-cov/SourceCoverageView.h
llvm/tools/llvm-cov/SourceCoverageViewHTML.cpp
llvm/tools/llvm-cov/SourceCoverageViewHTML.h
llvm/tools/llvm-cov/SourceCoverageViewText.cpp
llvm/tools/llvm-cov/SourceCoverageViewText.h