Hi, I tried the little examples from here: http://lists.cs.uiuc.edu/pipermail/cfe-dev/2008-August/002670.html 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, Nico
On Oct 28, 2008, at 10:34 AM, Nico wrote:> Hi, > > I tried the little examples from here: > http://lists.cs.uiuc.edu/pipermail/cfe-dev/2008-August/002670.html > > 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?Clang doesn't support code generation for blocks yet. Please try out llvm-gcc, which does. -Chris
Seemingly Similar Threads
- [LLVMdev] assert when mixing static and non-static members with an external AST source
- [LLVMdev] assert when mixing static and non-static members with an external AST source
- [LLVMdev] Does llvm-lit support type substitution (macro)?
- [LLVMdev] Clang error compiling
- [LLVMdev] gfortran link failure in current llvm svn