[cfe-dev] blocks/lambdas in clang
clattner at apple.com
Tue Jan 12 13:33:37 PST 2010
On Jan 12, 2010, at 1:26 PM, Blaine Garst wrote:
> The compiler initializes the first word of every block to one of two
> symbols (the other being _NSConcreteStackBlock), that being one of
> them, so as to enable Objective-C treating blocks as objects if and
> when the objc runtime is loaded. The blocks runtime for the most
> part ignores these values until such a time. A block copy operation
> will use another symbol, so in total I think you'll need
> _NSConcreteMallocBlock also.
This runtime support code is available at http://compiler-rt.llvm.org/
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev