[compiler-rt] r307127 - [asan] Remove check for stack size
Jonas Hahnfeld via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 4 23:54:43 PDT 2017
Author: hahnfeld
Date: Tue Jul 4 23:54:43 2017
New Revision: 307127
URL: http://llvm.org/viewvc/llvm-project?rev=307127&view=rev
Log:
[asan] Remove check for stack size
This has been introduced in r304598 and fails for increased stack sizes.
Differential Revision: https://reviews.llvm.org/D34876
Modified:
compiler-rt/trunk/lib/asan/asan_thread.cc
Modified: compiler-rt/trunk/lib/asan/asan_thread.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/asan_thread.cc?rev=307127&r1=307126&r2=307127&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/asan_thread.cc (original)
+++ compiler-rt/trunk/lib/asan/asan_thread.cc Tue Jul 4 23:54:43 2017
@@ -200,7 +200,6 @@ FakeStack *AsanThread::AsyncSignalSafeLa
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
More information about the llvm-commits
mailing list