mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-13 14:47:00 +00:00
fcdc267f22
Summary: lcov tracefiles are used by various coverage reporting tools and build systems (e.g., Bazel). It is a simple text-based format to parse and more convenient to use than the JSON export format, which needs additional processing to map regions/segments back to line numbers. It's a little unfortunate that "text" format is now overloaded to refer specifically to JSON for export, but I wanted to avoid making any breaking changes to the UI of the llvm-cov tool at this time. Patch by Tony Allevato (@allevato). Reviewers: Dor1s, vsk Reviewed By: Dor1s, vsk Subscribers: mgorny, llvm-commits Differential Revision: https://reviews.llvm.org/D54266 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@346506 91177308-0d34-0410-b5e6-96231b3b80d8
17 lines
367 B
CMake
17 lines
367 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
|
|
CoverageExporterLcov.cpp
|
|
CoverageFilters.cpp
|
|
CoverageReport.cpp
|
|
CoverageSummaryInfo.cpp
|
|
SourceCoverageView.cpp
|
|
SourceCoverageViewHTML.cpp
|
|
SourceCoverageViewText.cpp
|
|
TestingSupport.cpp
|
|
)
|