llvm-project/compiler-rt/lib/tsan
Kuba Brecka b0dd454a1a [tsan] Add support for C++ exceptions into TSan (call __tsan_func_exit during unwinding), compiler-rt part
This adds support for TSan C++ exception handling, where we need to add extra calls to __tsan_func_exit when a function is exitted via exception mechanisms. Otherwise the shadow stack gets corrupted (leaked). This patch moves and enhances the existing implementation of EscapeEnumerator that finds all possible function exit points, and adds extra EH cleanup blocks where needed.

Differential Revision: https://reviews.llvm.org/D26177

llvm-svn: 286894
2016-11-14 21:41:33 +00:00
..
benchmarks
dd [tsan] Switch to InternalAlloc everywhere __libc_malloc is currently used 2016-06-06 18:18:47 +00:00
go tsan: add a hook to obtain number of reports 2016-10-28 21:25:37 +00:00
rtl [tsan] Add support for C++ exceptions into TSan (call __tsan_func_exit during unwinding), compiler-rt part 2016-11-14 21:41:33 +00:00
tests [sanitizers] Set Darwin specific linker and compiler flags for all tests 2016-10-26 23:23:38 +00:00
.clang-format Tell clang-format that (most) sanitizers are written using Google style guide. 2015-11-19 22:11:10 +00:00
CMakeLists.txt [tsan] Bump stack frame size limit. 2016-09-01 20:43:59 +00:00
analyze_libtsan.sh [TSan] Slightly improve check_analyze script. 2015-12-07 20:18:50 +00:00
check_analyze.sh tsan: update tsan_analyze to what tip clang generates 2016-05-03 13:59:41 +00:00
check_cmake.sh tsan: use a different dir for llvm build 2014-10-15 08:56:15 +00:00