llvm/test/Instrumentation/ThreadSanitizer
Kuba Brecka d84b0f9851 [tsan] Add support for C++ exceptions into TSan (call __tsan_func_exit during unwinding), LLVM 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



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@286893 91177308-0d34-0410-b5e6-96231b3b80d8
2016-11-14 21:41:13 +00:00
..
atomic-non-integer.ll [tsan] Cast floating-point types correctly when instrumenting atomic accesses, LLVM part 2016-11-07 19:09:56 +00:00
atomic.ll
capture.ll
do-not-instrument-memory-access.ll [tsan] Don't instrument __llvm_gcov_global_state_pred or __llvm_gcda* 2016-07-19 20:16:08 +00:00
eh.ll [tsan] Add support for C++ exceptions into TSan (call __tsan_func_exit during unwinding), LLVM part 2016-11-14 21:41:13 +00:00
no_sanitize_thread.ll [tsan] Add support for C++ exceptions into TSan (call __tsan_func_exit during unwinding), LLVM part 2016-11-14 21:41:13 +00:00
read_before_write.ll
read_from_global.ll
sanitize-thread-no-checking.ll [tsan] Add support for C++ exceptions into TSan (call __tsan_func_exit during unwinding), LLVM part 2016-11-14 21:41:13 +00:00
str-nobuiltin.ll [tsan] Add support for C++ exceptions into TSan (call __tsan_func_exit during unwinding), LLVM part 2016-11-14 21:41:13 +00:00
tsan_address_space_attr.ll [asan] Do not instrument pointers with address space attributes 2016-06-22 00:15:52 +00:00
tsan_basic.ll
tsan-vs-gvn.ll
unaligned.ll
vptr_read.ll
vptr_update.ll