summaryrefslogtreecommitdiff
path: root/cmake/base-config-ix.cmake
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2016-06-21 12:29:18 +0000
committerDmitry Vyukov <dvyukov@google.com>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 https://github.com/facebook/folly/commit/2ea64dd24946cbc9f3f4ac3f6c6b98a486c56e73 . 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 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@273260 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake/base-config-ix.cmake')
0 files changed, 0 insertions, 0 deletions