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

Filipe Cabecinhas via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 14 08:18:07 PDT 2016


Ah, right! Probably just one thread that:
allocates fakeframe
handles noreturn
allocates new fakeframe

will trigger it. I'll try changing the test on my side too.

Thank you,

 Filipe

On Tue, Jun 14, 2016 at 4:02 PM, Philippe Daouadi via llvm-commits
<llvm-commits at lists.llvm.org> wrote:
> blastrock added a comment.
>
> Wow, thanks for taking the time to explain all this ^^
> I have a few questions about it.
>
> So if I understand correctly, there is no way to automate that test, I'll just test manually on my machine?
> And the thing I'm trying to fix is avoiding that the leader fakeframe gets gc-ed, right?
>
> Do we really need two fibers to run that test? Can't we have just one fiber and the thread's stack and switch between them?
>
> I will read the code in more detail, I may come back with more questions :)
>
>
> http://reviews.llvm.org/D20913
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits


More information about the llvm-commits mailing list