summaryrefslogtreecommitdiff
path: root/test/profile
diff options
context:
space:
mode:
authorXinliang David Li <davidxl@google.com>2016-07-22 23:53:00 +0000
committerXinliang David Li <davidxl@google.com>2016-07-22 23:53:00 +0000
commit0aa44be0beb87f257beaeee3149fd269b70e9536 (patch)
treed74b1f76a643862b43a922400c6090c3007eaa70 /test/profile
parentbad1992bf86d98fa5edeeb9e238ed0b63cb6fc2e (diff)
[Profile] Tighten test with expected profile count
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@276500 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/profile')
-rw-r--r--test/profile/instrprof-value-prof-shared.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/profile/instrprof-value-prof-shared.test b/test/profile/instrprof-value-prof-shared.test
index 13f8b7f24..0987d734e 100644
--- a/test/profile/instrprof-value-prof-shared.test
+++ b/test/profile/instrprof-value-prof-shared.test
@@ -23,7 +23,7 @@
// RUN: %clang_pgogen=%t.prof -O2 -mllvm -disable-vp=false -mllvm -vp-static-alloc=true -mllvm -vp-counters-per-site=256 -fPIC -shared -o %t.d/t.ir.m.shared -DSHARED_LIB %S/Inputs/instrprof-value-prof-real.c
// RUN: %clang_pgogen=%t.prof -O2 -mllvm -disable-vp=false -mllvm -vp-static-alloc=true -mllvm -vp-counters-per-site=256 -rpath %t.d -o %t.ir.m %t.d/t.ir.m.shared -DCALL_SHARED %S/Inputs/instrprof-value-prof-real.c
// RUN: LLVM_VP_MAX_NUM_VALS_PER_SITE=255 %run %t.ir.m
-// RUN: llvm-profdata merge -o %t.ir.m.profdata %t.prof/
+// RUN: llvm-profdata merge -o %t.ir.m.profdata -dump-input-file-list %t.prof/ | count 2
// RUN: llvm-profdata show --all-functions -ic-targets %t.ir.m.profdata | FileCheck %S/Inputs/instrprof-value-prof-real.c
// RUN: llvm-profdata merge -text %t.ir.m.profdata -o %t.ir.m.proftxt
// RUN: llvm-profdata show --all-functions -ic-targets %t.ir.m.profdata | FileCheck %S/Inputs/instrprof-value-prof-real.c --check-prefix=SHARED