[PATCH] D36723: [llvm-cov] Hide instantiation/region coverage from summary tables

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 14 17:16:27 PDT 2017


efriedma created this revision.

Region coverage is difficult to explain without going deep into how coverage is implemented.  Instantiation coverage is easier to explain, but probably not useful in most cases (templates don't exist in C, and most C++ code contains relatively few templates).

This patch hides the statistics behind the options "-show-region-summary" and "-show-instantiation-summary", so the default summary page just shows function and line coverage.


Repository:
  rL LLVM

https://reviews.llvm.org/D36723

Files:
  test/tools/llvm-cov/hideUnexecutedSubviews.test
  test/tools/llvm-cov/report.cpp
  test/tools/llvm-cov/showLineExecutionCounts.cpp
  tools/llvm-cov/CodeCoverage.cpp
  tools/llvm-cov/CoverageReport.cpp
  tools/llvm-cov/CoverageViewOptions.h
  tools/llvm-cov/SourceCoverageViewHTML.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36723.111100.patch
Type: text/x-patch
Size: 12939 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170815/2a399b09/attachment.bin>


More information about the llvm-commits mailing list