[compiler-rt] r305113 - Minor clean up of profile rt tests
Xinliang David Li via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 9 14:14:19 PDT 2017
Author: davidxl
Date: Fri Jun 9 16:14:19 2017
New Revision: 305113
URL: http://llvm.org/viewvc/llvm-project?rev=305113&view=rev
Log:
Minor clean up of profile rt tests
Modified:
compiler-rt/trunk/test/profile/Linux/instrprof-alloc.test
compiler-rt/trunk/test/profile/Linux/instrprof-value-prof-warn.test
Modified: compiler-rt/trunk/test/profile/Linux/instrprof-alloc.test
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/profile/Linux/instrprof-alloc.test?rev=305113&r1=305112&r2=305113&view=diff
==============================================================================
--- compiler-rt/trunk/test/profile/Linux/instrprof-alloc.test (original)
+++ compiler-rt/trunk/test/profile/Linux/instrprof-alloc.test Fri Jun 9 16:14:19 2017
@@ -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
Modified: compiler-rt/trunk/test/profile/Linux/instrprof-value-prof-warn.test
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/profile/Linux/instrprof-value-prof-warn.test?rev=305113&r1=305112&r2=305113&view=diff
==============================================================================
--- compiler-rt/trunk/test/profile/Linux/instrprof-value-prof-warn.test (original)
+++ compiler-rt/trunk/test/profile/Linux/instrprof-value-prof-warn.test Fri Jun 9 16:14:19 2017
@@ -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
More information about the llvm-commits
mailing list