[PATCH] D34876: [asan] Remove check for stack size

Jonas Hahnfeld via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 4 23:55:15 PDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL307127: [asan] Remove check for stack size (authored by Hahnfeld).

Changed prior to commit:
  https://reviews.llvm.org/D34876?vs=104845&id=105222#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D34876

Files:
  compiler-rt/trunk/lib/asan/asan_thread.cc


Index: compiler-rt/trunk/lib/asan/asan_thread.cc
===================================================================
--- compiler-rt/trunk/lib/asan/asan_thread.cc
+++ compiler-rt/trunk/lib/asan/asan_thread.cc
@@ -200,7 +200,6 @@
   uptr stack_size = this->stack_size();
   if (stack_size == 0)  // stack_size is not yet available, don't use FakeStack.
     return nullptr;
-  CHECK_LE(stack_size, 0x10000000);
   uptr old_val = 0;
   // fake_stack_ has 3 states:
   // 0   -- not initialized


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34876.105222.patch
Type: text/x-patch
Size: 492 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170705/6e06c101/attachment-0001.bin>


More information about the llvm-commits mailing list