[LLVMdev] RFC: Exception Handling Rewrite
wendling at apple.com
Sat Jul 23 10:12:13 PDT 2011
On Jul 23, 2011, at 9:49 AM, Eli Friedman <eli.friedman at gmail.com> wrote:
> 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>+
>> <clause> :=
>> | 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.
Sorry for the confusion. The terminate is addressed later and I mention it as a potential optimization that could be added at a future time. But not for the initial rewrite. If it's in one of the examples, then please ignore it. I'll come up with a few other examples.
More information about the llvm-dev