Blocks/Closures + Clang + LLVM


I tried the little examples from here:

clang -fsyntax-only worked fine, but clang -emit-llvm had problems:
Assertion failed: (0 && "FIXME: Cannot get type of block pointer."), function ConvertNewType, file CodeGenTypes.cpp, line 329.

I use svn revision 58329. Is it just a temporary problem or did it not work at all?
Do I miss something?

I only want to know how blocks and local stack stuff a represented in LLVM IR (.ll).

Thanks a lot,

Clang doesn't support code generation for blocks yet. Please try out llvm-gcc, which does.