[LLVMdev] sjlj-exceptions handlying
Duncan Sands
baldrick at free.fr
Tue Feb 17 08:59:43 PST 2009
> > I'm not sure anyone here knows how gcc handles sj/lj style exceptions,
>
> Or, reworded slightly, some people here wrote it. :-)
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?
Thanks,
Duncan.
More information about the llvm-dev
mailing list