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

Dmitry Vyukov via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 13 13:02:42 PDT 2016


dvyukov added a comment.

> setjmp/longjmp seems to work, the test is now correctly passing. The only thing is that I loop only 30 times and it already incurs a 1s total overhead (4 compilations at all optimization levels) on my machine, quite far from the 10000 you wished for. 100 iterations gives 5s overhead, ~60s for 1000 iterations.


OK, let's leave 30.
It already started catching bugs :)


http://reviews.llvm.org/D20913





More information about the llvm-commits mailing list