summaryrefslogtreecommitdiffstats
path: root/compiler-rt
diff options
context:
space:
mode:
authorSean Silva <chisophugis@gmail.com>2016-03-28 22:23:03 +0000
committerSean Silva <chisophugis@gmail.com>2016-03-28 22:23:03 +0000
commitc9d546c2915de3c9c5ad2f84ab3b8016d4aab6a0 (patch)
tree76aa9ea26157afa8daaf31bfb6ce1bca1a55bd10 /compiler-rt
parent1e217bc25fc7303441239e63462c7ef65806fa22 (diff)
downloadbcm5719-llvm-c9d546c2915de3c9c5ad2f84ab3b8016d4aab6a0.tar.gz
bcm5719-llvm-c9d546c2915de3c9c5ad2f84ab3b8016d4aab6a0.zip
[libprofile] Use one fewer -mllvm option in this test.
AFAIK there is still no way to avoid `-mllvm -disable-vp=false` currently. llvm-svn: 264682
Diffstat (limited to 'compiler-rt')
-rw-r--r--compiler-rt/test/profile/instrprof-value-prof.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler-rt/test/profile/instrprof-value-prof.test b/compiler-rt/test/profile/instrprof-value-prof.test
index 7ebeff37bce..4040ef36781 100644
--- a/compiler-rt/test/profile/instrprof-value-prof.test
+++ b/compiler-rt/test/profile/instrprof-value-prof.test
@@ -4,8 +4,8 @@
// RUN: llvm-profdata show --all-functions -ic-targets %t.profdata | FileCheck %S/Inputs/instrprof-value-prof-real.c
// do two step build before the clang option is ready
-// RUN: %clang -O2 -mllvm -disable-vp=false -mllvm -profile-generate=%t.ir.profraw -c -o %t.ir.o %S/Inputs/instrprof-value-prof-real.c
+// RUN: %clang -O2 -mllvm -disable-vp=false -Xclang -fprofile-instrument=llvm -c -o %t.ir.o %S/Inputs/instrprof-value-prof-real.c
// RUN: %clang_profgen -O2 -o %t.ir %t.ir.o
-// RUN: %run %t.ir
+// RUN: env LLVM_PROFILE_FILE=%t.ir.profraw %run %t.ir
// RUN: llvm-profdata merge -o %t.ir.profdata %t.ir.profraw
// RUN: llvm-profdata show --all-functions -ic-targets %t.ir.profdata | FileCheck %S/Inputs/instrprof-value-prof-real.c
OpenPOWER on IntegriCloud