diff options
| author | Xinliang David Li <davidxl@google.com> | 2016-07-22 23:53:00 +0000 |
|---|---|---|
| committer | Xinliang David Li <davidxl@google.com> | 2016-07-22 23:53:00 +0000 |
| commit | 54bb751a87298a0f7d0ec8dfc621b5c4efbbbdce (patch) | |
| tree | f838ef6bd2270653692cf8058b0f303492beda4e /compiler-rt/test | |
| parent | a84c24f39cf7ef511b877b8ad2f00995d6b83a1a (diff) | |
| download | bcm5719-llvm-54bb751a87298a0f7d0ec8dfc621b5c4efbbbdce.tar.gz bcm5719-llvm-54bb751a87298a0f7d0ec8dfc621b5c4efbbbdce.zip | |
[Profile] Tighten test with expected profile count
llvm-svn: 276500
Diffstat (limited to 'compiler-rt/test')
| -rw-r--r-- | compiler-rt/test/profile/instrprof-value-prof-shared.test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/test/profile/instrprof-value-prof-shared.test b/compiler-rt/test/profile/instrprof-value-prof-shared.test index 13f8b7f247c..0987d734e9f 100644 --- a/compiler-rt/test/profile/instrprof-value-prof-shared.test +++ b/compiler-rt/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 |

