[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 15:29:56 PDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL305330: [sanitize] Remove stack size limits from secondary threads. (authored by eugenis).

Changed prior to commit:
  https://reviews.llvm.org/D34169?vs=102401&id=102440#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D34169

Files:
  compiler-rt/trunk/lib/sanitizer_common/sanitizer_linux_libcdep.cc


Index: compiler-rt/trunk/lib/sanitizer_common/sanitizer_linux_libcdep.cc
===================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_linux_libcdep.cc
+++ compiler-rt/trunk/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.102440.patch
Type: text/x-patch
Size: 542 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170613/d1e1b4a6/attachment.bin>


More information about the llvm-commits mailing list