[PATCH] D20913: [asan] add primitives that allow coroutine implementations
Dmitry Vyukov via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 3 00:03:54 PDT 2016
dvyukov added a comment.
Philippe, what coroutine implementation do you use?
We should intercept and annotate at least ucontext API, so that applications using ucontext work out of the box. It will also simplify testing and make it more realistic, as we will just need to write a real program using ucontext.
Unfortunately, boost::context uses own assembly to implement coroutines, so we still need to expose annotations. We can talk to boost maintainers to add annotations directly to boost::context.
More information about the llvm-commits