[sanitizer] Simplify sigaction and sigset_t handling.



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189338 91177308-0d34-0410-b5e6-96231b3b80d8
[msan] A test for ppoll() interceptor.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189339 91177308-0d34-0410-b5e6-96231b3b80d8
[msan] Fix a data race in signal/sigaction interceptors.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189342 91177308-0d34-0410-b5e6-96231b3b80d8
[msan] Unpoison all TLS shadow when leaving a signal handler.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189343 91177308-0d34-0410-b5e6-96231b3b80d8
LSan: Check that dynamic linker library is properly symbolized

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189347 91177308-0d34-0410-b5e6-96231b3b80d8
Revert r189347: it breaks on machines w/o installed debug versions of system libraries

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189350 91177308-0d34-0410-b5e6-96231b3b80d8
[msan] Save/restore va_arg_overflow_tls in signal handlers.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189351 91177308-0d34-0410-b5e6-96231b3b80d8
Properly generate lists of exported symbols for sanitizer runtimes

This change adds a Python script that is invoked for
the just-built sanitizer runtime to generate the list of exported symbols
passed to the linker. By default, it contains interceptors and sanitizer
interface functions, but can be extended with tool-specific lists.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189356 91177308-0d34-0410-b5e6-96231b3b80d8
Generate list of symbols exported from sanitizer runtimes only on 64-bit Unix

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189454 91177308-0d34-0410-b5e6-96231b3b80d8
[asan]: fix a CHECK failure in use-after-return mode; enable and fix stack-use-after-return.cc; add a test for UAR mode in asan_noinst_test 

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189457 91177308-0d34-0410-b5e6-96231b3b80d8
[msan] Remove extra backup/restore calls.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189461 91177308-0d34-0410-b5e6-96231b3b80d8