summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-cov/Inputs/zeroFunctionFile.covmapping
diff options
context:
space:
mode:
authorAlex Lorenz <arphaman@gmail.com>2016-11-21 14:00:04 +0000
committerAlex Lorenz <arphaman@gmail.com>2016-11-21 14:00:04 +0000
commit35369c1eb6c4066a563c5a1766c5fb449dc85eb5 (patch)
tree6d13b621bf3d3bdd02d127965f9f535acdd864c7 /llvm/test/tools/llvm-cov/Inputs/zeroFunctionFile.covmapping
parent91972d7f9d9ab4c4db34bc003df1064ae5805736 (diff)
downloadbcm5719-llvm-35369c1eb6c4066a563c5a1766c5fb449dc85eb5.tar.gz
bcm5719-llvm-35369c1eb6c4066a563c5a1766c5fb449dc85eb5.zip
[llvm-cov] Avoid 0% when reporting something that's 0/0
This commit makes llvm-cov avoid showing 0% (0/0) coverage for things like file function coverage, etc. in reports and HTML output. This can happen for files like headers that have macros but no functions. This commit makes llvm-cov report - (0/0) instead. rdar://29246480 Differential Revision: https://reviews.llvm.org/D26615 llvm-svn: 287539
Diffstat (limited to 'llvm/test/tools/llvm-cov/Inputs/zeroFunctionFile.covmapping')
-rw-r--r--llvm/test/tools/llvm-cov/Inputs/zeroFunctionFile.covmappingbin0 -> 192 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/llvm/test/tools/llvm-cov/Inputs/zeroFunctionFile.covmapping b/llvm/test/tools/llvm-cov/Inputs/zeroFunctionFile.covmapping
new file mode 100644
index 00000000000..b2c198a8fe0
--- /dev/null
+++ b/llvm/test/tools/llvm-cov/Inputs/zeroFunctionFile.covmapping
Binary files differ
OpenPOWER on IntegriCloud