diff --git a/compiler-rt/test/asan/TestCases/Linux/coverage.cc b/compiler-rt/test/asan/TestCases/Linux/coverage.cc index 7c75b0960dca..ea428bc9a0bf 100644 --- a/compiler-rt/test/asan/TestCases/Linux/coverage.cc +++ b/compiler-rt/test/asan/TestCases/Linux/coverage.cc @@ -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 diff --git a/compiler-rt/test/asan/TestCases/interception-in-shared-lib-test.cc b/compiler-rt/test/asan/TestCases/interception-in-shared-lib-test.cc index 27fce453c454..1aa71ffc159a 100644 --- a/compiler-rt/test/asan/TestCases/interception-in-shared-lib-test.cc +++ b/compiler-rt/test/asan/TestCases/interception-in-shared-lib-test.cc @@ -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