[LLVMdev] RFC: Exception Handling Rewrite

Eli Friedman eli.friedman at gmail.com
Sat Jul 23 09:49:58 PDT 2011


On Fri, Jul 22, 2011 at 10:29 PM, Bill Wendling <wendling at apple.com> wrote:
[...]
> //===--------------------------
> // The 'landingpad' Instruction
> //
>
> The 'landingpad' instruction replaces the current 'llvm.eh.exception' and
> 'llvm.eh.selector' intrinsics.
>
> // Syntax:
>
>  %res = landingpad <somety> personality <ty> <pers_fn> <clause>+
>
> where
>
>  <clause> :=
>       cleanup
>    |  catch <ty_1>, <ty_2>, ..., <ty_n>
>    |  filter <ty_1>, <ty_2>, ..., <ty_m>

| terminate ?  You have an example referencing it, but it isn't in the grammar.

-Eli




More information about the llvm-dev mailing list