Reland "SafeStack: Delay thread stack clean-up""
authorVlad Tsyrklevich <vlad@tsyrklevich.net>
Tue, 14 Aug 2018 20:28:58 +0000 (20:28 +0000)
committerVlad Tsyrklevich <vlad@tsyrklevich.net>
Tue, 14 Aug 2018 20:28:58 +0000 (20:28 +0000)
commit05ee22e31dc5fc47352b76068321b564723c40d1
tree936a82c7f34d448c0a5b76c40c0935b4c6f1c445
parent6a1dd77f5daac189954be962a853719e291f5f1f
Reland "SafeStack: Delay thread stack clean-up""

This relands commit r339405 (reverted in commit r339408.) The original
revert was due to tests failing on a darwin buildbot; however, after
looking at the affected code more I realized that the Darwin safestack
support has always been broken and disabled it in r339719. This relands
the original commit.

llvm-svn: 339723
compiler-rt/lib/safestack/safestack.cc
compiler-rt/lib/sanitizer_common/sanitizer_common.h
compiler-rt/lib/sanitizer_common/sanitizer_linux.cc
compiler-rt/test/safestack/pthread-cleanup.c