[compiler-rt] r305330 - [sanitize] Remove stack size limits from secondary threads.
Evgeniy Stepanov via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 13 15:29:16 PDT 2017
Author: eugenis
Date: Tue Jun 13 17:29:15 2017
New Revision: 305330
URL: http://llvm.org/viewvc/llvm-project?rev=305330&view=rev
Log:
[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
Modified:
compiler-rt/trunk/lib/sanitizer_common/sanitizer_linux_libcdep.cc
Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_linux_libcdep.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_linux_libcdep.cc?rev=305330&r1=305329&r2=305330&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_linux_libcdep.cc (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_linux_libcdep.cc Tue Jun 13 17:29:15 2017
@@ -113,7 +113,6 @@ void GetThreadStackTopAndBottom(bool at_
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;
}
More information about the llvm-commits
mailing list