summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-cov/prevent_false_instantiations.h
diff options
context:
space:
mode:
authorYing Yi <maggieyi666@gmail.com>2016-07-22 12:46:13 +0000
committerYing Yi <maggieyi666@gmail.com>2016-07-22 12:46:13 +0000
commite59ee43cf17a7b9dfc5ff4556328d19a2779c2e7 (patch)
tree5df5c1d5573acd0288b8a0c6bb742d1d42c66841 /llvm/test/tools/llvm-cov/prevent_false_instantiations.h
parentf67fbfaa8c627bfbc628adecd4eed80fd85100b4 (diff)
downloadbcm5719-llvm-e59ee43cf17a7b9dfc5ff4556328d19a2779c2e7.tar.gz
bcm5719-llvm-e59ee43cf17a7b9dfc5ff4556328d19a2779c2e7.zip
[llvm-cov] - Add the coverage of lines in the summary report.
The llvm-cov ‘report' command displays a summary of the coverage of a binary file. The summary report currently only includes covered regions and covered functions. This patch adds the coverage of lines in the summary report. Differential Revision: https://reviews.llvm.org/D22569 llvm-svn: 276409
Diffstat (limited to 'llvm/test/tools/llvm-cov/prevent_false_instantiations.h')
-rw-r--r--llvm/test/tools/llvm-cov/prevent_false_instantiations.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/tools/llvm-cov/prevent_false_instantiations.h b/llvm/test/tools/llvm-cov/prevent_false_instantiations.h
index 45aaab6a28c..1cb216ca48e 100644
--- a/llvm/test/tools/llvm-cov/prevent_false_instantiations.h
+++ b/llvm/test/tools/llvm-cov/prevent_false_instantiations.h
@@ -1,7 +1,7 @@
// Checks that function instantiations don't go to a wrong file.
// INSTANTIATION-NOT: {{_Z5func[1,2]v}}
-// NAN-NOT: 0{{[ \t]+}}nan%{{[ \t]+}}0{{[ \t]+}}nan%
+// NAN-NOT: {{[ \t]+}}nan%
// RUN: llvm-profdata merge %S/Inputs/prevent_false_instantiations.proftext -o %t.profdata
// RUN: llvm-cov show -format text %S/Inputs/prevent_false_instantiations.covmapping -instr-profile %t.profdata -filename-equivalence %s | FileCheck %s -check-prefix=INSTANTIATION
OpenPOWER on IntegriCloud