[PATCH] Add FreeBSD support to the address sanitizer's deep_call_stack.cc test case
Viktor Kutuzov
vkutuzov at accesssoftek.com
Thu Aug 7 23:53:39 PDT 2014
Further investigation indicates that the problem is the main thread stack size and not the system stack size.
According to the discussion at:
<http://freebsd.1045724.n5.nabble.com/libthr-and-main-thread-stack-size-td5935621.html>
the main thread stack size is set to 4M on x86-64 and cannot be changed. For i386 it is half of that value.
What if we reduce the depth of the recursion for all platforms and add 'ulimit -s 4096' to the run lines?
http://reviews.llvm.org/D4562
More information about the llvm-commits
mailing list