[llvm-cov] Drop the longest common filename prefix from summaries
authorVedant Kumar <vsk@apple.com>
Thu, 8 Sep 2016 00:56:43 +0000 (00:56 +0000)
committerVedant Kumar <vsk@apple.com>
Thu, 8 Sep 2016 00:56:43 +0000 (00:56 +0000)
commitfa754371831b1e75c7b39128b8d8cbfe6862ebd9
treef82df1041c2bcb8c74628f49d9a89d6fa502164e
parentf79af6f8c4baf5018ef36aa462ca6f142fb2ed28
[llvm-cov] Drop the longest common filename prefix from summaries

Remove the longest common prefix from filenames when printing coverage
summaries. This makes them easier to compare.

llvm-svn: 280895
llvm/test/tools/llvm-cov/Inputs/multiple-files.covmapping [new file with mode: 0644]
llvm/test/tools/llvm-cov/Inputs/multiple-files.proftext [new file with mode: 0644]
llvm/test/tools/llvm-cov/multiple-files.test [new file with mode: 0644]
llvm/tools/llvm-cov/CoverageReport.cpp