diff options
| author | Xinliang David Li <davidxl@google.com> | 2017-06-09 21:14:19 +0000 |
|---|---|---|
| committer | Xinliang David Li <davidxl@google.com> | 2017-06-09 21:14:19 +0000 |
| commit | 384f704834407f8e65432afa2438f4f046197608 (patch) | |
| tree | 2f03d937f108b932064593921fffee7876bbc59c | |
| parent | d97265f79273a98f13b447949fda196d1c2330bf (diff) | |
| download | bcm5719-llvm-384f704834407f8e65432afa2438f4f046197608.tar.gz bcm5719-llvm-384f704834407f8e65432afa2438f4f046197608.zip | |
Minor clean up of profile rt tests
llvm-svn: 305113
| -rw-r--r-- | compiler-rt/test/profile/Linux/instrprof-alloc.test | 4 | ||||
| -rw-r--r-- | compiler-rt/test/profile/Linux/instrprof-value-prof-warn.test | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/compiler-rt/test/profile/Linux/instrprof-alloc.test b/compiler-rt/test/profile/Linux/instrprof-alloc.test index 752b1089217..4db764704ad 100644 --- a/compiler-rt/test/profile/Linux/instrprof-alloc.test +++ b/compiler-rt/test/profile/Linux/instrprof-alloc.test @@ -1,6 +1,6 @@ -// RUN: %clang_profgen -Xclang -fprofile-instrument=llvm -fuse-ld=gold -Wl,-wrap,malloc -Wl,-wrap,calloc -o %t -O3 %S/../Inputs/instrprof-alloc.c +// RUN: %clang_pgogen -fuse-ld=gold -Wl,-wrap,malloc -Wl,-wrap,calloc -o %t -O3 %S/../Inputs/instrprof-alloc.c // RUN: env LLVM_PROFILE_FILE=%t.profraw %run %t -// RUN: %clang_profgen -Xclang -fprofile-instrument=llvm -mllvm -vp-static-alloc=false -fuse-ld=gold -Wl,-wrap,malloc -Wl,-wrap,calloc -o %t.dyn -O3 %S/../Inputs/instrprof-alloc.c +// RUN: %clang_pgogen -mllvm -vp-static-alloc=false -fuse-ld=gold -Wl,-wrap,malloc -Wl,-wrap,calloc -o %t.dyn -O3 %S/../Inputs/instrprof-alloc.c // RUN: env LLVM_PROFILE_FILE=%t.profraw not %run %t.dyn diff --git a/compiler-rt/test/profile/Linux/instrprof-value-prof-warn.test b/compiler-rt/test/profile/Linux/instrprof-value-prof-warn.test index 26502cc900d..6ca1603fb24 100644 --- a/compiler-rt/test/profile/Linux/instrprof-value-prof-warn.test +++ b/compiler-rt/test/profile/Linux/instrprof-value-prof-warn.test @@ -1,4 +1,4 @@ -RUN: %clang_profgen -O2 -mllvm -disable-vp=false -Xclang -fprofile-instrument=llvm -mllvm -vp-static-alloc=true -DSTRESS=1 -o %t.ir.warn %S/../Inputs/instrprof-value-prof-real.c +RUN: %clang_pgogen -O2 -mllvm -disable-vp=false -mllvm -vp-static-alloc=true -DSTRESS=1 -o %t.ir.warn %S/../Inputs/instrprof-value-prof-real.c RUN: env LLVM_PROFILE_FILE=%t.ir.profraw LLVM_VP_MAX_NUM_VALS_PER_SITE=255 %run %t.ir.warn 2>&1 |FileCheck --check-prefix=WARNING %s # Test that enough static counters have been allocated RUN: env LLVM_PROFILE_FILE=%t.ir.profraw LLVM_VP_MAX_NUM_VALS_PER_SITE=150 %run %t.ir.warn 2>&1 |FileCheck --check-prefix=NOWARNING --allow-empty %s |

