llvm-project/compiler-rt/lib
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
..
BlocksRuntime Move tests for BlocksRuntime and builtins to corresponding directories under test/ 2014-02-14 09:47:31 +00:00
asan Pacify lint check 2016-11-09 08:36:45 +00:00
builtins build: give aliases the same visibility 2016-10-28 23:37:50 +00:00
cfi [compiler-rt] Do not introduce __sanitizer namespace globally 2016-09-15 21:02:18 +00:00
dfsan [compiler-rt] Do not introduce __sanitizer namespace globally 2016-09-15 21:02:18 +00:00
esan [esan] Fix ESan test failure on Debian Sid bot 2016-10-07 20:53:35 +00:00
interception [compiler-rt] Fix interception of crt atoll on win10 CRT. 2016-09-30 19:37:11 +00:00
lsan [asan/lsan] Avoid possible deadlock in dynamic ASan runtime thread initialization. 2016-10-28 06:49:53 +00:00
msan Don't use internal symbolizer if we are in process of reporting Out-of-Memory. 2016-09-29 23:00:54 +00:00
profile [profile] Mark lprofCurFilename as COMPILER_RT_WEAK 2016-10-18 00:02:28 +00:00
safestack [compiler-rt] Do not introduce __sanitizer namespace globally 2016-09-15 21:02:18 +00:00
sanitizer_common [asan/win] Delay load dbghelp.dll to delay ucrtbase.dll initialization 2016-11-14 17:37:50 +00:00
scudo [scudo] Lay the foundation for 32-bit support 2016-10-26 16:16:58 +00:00
stats stats: define WIN32_LEAN_AND_MEAN when including windows.h 2016-08-30 20:15:46 +00:00
tsan [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
ubsan [ubsan] More 0 -> nullptr conversions (NFC) 2016-10-06 23:41:57 +00:00
xray [XRay][x86_64] Define a tail exit trampoline. 2016-11-02 04:11:29 +00:00
CMakeLists.txt build: allow building a specific set of sanitizers 2016-08-19 15:13:21 +00:00