[LLVMdev] invoke unwind instruction support in 2.9

Carter Cheng cartercheng at gmail.com
Sun Aug 14 22:32:37 PDT 2011


Thanks both. I guess what I may be looking for is the exception system.

Regards,

Carter.

On Sun, Aug 14, 2011 at 6:20 PM, Bill Wendling <wendling at apple.com> wrote:

> On Aug 13, 2011, at 4:44 PM, Carter Cheng wrote:
>
> > Hello,
> >
> > I was looking over the documentation support for exceptions and it
> indicates that the invoke unwind support is incomplete. Is this still the
> case in 2.9?
> >
> Hi Carter,
>
> The use of the term "unwind" is a bit confusing in this context. The
> "invoke" instruction has an "unwind" clause, which is (more or less) the
> code that's executed when an exception is thrown by the function that was
> called. Then there is the "unwind" instruction. The "unwind" instruction is
> the one which hasn't been implemented by pretty much any back-end. As Eli
> pointed out, it's basically unusable.
>
> If you're worried about EH working, it does work. But there are many
> problems with the current design. The current status is that it's much
> better in top-of-tree than 2.9, and is being rewritten for 3.0.
>
> Cheers!
> -bw
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110815/d7e7eac7/attachment.html>


More information about the llvm-dev mailing list