summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSean Silva <chisophugis@gmail.com>2016-06-06 23:19:23 +0000
committerSean Silva <chisophugis@gmail.com>2016-06-06 23:19:23 +0000
commit7e4e69abe21a0eec4640f5e6c9a09e520e817937 (patch)
treef7ffab6ceeee2c3557ee7c2681703e59ecff7b58
parentba0aab94ccbc315df02c14f0b6638b4088885781 (diff)
downloadbcm5719-llvm-7e4e69abe21a0eec4640f5e6c9a09e520e817937.tar.gz
bcm5719-llvm-7e4e69abe21a0eec4640f5e6c9a09e520e817937.zip
[libprofile] Also use `env` for this test.
(necessary on Windows) llvm-svn: 271955
-rw-r--r--compiler-rt/test/profile/instrprof-icall-promo.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler-rt/test/profile/instrprof-icall-promo.test b/compiler-rt/test/profile/instrprof-icall-promo.test
index 1be58b8eb0f..5332ef0e17c 100644
--- a/compiler-rt/test/profile/instrprof-icall-promo.test
+++ b/compiler-rt/test/profile/instrprof-icall-promo.test
@@ -2,12 +2,12 @@ RUN: %clangxx_profgen -O2 -Xclang -fprofile-instrument=llvm -c -o %t.1.o %S/Inp
RUN: %clangxx_profgen -O2 -Xclang -fprofile-instrument=llvm -c -o %t.2.o %S/Inputs/instrprof-icall-promo_2.cc
RUN: %clangxx_profgen -O2 -Xclang -fprofile-instrument=llvm %t.2.o %t.1.o -o %t.gen.1
-RUN: LLVM_PROFILE_FILE=%t-icall.profraw %run %t.gen.1
+RUN: env LLVM_PROFILE_FILE=%t-icall.profraw %run %t.gen.1
RUN: llvm-profdata merge -o %t-icall.profdata %t-icall.profraw
RUN: %clangxx -O2 -Rpass=pgo-icall-prom -fprofile-instr-use=%t-icall.profdata -c -o %t.2.use.o %S/Inputs/instrprof-icall-promo_2.cc 2>&1 | FileCheck %s
RUN: %clangxx_profgen -O2 -Xclang -fprofile-instrument=llvm %t.1.o %t.2.o -o %t.gen.2
-RUN: LLVM_PROFILE_FILE=%t-icall2.profraw %run %t.gen.2
+RUN: env LLVM_PROFILE_FILE=%t-icall2.profraw %run %t.gen.2
RUN: llvm-profdata merge -o %t-icall2.profdata %t-icall2.profraw
# The following test will be re-enabled once a compiler bug is fixed.
RUN: %clangxx -O2 -Rpass=pgo-icall-prom -fprofile-instr-use=%t-icall2.profdata -c -o %t.2.use.o %S/Inputs/instrprof-icall-promo_2.cc 2>&1 | FileCheck %s
OpenPOWER on IntegriCloud