[compiler-rt] r196900 - [asan] remove one test from SizedStackTest which relied on a now-wrong assumption that the left stack redzone is >= 32 bytes (PR18195)

Kostya Serebryany kcc at google.com
Tue Dec 10 01:49:31 PST 2013


Author: kcc
Date: Tue Dec 10 03:49:31 2013
New Revision: 196900

URL: http://llvm.org/viewvc/llvm-project?rev=196900&view=rev
Log:
[asan] remove one test from SizedStackTest which relied on a now-wrong assumption that the left stack redzone is >= 32 bytes (PR18195)

Modified:
    compiler-rt/trunk/lib/asan/tests/asan_test.cc

Modified: compiler-rt/trunk/lib/asan/tests/asan_test.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/tests/asan_test.cc?rev=196900&r1=196899&r2=196900&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/tests/asan_test.cc (original)
+++ compiler-rt/trunk/lib/asan/tests/asan_test.cc Tue Dec 10 03:49:31 2013
@@ -454,8 +454,6 @@ NOINLINE void SizedStackTest() {
     A[i] = i;
   EXPECT_DEATH(A[-1] = 0, expected_death);
   EXPECT_DEATH(A[-5] = 0, expected_death);
-  if (kSize > 16 && SANITIZER_WORDSIZE == 64)
-    EXPECT_DEATH(A[-31] = 0, expected_death);
   EXPECT_DEATH(A[kSize] = 0, expected_death);
   EXPECT_DEATH(A[kSize + 1] = 0, expected_death);
   EXPECT_DEATH(A[kSize + 5] = 0, expected_death);





More information about the llvm-commits mailing list