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 | cde90a66b51fd0f6402dc0d981ef2fa8e63ec970 (patch) | |
tree | 768acb1d2e5fc9001beab1627a7729b08928e50a | |
parent | 36559b25274fbb9c63612b68b71f88a926ed2ef9 (diff) | |
download | bcm5719-llvm-cde90a66b51fd0f6402dc0d981ef2fa8e63ec970.tar.gz bcm5719-llvm-cde90a66b51fd0f6402dc0d981ef2fa8e63ec970.zip |
[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
llvm-svn: 305330
-rw-r--r-- | compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc b/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc index a15b5858af4..894013ddd88 100644 --- a/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc +++ b/compiler-rt/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; } |