forked from OSchip/llvm-project
[asan] Remove extra sonames from libraries in tests.
llvm-svn: 202156
This commit is contained in:
parent
43b5a51e7c
commit
6697dc6aa3
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue