diff options
author | Ed Maste <emaste@freebsd.org> | 2014-10-07 19:24:24 +0000 |
---|---|---|
committer | Ed Maste <emaste@freebsd.org> | 2014-10-07 19:24:24 +0000 |
commit | da9a2df09dd73ea81329bb1bd204e8bf6162fc3d (patch) | |
tree | dd0b3c2919a9a5af8dc6a9099cfa408ec65226dc /test/profile/instrprof-dlopen.test | |
parent | 665c1799bc5c37cd692e20819390434ae656805f (diff) |
Run profile tests on FreeBSD
FreeBSD does not have libdl, so set it via lit.cfg instead of the test
input, as with asan. Also remove it from Darwin test runs - it's not
necessary, but harmless there.
Add FreeBSD to the list of hosts to test.
Differential Revision: http://reviews.llvm.org/D5650
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@219227 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/profile/instrprof-dlopen.test')
-rw-r--r-- | test/profile/instrprof-dlopen.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/profile/instrprof-dlopen.test b/test/profile/instrprof-dlopen.test index f0c067fb4..ba386e347 100644 --- a/test/profile/instrprof-dlopen.test +++ b/test/profile/instrprof-dlopen.test @@ -1,8 +1,8 @@ RUN: mkdir -p %t.d RUN: %clang_profgen -o %t.d/func.shared -fPIC -shared %S/Inputs/instrprof-dlopen-func.c RUN: %clang_profgen -o %t.d/func2.shared -fPIC -shared %S/Inputs/instrprof-dlopen-func2.c -RUN: %clang -o %t-local -fPIC -DDLOPEN_FUNC_DIR=\"%t.d\" -DDLOPEN_FLAGS="RTLD_LAZY | RTLD_LOCAL" %S/Inputs/instrprof-dlopen-main.c -ldl -RUN: %clang -o %t-global -fPIC -DDLOPEN_FUNC_DIR=\"%t.d\" -DDLOPEN_FLAGS="RTLD_LAZY | RTLD_GLOBAL" %S/Inputs/instrprof-dlopen-main.c -ldl +RUN: %clang -o %t-local -fPIC -DDLOPEN_FUNC_DIR=\"%t.d\" -DDLOPEN_FLAGS="RTLD_LAZY | RTLD_LOCAL" %S/Inputs/instrprof-dlopen-main.c +RUN: %clang -o %t-global -fPIC -DDLOPEN_FUNC_DIR=\"%t.d\" -DDLOPEN_FLAGS="RTLD_LAZY | RTLD_GLOBAL" %S/Inputs/instrprof-dlopen-main.c RUN: %clang -c -o %t.d/main.o %S/Inputs/instrprof-dlopen-main.c RUN: %clang_profgen -o %t-static %S/Inputs/instrprof-dlopen-func.c %S/Inputs/instrprof-dlopen-func2.c %t.d/main.o |