[compiler-rt] r273844 - Move -ldl to the correct compiler invocation

Ryan Govostes via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 26 22:44:48 PDT 2016


Author: rgov
Date: Mon Jun 27 00:44:47 2016
New Revision: 273844

URL: http://llvm.org/viewvc/llvm-project?rev=273844&view=rev
Log:
Move -ldl to the correct compiler invocation

Modified:
    compiler-rt/trunk/test/asan/TestCases/Posix/global-registration.c

Modified: compiler-rt/trunk/test/asan/TestCases/Posix/global-registration.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Posix/global-registration.c?rev=273844&r1=273843&r2=273844&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/Posix/global-registration.c (original)
+++ compiler-rt/trunk/test/asan/TestCases/Posix/global-registration.c Mon Jun 27 00:44:47 2016
@@ -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




More information about the llvm-commits mailing list