mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
e22de321ce
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. Changes since the initial commit (r276813): - Fixed the regexes in the tests to handle Windows filepaths. Patch by Eddie Hurtig! Differential Revision: https://reviews.llvm.org/D22651 llvm-svn: 276818
16 lines
340 B
CMake
16 lines
340 B
CMake
set(LLVM_LINK_COMPONENTS core support object coverage profiledata)
|
|
|
|
add_llvm_tool(llvm-cov
|
|
llvm-cov.cpp
|
|
gcov.cpp
|
|
CodeCoverage.cpp
|
|
CoverageExporterJson.cpp
|
|
CoverageFilters.cpp
|
|
CoverageReport.cpp
|
|
CoverageSummaryInfo.cpp
|
|
SourceCoverageView.cpp
|
|
SourceCoverageViewHTML.cpp
|
|
SourceCoverageViewText.cpp
|
|
TestingSupport.cpp
|
|
)
|