[asan] Remove extra sonames from libraries in tests.

llvm-svn: 202156
This commit is contained in:
Evgeniy Stepanov 2014-02-25 15:25:37 +00:00
parent 43b5a51e7c
commit 6697dc6aa3
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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