[LLVMdev] sjlj-exceptions handlying

Duncan Sands baldrick at free.fr
Tue Feb 17 09:52:09 PST 2009


On Tuesday 17 February 2009 18:04:43 Mike Stump wrote:
> On Feb 17, 2009, at 8:59 AM, Duncan Sands wrote:
> > Excellent!  To handle dwarf eh, LLVM has an intrinsic to get hold of
> > an exception object (eh.exception) and an intrinsic for matching the
> > exception against a list of typeinfo objects (eh.selector).  These
> > get morphed into calls to the gcc unwinder lib by the code generator.
> > Can sj/lj follow a similar scheme?
> 
> Don't see why not, though, these aren't sufficient.

What else is needed?  Want to give a quick rundown on sj/lj eh
and how it differs from dwarf?

Ciao,

Duncan.



More information about the llvm-dev mailing list