llvm-project/compiler-rt/lib/tsan
Dmitry Vyukov b79ac88155 asan: fix signal handling during stoptheworld
The problem is that without SA_RESTORER flag, kernel ignores the handler. So tracer actually did not setup any handler.
Add SA_RESTORER flag when setting up handlers.
Add a test that causes SIGSEGV in stoptheworld callback.
Move SignalContext from asan to sanitizer_common to print better diagnostics about signal in the tracer thread.

http://reviews.llvm.org/D8005

llvm-svn: 230978
2015-03-02 17:36:02 +00:00
..
benchmarks [tsan] ThreadSanitizer tests and micro benchmarks. No makefiles yet. 2012-05-10 14:18:22 +00:00
dd [Sanitizer] Change InitializeFlags() signatures. NFC. 2015-02-12 00:36:42 +00:00
go Revert r230171 "TSan runtime: unbreak the build with ccache" 2015-02-22 12:20:05 +00:00
rtl asan: fix signal handling during stoptheworld 2015-03-02 17:36:02 +00:00
tests [TSan][MIPS] Adding support for MIPS64 2015-02-20 06:42:41 +00:00
CMakeLists.txt Re-land part of r230171: fix GoTsanRuntimeCheck with ccache. 2015-02-23 19:35:42 +00:00
Makefile.old Remove TSAN_DEBUG in favor of SANITIZER_DEBUG. 2015-01-03 04:29:12 +00:00
analyze_libtsan.sh tsan: add interface functions for unaligned access, e.g. __sanitizer_unaligned_load16 2013-04-30 11:56:56 +00:00
check_analyze.sh [TSan] Update check_analyze.sh expectations to match trunk Clang output. 2015-02-02 22:17:23 +00:00
check_cmake.sh tsan: use a different dir for llvm build 2014-10-15 08:56:15 +00:00
check_memcpy.sh tsan: refactor storage of meta information for heap blocks and sync objects 2014-05-29 13:50:54 +00:00