summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan Govostes <rzg@apple.com>2016-06-27 05:44:47 +0000
committerRyan Govostes <rzg@apple.com>2016-06-27 05:44:47 +0000
commitd4492ee15995bd19d0616b3c1051c7846ab01bf7 (patch)
treee7c7f2a0426b0a5229e9fa636903bfe428f3c380
parent1ac1fa818e7a4b4a9f0483c07c0b9f9e5a1b0c72 (diff)
downloadbcm5719-llvm-d4492ee15995bd19d0616b3c1051c7846ab01bf7.tar.gz
bcm5719-llvm-d4492ee15995bd19d0616b3c1051c7846ab01bf7.zip
Move -ldl to the correct compiler invocation
llvm-svn: 273844
-rw-r--r--compiler-rt/test/asan/TestCases/Posix/global-registration.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler-rt/test/asan/TestCases/Posix/global-registration.c b/compiler-rt/test/asan/TestCases/Posix/global-registration.c
index d1f55fdd572..62009b36cb7 100644
--- a/compiler-rt/test/asan/TestCases/Posix/global-registration.c
+++ b/compiler-rt/test/asan/TestCases/Posix/global-registration.c
@@ -7,8 +7,8 @@
// RUN: %clang_asan -c -o %t-one.o -DMAIN_FILE %s
// RUN: %clang_asan -c -o %t-two.o -DSECONDARY_FILE %s
-// RUN: %clang_asan -o %t %t-one.o %t-two.o
-// RUN: %clang_asan -o %t-dynamic.so -shared -fPIC -DSHARED_LIBRARY_FILE %s %libdl
+// RUN: %clang_asan -o %t %t-one.o %t-two.o %libdl
+// RUN: %clang_asan -o %t-dynamic.so -shared -fPIC -DSHARED_LIBRARY_FILE %s
// RUN: not %run %t 1 2>&1 | FileCheck --check-prefix ASAN-CHECK-1 %s
// RUN: not %run %t 2 2>&1 | FileCheck --check-prefix ASAN-CHECK-2 %s
// RUN: not %run %t 3 2>&1 | FileCheck --check-prefix ASAN-CHECK-3 %s
OpenPOWER on IntegriCloud