Skip to content

Commit

Permalink
[asan] Remove check for stack size
Browse files Browse the repository at this point in the history
This has been introduced in r304598 and fails for increased stack sizes.

Differential Revision: https://reviews.llvm.org/D34876

llvm-svn: 307127
  • Loading branch information
Jonas Hahnfeld authored and Jonas Hahnfeld committed Jul 5, 2017
1 parent 80bc4a5 commit 5b14061
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion compiler-rt/lib/asan/asan_thread.cc
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,6 @@ FakeStack *AsanThread::AsyncSignalSafeLazyInitFakeStack() {
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
Expand Down

0 comments on commit 5b14061

Please sign in to comment.