[compiler-rt] r264682 - [libprofile] Use one fewer -mllvm option in this test.
Sean Silva via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 28 15:23:04 PDT 2016
Author: silvas
Date: Mon Mar 28 17:23:03 2016
New Revision: 264682
URL: http://llvm.org/viewvc/llvm-project?rev=264682&view=rev
Log:
[libprofile] Use one fewer -mllvm option in this test.
AFAIK there is still no way to avoid `-mllvm -disable-vp=false`
currently.
Modified:
compiler-rt/trunk/test/profile/instrprof-value-prof.test
Modified: compiler-rt/trunk/test/profile/instrprof-value-prof.test
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/profile/instrprof-value-prof.test?rev=264682&r1=264681&r2=264682&view=diff
==============================================================================
--- compiler-rt/trunk/test/profile/instrprof-value-prof.test (original)
+++ compiler-rt/trunk/test/profile/instrprof-value-prof.test Mon Mar 28 17:23:03 2016
@@ -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
More information about the llvm-commits
mailing list