aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-cov/SourceCoverageViewHTML.cpp
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2016-07-26 21:35:43 +0000
committerVedant Kumar <vsk@apple.com>2016-07-26 21:35:43 +0000
commitd5b7436c1fa6b2c406c48fcae8d1cc486c3df6cf (patch)
tree33b7187cc4d7f9aa3ba5c6bb3a5c2aa7ef54c8b4 /llvm/tools/llvm-cov/SourceCoverageViewHTML.cpp
parent219ab361f4a93baf726f9b8786f807e7c7330cea (diff)
downloadllvm-d5b7436c1fa6b2c406c48fcae8d1cc486c3df6cf.zip
llvm-d5b7436c1fa6b2c406c48fcae8d1cc486c3df6cf.tar.gz
llvm-d5b7436c1fa6b2c406c48fcae8d1cc486c3df6cf.tar.bz2
[llvm-cov] Add support for exporting coverage data to JSON
This enables users to export coverage information as portable JSON for use by analysis tools and storage in document based databases. The export sub-command is invoked just like the others: llvm-cov export -instr-profile path/to/foo.profdata path/to/foo.binary The resulting JSON contains a list of files and functions. Every file object contains a list of segments, expansions, and a summary of the file's region, function, and line coverage. Every function object contains the function's name and regions. There is also a total summary for the entire object file. Patch by Eddie Hurtig! Differential Revision: https://reviews.llvm.org/D22651 llvm-svn: 276813
Diffstat (limited to 'llvm/tools/llvm-cov/SourceCoverageViewHTML.cpp')
0 files changed, 0 insertions, 0 deletions