Author: hans Date: Thu Aug 11 16:50:18 2016 New Revision: 278427 URL: http://llvm.org/viewvc/llvm-project?rev=278427&view=rev Log: Remove test/asan/TestCases/Darwin/dead-strip.c
The test is gated on OS version, but actually depends on what SDK is used, see PR28743. Deleting to unblock 3.9. Removed: compiler-rt/branches/release_39/test/asan/TestCases/Darwin/dead-strip.c Modified: compiler-rt/branches/release_39/ (props changed) Propchange: compiler-rt/branches/release_39/ ------------------------------------------------------------------------------ --- svn:mergeinfo (original) +++ svn:mergeinfo Thu Aug 11 16:50:18 2016 @@ -1 +1 @@ -/compiler-rt/trunk:275946,275948,277297,277300 +/compiler-rt/trunk:275946,275948,276015,277297,277300 Removed: compiler-rt/branches/release_39/test/asan/TestCases/Darwin/dead-strip.c URL: http://llvm.org/viewvc/llvm-project/compiler-rt/branches/release_39/test/asan/TestCases/Darwin/dead-strip.c?rev=278426&view=auto ============================================================================== --- compiler-rt/branches/release_39/test/asan/TestCases/Darwin/dead-strip.c (original) +++ compiler-rt/branches/release_39/test/asan/TestCases/Darwin/dead-strip.c (removed) @@ -1,22 +0,0 @@ -// Test that AddressSanitizer does not re-animate dead globals when dead -// stripping is turned on. -// -// This test verifies that an out-of-bounds access on a global variable is -// detected after dead stripping has been performed. This proves that the -// runtime is able to register globals in the __DATA,__asan_globals section. - -// REQUIRES: osx-ld64-live_support -// RUN: %clang_asan -mllvm -asan-globals-live-support -Xlinker -dead_strip -o %t %s -// RUN: llvm-nm -format=posix %t | FileCheck --check-prefix NM-CHECK %s -// RUN: not %run %t 2>&1 | FileCheck --check-prefix ASAN-CHECK %s - -int alive[1] = {}; -int dead[1] = {}; -// NM-CHECK: {{^_alive }} -// NM-CHECK-NOT: {{^_dead }} - -int main(int argc, char *argv[]) { - alive[argc] = 0; - // ASAN-CHECK: {{0x.* is located 0 bytes to the right of global variable}} - return 0; -} _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits