diff options
author | Eli Friedman <efriedma@codeaurora.org> | 2017-09-11 22:56:20 +0000 |
---|---|---|
committer | Eli Friedman <efriedma@codeaurora.org> | 2017-09-11 22:56:20 +0000 |
commit | 50479f60c40106de3fc5a54b572ccc806f79958a (patch) | |
tree | 3ace56b1798d2fa4123c3741e9e0f9f783e0d996 /llvm/test/tools/llvm-cov/showLineExecutionCounts.cpp | |
parent | b9b60253281e5ddd90c7be033099e6d78e94c30e (diff) | |
download | bcm5719-llvm-50479f60c40106de3fc5a54b572ccc806f79958a.tar.gz bcm5719-llvm-50479f60c40106de3fc5a54b572ccc806f79958a.zip |
[llvm-cov] Allow hiding instantiation/region coverage from summary tables
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 adds the options "-show-region-summary" and
"-show-instantiation-summary" to allow hiding those columns.
"-show-instantiation-summary" is turned off by default.
llvm-svn: 312969
Diffstat (limited to 'llvm/test/tools/llvm-cov/showLineExecutionCounts.cpp')
-rw-r--r-- | llvm/test/tools/llvm-cov/showLineExecutionCounts.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/test/tools/llvm-cov/showLineExecutionCounts.cpp b/llvm/test/tools/llvm-cov/showLineExecutionCounts.cpp index ab0987ee756..39d31d20dd1 100644 --- a/llvm/test/tools/llvm-cov/showLineExecutionCounts.cpp +++ b/llvm/test/tools/llvm-cov/showLineExecutionCounts.cpp @@ -80,14 +80,11 @@ int main() { // TEXT: [[@LINE]]| 161|int main( // HTML-INDEX-LABEL: <table> // HTML-INDEX: <td class='column-entry-left'>Filename</td> // HTML-INDEX: <td class='column-entry'>Function Coverage</td> -// HTML-INDEX: <td class='column-entry'>Instantiation Coverage</td> // HTML-INDEX: <td class='column-entry'>Line Coverage</td> // HTML-INDEX: <td class='column-entry'>Region Coverage</td> // HTML-INDEX: <a href='coverage{{.*}}showLineExecutionCounts.cpp.html'{{.*}}showLineExecutionCounts.cpp</a> // HTML-INDEX: <td class='column-entry-green'> // HTML-INDEX: 100.00% (1/1) -// HTML-INDEX: <td class='column-entry-green'> -// HTML-INDEX: 100.00% (1/1) // HTML-INDEX: <td class='column-entry-yellow'> // HTML-INDEX: 80.00% (16/20) // HTML-INDEX: <td class='column-entry-red'> |