[cfe-dev] Where are CBlocks translated into code?

Richard Catlin richard.m.catlin at gmail.com
Tue Apr 15 11:22:48 PDT 2014


I want to understand how CBlocks are translated into code?  Does this happen at the C source code level? in the LLVM IR? or at runtime?  Where can I see the algorithms that implement CBlocks?

I would imagine that the code in the CBlock is wrapped in some function that pulls in the enclosing scopes variables that are used. 

Any help is appreciated.

Thanks.
Richard Catlin



More information about the cfe-dev mailing list