OSDN Git Service

[llvm-cov] Hide instantiation views for unexecuted functions
authorVedant Kumar <vsk@apple.com>
Thu, 15 Sep 2016 06:44:51 +0000 (06:44 +0000)
committerVedant Kumar <vsk@apple.com>
Thu, 15 Sep 2016 06:44:51 +0000 (06:44 +0000)
commit61f5694c30199046100164bb222cfb464ce4e06c
treef713926357900fa3ff867a4cb35c4fb131a90cfb
parent2fcbfcf47019655dcaf6896c553ac0d3ac77b60a
[llvm-cov] Hide instantiation views for unexecuted functions

Copying in the full text of the function doesn't help at all when we
already know that it's never executed. Just say that it's unexecuted --
the relevant source text has already been printed.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@281589 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/llvm-cov/Inputs/hideUnexecutedSubviews.proftext [new file with mode: 0644]
test/tools/llvm-cov/hideUnexecutedSubviews.test [new file with mode: 0644]
tools/llvm-cov/CodeCoverage.cpp
tools/llvm-cov/SourceCoverageViewHTML.cpp
tools/llvm-cov/SourceCoverageViewText.cpp