diff options
Diffstat (limited to 'compiler-rt/lib/asan/asan_allocator.cc')
-rw-r--r-- | compiler-rt/lib/asan/asan_allocator.cc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/compiler-rt/lib/asan/asan_allocator.cc b/compiler-rt/lib/asan/asan_allocator.cc index d864ea1f793..de37137562e 100644 --- a/compiler-rt/lib/asan/asan_allocator.cc +++ b/compiler-rt/lib/asan/asan_allocator.cc @@ -998,10 +998,6 @@ void FakeStack::OnFree(uptr ptr, uptr size, uptr real_stack) { CHECK(fake_frame->descr != 0); CHECK(fake_frame->size_minus_one == size - 1); PoisonShadow(ptr, size, kAsanStackAfterReturnMagic); - CHECK(size >= SHADOW_GRANULARITY); - // Poison the leftmost shadow byte with a special value so that we can find - // the beginning of the fake frame when reporting an error. - PoisonShadow(ptr, SHADOW_GRANULARITY, kAsanStackAfterReturnLeftMagic); } } // namespace __asan |