path: root/cmake/base-config-ix.cmake
diff options
authorDmitry Vyukov <>2016-06-21 12:29:18 +0000
committerDmitry Vyukov <>2016-06-21 12:29:18 +0000
commitb0477747dfa8a9706f2c902e877e616aca51e06f (patch)
treeb1d50dd4809580b6dbbc8550adafa45a0cce0ead /cmake/base-config-ix.cmake
parentc025f88212fc19aa62345aaf68cf6fe48733315d (diff)
[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 . 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 git-svn-id: 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake/base-config-ix.cmake')
0 files changed, 0 insertions, 0 deletions