Rick Mann
2013-Jan-18 03:26 UTC
[LLVMdev] Does LLVM provide support for Apple-style blocks?
Hi list, Does LLVM provide support for Apple-style blocks? Or is that all implemented in clang using LLVM primitives? I'm looking at the IR that clang generates, and it sure seems confusing to me. I'm hoping there's a builder that can help me implement them. Thanks! -- Rick
Eric Christopher
2013-Jan-18 03:33 UTC
[LLVMdev] Does LLVM provide support for Apple-style blocks?
You'll want to look at clang/lib/CodeGen/CGBlocks.[cpp, h]. -eric On Thu, Jan 17, 2013 at 7:26 PM, Rick Mann <rmann at latencyzero.com> wrote:> Hi list, > > Does LLVM provide support for Apple-style blocks? Or is that all > implemented in clang using LLVM primitives? I'm looking at the IR that > clang generates, and it sure seems confusing to me. I'm hoping there's a > builder that can help me implement them. > > Thanks! > > -- > Rick > > > > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130117/e1dd5946/attachment.html>
Rick Mann
2013-Jan-18 04:01 UTC
[LLVMdev] Does LLVM provide support for Apple-style blocks?
On Jan 17, 2013, at 19:33 , Eric Christopher <echristo at gmail.com> wrote:> You'll want to look at clang/lib/CodeGen/CGBlocks.[cpp, h].Thanks. I think proper blocks are way over my head for my little project. I'll try to implement something "block-like" using function pointers. -- Rick