[PATCH] D54266: [llvm-cov] Add lcov tracefile export format.
Tony Allevato via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 8 08:57:26 PST 2018
allevato created this revision.
allevato added reviewers: Dor1s, vsk.
Herald added subscribers: llvm-commits, mgorny.
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.
Repository:
rL LLVM
https://reviews.llvm.org/D54266
Files:
test/tools/llvm-cov/showLineExecutionCounts-lcov.test
tools/llvm-cov/CMakeLists.txt
tools/llvm-cov/CodeCoverage.cpp
tools/llvm-cov/CoverageExporterLcov.cpp
tools/llvm-cov/CoverageExporterLcov.h
tools/llvm-cov/CoverageViewOptions.h
tools/llvm-cov/SourceCoverageView.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54266.173177.patch
Type: text/x-patch
Size: 14318 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181108/cd9e5a7e/attachment.bin>
More information about the llvm-commits
mailing list