summaryrefslogtreecommitdiff
path: root/test/profile/Linux
diff options
context:
space:
mode:
authorSean Silva <chisophugis@gmail.com>2016-06-12 04:17:57 +0000
committerSean Silva <chisophugis@gmail.com>2016-06-12 04:17:57 +0000
commit5885e1e27091f3774465b62649c271bd13a237ae (patch)
treefe0624218431a7620f26a153e93aee11b6278c07 /test/profile/Linux
parent98339b23fb3ea2257076fe125cb7189a1498b0b2 (diff)
[libprofile] Define an expansion `%clang_profgen=`
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@272498 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/profile/Linux')
-rw-r--r--test/profile/Linux/instrprof-set-filename-shared.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/profile/Linux/instrprof-set-filename-shared.test b/test/profile/Linux/instrprof-set-filename-shared.test
index cea0b4837..29e671328 100644
--- a/test/profile/Linux/instrprof-set-filename-shared.test
+++ b/test/profile/Linux/instrprof-set-filename-shared.test
@@ -1,6 +1,6 @@
# Test that __llvm_profile_set_filename is honored by shared libary too.
RUN: mkdir -p %t.d
-RUN: %clang -fprofile-instr-generate=%t.shared.profraw -fPIC -shared -o %t.d/t.shared %S/../Inputs/instrprof-dlopen-func.c
+RUN: %clang_profgen=%t.shared.profraw -fPIC -shared -o %t.d/t.shared %S/../Inputs/instrprof-dlopen-func.c
RUN: %clang_profgen -DCALL_SHARED -o %t.m -O3 -rpath %t.d %t.d/t.shared %S/../instrprof-set-filename.c
RUN: %run %t.m %t.main.profraw
RUN: llvm-profdata show %t.main.profraw | FileCheck --check-prefix=SHARED %s