llvm-project/compiler-rt/test
Dmitry Vyukov 47b7c5c912 [asan] add primitives that allow coroutine implementations
This patch adds the __sanitizer_start_switch_fiber and
__sanitizer_finish_switch_fiber methods inspired from what can be found here
2ea64dd249 .

These methods are needed when the compiled software needs to implement
coroutines, fibers or the like. Without a way to annotate them, when the program
jumps to a stack that is not the thread stack, __asan_handle_no_return shows a
warning about that, and the fake stack mechanism may free fake frames that are
still in use.

Author: blastrock (Philippe Daouadi)
Reviewed in http://reviews.llvm.org/D20913

llvm-svn: 273260
2016-06-21 12:29:18 +00:00
..
BlocksRuntime
asan [asan] add primitives that allow coroutine implementations 2016-06-21 12:29:18 +00:00
builtins Add a generic version of __divtc3.c for long double complex division. 2015-11-22 19:13:49 +00:00
cfi Update visibility flags for CFI tests. 2016-04-28 17:09:09 +00:00
dfsan Replace hardcoded comment at 'lit.site.cfg.in' 2016-04-16 07:03:45 +00:00
esan [esan|cfrag] Add the struct field size array in StructInfo 2016-06-17 04:50:11 +00:00
lsan Replace hardcoded comment at 'lit.site.cfg.in' 2016-04-16 07:03:45 +00:00
msan [msan] Don't check dstaddr in sendto() interceptor. 2016-06-20 22:05:33 +00:00
profile [libprofile] Define an expansion `%clang_profgen=` 2016-06-12 04:17:57 +00:00
safestack Replace hardcoded comment at 'lit.site.cfg.in' 2016-04-16 07:03:45 +00:00
sanitizer_common [sanitizers] introduce yet another API function: __sanitizer_install_malloc_and_free_hooks 2016-06-16 20:06:06 +00:00
scudo [scudo] trying to fix the bot: aligned_alloc is not known there; attempt 3 2016-06-07 23:49:11 +00:00
tsan tsan: rely on AnnotateRWLockCreateStatic to detect linker-initialized mutexes 2016-06-03 11:48:27 +00:00
ubsan Merge two coverage tests undef UBSan into one. 2016-06-15 21:18:17 +00:00
CMakeLists.txt [sanitizer] Initial implementation of a Hardened Allocator 2016-06-07 01:20:26 +00:00
lit.common.cfg [asan] Mark the initialization-bug.cc unsupported on OS X Yosemite and older 2016-03-30 22:21:58 +00:00
lit.common.configured.in Replace hardcoded comment at 'lit.site.cfg.in' 2016-04-16 07:03:45 +00:00