llvm-project/compiler-rt/test
Derek Bruening 34913f3beb [esan|wset] Ensure SIGSEGV is not blocked
Summary:
Adds interception of sigprocmask and pthread_sigmask to esan so that the
working set tool can prevent SIGSEGV from being blocked.  A blocked SIGSEGV
results in crashes due to our lazy shadow page allocation scheme.

Adds new sanitizer helper functions internal_sigemptyset and
internal_sigismember.

Adds a test to workingset-signal-posix.cpp.

Reviewers: aizatsky

Subscribers: vitalybuka, zhaoqin, kcc, eugenis, llvm-commits, kubabrecka

Differential Revision: http://reviews.llvm.org/D22063

llvm-svn: 274672
2016-07-06 21:04:48 +00:00
..
BlocksRuntime Move tests for BlocksRuntime and builtins to corresponding directories under test/ 2014-02-14 09:47:31 +00:00
asan [asan] Update tests according to r274578 2016-07-05 21:53:23 +00:00
builtins Add a generic version of __divtc3.c for long double complex division. 2015-11-22 19:13:49 +00:00
cfi cfi: Start testing CFI in both standalone and devirtualization modes. 2016-06-25 00:24:22 +00:00
dfsan Replace hardcoded comment at 'lit.site.cfg.in' 2016-04-16 07:03:45 +00:00
esan [esan|wset] Ensure SIGSEGV is not blocked 2016-07-06 21:04:48 +00:00
lsan Replace hardcoded comment at 'lit.site.cfg.in' 2016-04-16 07:03:45 +00:00
msan [msan] Fix handling of padding in sendmsg control data. 2016-06-28 22:42:31 +00:00
profile fix a test bug when executed remotedly 2016-06-24 17:42:51 +00:00
safestack Replace hardcoded comment at 'lit.site.cfg.in' 2016-04-16 07:03:45 +00:00
sanitizer_common [sanitizers] introduce yet another API function: __sanitizer_install_malloc_and_free_hooks 2016-06-16 20:06:06 +00:00
scudo [scudo] trying to fix the bot: aligned_alloc is not known there; attempt 3 2016-06-07 23:49:11 +00:00
tsan [tsan] Fix false positives with GCD dispatch_source_* 2016-07-06 11:02:49 +00:00
ubsan Merge two coverage tests undef UBSan into one. 2016-06-15 21:18:17 +00:00
CMakeLists.txt [sanitizer] Initial implementation of a Hardened Allocator 2016-06-07 01:20:26 +00:00
lit.common.cfg cfi: Start testing CFI in both standalone and devirtualization modes. 2016-06-25 00:24:22 +00:00
lit.common.configured.in Replace hardcoded comment at 'lit.site.cfg.in' 2016-04-16 07:03:45 +00:00