[LLVMdev] setjmp/longjmp exception handling: how?
grosbach at apple.com
Fri Jul 12 15:25:54 PDT 2013
I strongly advise you not to use SjLj exception handling. Use zero-cost-exceptions via DWARF instead.
If you really want to pursue sjlj anyway, look at the ARM backend. It uses them for darwin targets.
On Jul 12, 2013, at 9:09 AM, Nicolas Ojeda Bar <N.Ojeda.Bar at dpmms.cam.ac.uk> wrote:
> Dear list,
> I want to add SJLJ exception handling to my frontend. Unfortunately,
> there doesn't seem to be any examples in the documentation as to how
> to use the intrinsics
> Is there a way to force Clang to use SJLJ exception handling for C++? That
> way I would be able to look at its output to learn how to use them correctly.
> Otherwise, how should I go about finding out how to implement SJLJ exception
> handling in my frontend?
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev