summaryrefslogtreecommitdiff
path: root/test/profile/instrprof-basic.c
diff options
context:
space:
mode:
authorGreg Fitzgerald <gregf@codeaurora.org>2014-04-30 21:32:30 +0000
committerGreg Fitzgerald <gregf@codeaurora.org>2014-04-30 21:32:30 +0000
commit16bae2463f98c0e3988b3bd94fce5012ae6a68ba (patch)
tree9d37d5fcd1e7131a14f52a48e999d89d216a8778 /test/profile/instrprof-basic.c
parentcbb872db8f91cb20723f09f6fed8099d9f00a0d8 (diff)
Allow any test to be executed via a %run command.
Configure %run with COMPILER_RT_EMULATOR: $ cmake -DCOMPILER_RT_EMULATOR="qemu-arm -L $SYSROOT" git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@207707 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/profile/instrprof-basic.c')
-rw-r--r--test/profile/instrprof-basic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/profile/instrprof-basic.c b/test/profile/instrprof-basic.c
index b84c96dab..3db083140 100644
--- a/test/profile/instrprof-basic.c
+++ b/test/profile/instrprof-basic.c
@@ -1,5 +1,5 @@
// RUN: %clang_profgen -o %t -O3 %s
-// RUN: env LLVM_PROFILE_FILE=%t.profraw %t
+// RUN: env LLVM_PROFILE_FILE=%t.profraw %run %t
// RUN: llvm-profdata merge -o %t.profdata %t.profraw
// RUN: %clang_profuse=%t.profdata -o - -S -emit-llvm %s | FileCheck %s