[PATCH] D34169: [sanitizer] Remove stack size limits from secondary threads.
Evgenii Stepanov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 13 13:48:44 PDT 2017
eugenis created this revision.
Herald added a subscriber: kubamracek.
If pthread_attr_getstack tell us the stack is 2G, why would we doubt that?
Repository:
rL LLVM
https://reviews.llvm.org/D34169
Files:
lib/sanitizer_common/sanitizer_linux_libcdep.cc
Index: lib/sanitizer_common/sanitizer_linux_libcdep.cc
===================================================================
--- lib/sanitizer_common/sanitizer_linux_libcdep.cc
+++ lib/sanitizer_common/sanitizer_linux_libcdep.cc
@@ -113,7 +113,6 @@
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;
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34169.102401.patch
Type: text/x-patch
Size: 488 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170613/6c17fbfb/attachment.bin>
More information about the llvm-commits
mailing list