[compiler-rt] r202156 - [asan] Remove extra sonames from libraries in tests.
Evgeniy Stepanov
eugeni.stepanov at gmail.com
Tue Feb 25 07:25:38 PST 2014
Author: eugenis
Date: Tue Feb 25 09:25:37 2014
New Revision: 202156
URL: http://llvm.org/viewvc/llvm-project?rev=202156&view=rev
Log:
[asan] Remove extra sonames from libraries in tests.
Modified:
compiler-rt/trunk/test/asan/TestCases/Linux/coverage.cc
compiler-rt/trunk/test/asan/TestCases/interception-in-shared-lib-test.cc
Modified: compiler-rt/trunk/test/asan/TestCases/Linux/coverage.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Linux/coverage.cc?rev=202156&r1=202155&r2=202156&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/Linux/coverage.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/Linux/coverage.cc Tue Feb 25 09:25:37 2014
@@ -1,4 +1,4 @@
-// RUN: %clangxx_asan -mllvm -asan-coverage=1 -DSHARED %s -shared -o %T/libcoverage_test.so -fPIC -Wl,--soname,libcoverage_test.so
+// RUN: %clangxx_asan -mllvm -asan-coverage=1 -DSHARED %s -shared -o %T/libcoverage_test.so -fPIC
// RUN: %clangxx_asan -mllvm -asan-coverage=1 %s -o %t -Wl,-R,\$ORIGIN -L%T -lcoverage_test
// RUN: export ASAN_OPTIONS=coverage=1:verbosity=1
// RUN: %t 2>&1 | FileCheck %s --check-prefix=CHECK-main
Modified: compiler-rt/trunk/test/asan/TestCases/interception-in-shared-lib-test.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/interception-in-shared-lib-test.cc?rev=202156&r1=202155&r2=202156&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/interception-in-shared-lib-test.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/interception-in-shared-lib-test.cc Tue Feb 25 09:25:37 2014
@@ -2,7 +2,7 @@
// RUN: %clangxx_asan -O0 %p/SharedLibs/shared-lib-test-so.cc \
// RUN: -shared -o %T/libinterception-in-shared-lib-test.so \
-// RUN: -fPIC -Wl,--soname,libinterception-in-shared-lib-test.so
+// RUN: -fPIC
// RUN: %clangxx_asan -O0 %s -o %t -Wl,-R,\$ORIGIN -L%T -linterception-in-shared-lib-test && \
// RUN: not %t 2>&1 | FileCheck %s
More information about the llvm-commits
mailing list