[LLVMdev] RFC: Exception Handling Proposal Revised

Duncan Sands baldrick at free.fr
Wed Dec 1 12:52:18 PST 2010


Hi Renato,

> Remember that a big reason why to change was to support instructions
> that could throw exceptions (such as divide in Java). The idea of
> having all those dispatch/landingpad was to ultimately get rid of the
> invoke instruction and move the information to the basic block, so
> every instruction (including function calls) could, in theory, throw
> an exception.
>
> In this case, it'd be easier for the back-end to generate the EH table
> regions, as it wouldn't need to consider invokes, only groups of basic
> blocks (Bill's regions).

this consideration is orthogonal to my proposal as it is to Bill's.

Ciao,

Duncan.



More information about the llvm-dev mailing list