Need help about LLVM build coroutine
Richard (Rikki) Andrew Cattermole
richard at cattermole.co.nz
Sat Mar 2 13:08:48 UTC 2024
Even if I was to help you get that IR working, it won't do anything
useful for you.
A coroutine in LLVM IR is the top of the call stack.
It must be able to see all functions it calls.
You can't pass a function in by pointer, it has to be hard coded.
This needs compiler support, you can't write code outside of the
compiler for this.
More information about the digitalmars-d-ldc
mailing list