Loading compiler-rt/test/asan/TestCases/Linux/function-sections-are-bad.cc +1 −1 Original line number Diff line number Diff line // Check that --gc-sections does not throw away (or localize) parts of sanitizer // interface. // RUN: %clang_asan %s -Wl,--gc-sections -o %t // RUN: %clang_asan %s -Wl,--gc-sections -ldl -o %t // RUN: %clang_asan %s -DBUILD_SO -fPIC -o %t-so.so -shared // RUN: %t 2>&1 Loading compiler-rt/test/asan/TestCases/Linux/stress_dtls.c +1 −1 Original line number Diff line number Diff line Loading @@ -9,7 +9,7 @@ // RUN: %clangxx_asan -x c -DSO_NAME=f0 %s -shared -o %t-f0.so -fPIC // RUN: %clangxx_asan -x c -DSO_NAME=f1 %s -shared -o %t-f1.so -fPIC // RUN: %clangxx_asan -x c -DSO_NAME=f2 %s -shared -o %t-f2.so -fPIC // RUN: %clangxx_asan %s -o %t // RUN: %clangxx_asan %s -ldl -lpthread -o %t // RUN: %t 0 3 // RUN: %t 2 3 // RUN: ASAN_OPTIONS=verbosity=2 %t 10 2 2>&1 | FileCheck %s Loading compiler-rt/test/asan/TestCases/Linux/tsd_dtor_leak.cc +1 −1 Original line number Diff line number Diff line // Regression test for a leak in tsd: // https://code.google.com/p/address-sanitizer/issues/detail?id=233 // RUN: %clangxx_asan -O1 %s -o %t // RUN: %clangxx_asan -O1 %s -lpthread -o %t // RUN: ASAN_OPTIONS=quarantine_size=1 %t #include <pthread.h> #include <stdio.h> Loading compiler-rt/test/asan/TestCases/Linux/unpoison_tls.cc +1 −1 Original line number Diff line number Diff line // Test that TLS is unpoisoned on thread death. // REQUIRES: x86_64-supported-target,i386-supported-target // RUN: %clangxx_asan -O1 %s -o %t && %t 2>&1 // RUN: %clangxx_asan -O1 %s -lpthread -o %t && %t 2>&1 #include <assert.h> #include <pthread.h> Loading compiler-rt/test/asan/TestCases/asan-symbolize-sanity-test.cc +1 −1 Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ // shared object files. // RUN: %clangxx_asan -O0 %p/SharedLibs/shared-lib-test-so.cc -fPIC -shared -o %t-so.so // RUN: %clangxx_asan -O0 %s -o %t // RUN: %clangxx_asan -O0 %s -ldl -o %t // RUN: ASAN_OPTIONS=symbolize=0 not %t 2>&1 | %asan_symbolize | FileCheck %s #include <dlfcn.h> #include <stdio.h> Loading Loading
compiler-rt/test/asan/TestCases/Linux/function-sections-are-bad.cc +1 −1 Original line number Diff line number Diff line // Check that --gc-sections does not throw away (or localize) parts of sanitizer // interface. // RUN: %clang_asan %s -Wl,--gc-sections -o %t // RUN: %clang_asan %s -Wl,--gc-sections -ldl -o %t // RUN: %clang_asan %s -DBUILD_SO -fPIC -o %t-so.so -shared // RUN: %t 2>&1 Loading
compiler-rt/test/asan/TestCases/Linux/stress_dtls.c +1 −1 Original line number Diff line number Diff line Loading @@ -9,7 +9,7 @@ // RUN: %clangxx_asan -x c -DSO_NAME=f0 %s -shared -o %t-f0.so -fPIC // RUN: %clangxx_asan -x c -DSO_NAME=f1 %s -shared -o %t-f1.so -fPIC // RUN: %clangxx_asan -x c -DSO_NAME=f2 %s -shared -o %t-f2.so -fPIC // RUN: %clangxx_asan %s -o %t // RUN: %clangxx_asan %s -ldl -lpthread -o %t // RUN: %t 0 3 // RUN: %t 2 3 // RUN: ASAN_OPTIONS=verbosity=2 %t 10 2 2>&1 | FileCheck %s Loading
compiler-rt/test/asan/TestCases/Linux/tsd_dtor_leak.cc +1 −1 Original line number Diff line number Diff line // Regression test for a leak in tsd: // https://code.google.com/p/address-sanitizer/issues/detail?id=233 // RUN: %clangxx_asan -O1 %s -o %t // RUN: %clangxx_asan -O1 %s -lpthread -o %t // RUN: ASAN_OPTIONS=quarantine_size=1 %t #include <pthread.h> #include <stdio.h> Loading
compiler-rt/test/asan/TestCases/Linux/unpoison_tls.cc +1 −1 Original line number Diff line number Diff line // Test that TLS is unpoisoned on thread death. // REQUIRES: x86_64-supported-target,i386-supported-target // RUN: %clangxx_asan -O1 %s -o %t && %t 2>&1 // RUN: %clangxx_asan -O1 %s -lpthread -o %t && %t 2>&1 #include <assert.h> #include <pthread.h> Loading
compiler-rt/test/asan/TestCases/asan-symbolize-sanity-test.cc +1 −1 Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ // shared object files. // RUN: %clangxx_asan -O0 %p/SharedLibs/shared-lib-test-so.cc -fPIC -shared -o %t-so.so // RUN: %clangxx_asan -O0 %s -o %t // RUN: %clangxx_asan -O0 %s -ldl -o %t // RUN: ASAN_OPTIONS=symbolize=0 not %t 2>&1 | %asan_symbolize | FileCheck %s #include <dlfcn.h> #include <stdio.h> Loading