[llvm-cov] Teach the coverage exporter about instantiation coverage
authorVedant Kumar <vsk@apple.com>
Mon, 19 Sep 2016 00:38:29 +0000 (00:38 +0000)
committerVedant Kumar <vsk@apple.com>
Mon, 19 Sep 2016 00:38:29 +0000 (00:38 +0000)
commit3c46abb2eab8c0e62f3fdf552a6c5d501aed2738
tree26280e1826dd60f331b3d38e3deb5edee85cbdba
parent9cbf80afc836c800fb7600e282afe4ceb9e66cfc
[llvm-cov] Teach the coverage exporter about instantiation coverage

While we're at it, re-use the logic from CoverageReport to compute
summaries.

llvm-svn: 281877
llvm/test/tools/llvm-cov/Inputs/binary-formats.canonical.json
llvm/test/tools/llvm-cov/Inputs/highlightedRanges.json
llvm/test/tools/llvm-cov/Inputs/lineExecutionCounts.json
llvm/test/tools/llvm-cov/Inputs/regionMarkers.json
llvm/test/tools/llvm-cov/Inputs/showExpansions.json
llvm/test/tools/llvm-cov/Inputs/universal-binary.json
llvm/tools/llvm-cov/CoverageExporterJson.cpp