"Blocks" runtime

Hi all,

In case you didn't notice, we committed the source for the Apple "blocks" runtime here:

We haven't had a chance to properly integrate it into a build system, the ultimate goal is to combine it with "compiler-rt" which is the clang "libgcc" replacement (which should also be coming at some point soon).


I threw together a Makefile and compiled/ran a simple "hello world" block object on Linux. This is likely completely wrong on the integration front, but it does work.

- check out compiler-rt into llvm/lib

- drop the attached Makefile into compiler-rt

- make

Makefile (424 Bytes)