diff options
author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2017-06-13 22:29:15 +0000 |
---|---|---|
committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2017-06-13 22:29:15 +0000 |
commit | 5cf6036d46c149520f75ca93289e967277baa930 (patch) | |
tree | b9a1923f2ad76604d8e90740719f50a915d33cc7 /lib | |
parent | 81825ab6eab9b060f549a94c281c7cc3cc4f1b4f (diff) |
[sanitize] Remove stack size limits from secondary threads.
If pthread_attr_getstack tell us the stack is 2G, why would we doubt that?
Differential Revision: https://reviews.llvm.org/D34169
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@305330 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/sanitizer_common/sanitizer_linux_libcdep.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/sanitizer_common/sanitizer_linux_libcdep.cc b/lib/sanitizer_common/sanitizer_linux_libcdep.cc index a15b5858a..894013ddd 100644 --- a/lib/sanitizer_common/sanitizer_linux_libcdep.cc +++ b/lib/sanitizer_common/sanitizer_linux_libcdep.cc @@ -113,7 +113,6 @@ void GetThreadStackTopAndBottom(bool at_initialization, uptr *stack_top, my_pthread_attr_getstack(&attr, &stackaddr, &stacksize); pthread_attr_destroy(&attr); - CHECK_LE(stacksize, kMaxThreadStackSize); // Sanity check. *stack_top = (uptr)stackaddr + stacksize; *stack_bottom = (uptr)stackaddr; } |