[PATCH] D20913: [asan] add primitives that allow coroutine implementations

Philippe Daouadi via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 3 06:23:39 PDT 2016


blastrock added a comment.

> You generally can do that by taking an address of any local variable.


If we are looking for the stack of the current thread, yes. But there are functions that need to know the stack of other threads, like GetThreadRangesLocked. It is the only such function I have found but I don't know if there are others.


http://reviews.llvm.org/D20913





More information about the llvm-commits mailing list