[llvm-commits] [llvm] r104703 - /llvm/trunk/docs/ExceptionHandling.html

Duncan Sands baldrick at free.fr
Thu May 27 08:24:45 PDT 2010


Hi Jim,

> +<p>The<a href="#llvm_eh_sjlj_longjmp"><tt>llvm.eh.sjlj.longjmp</tt></a>
> +   intrinsic is used to implement<tt>__builtin_longjmp()</tt>  for SJLJ
> +   style exception handling. The single parameter is a pointer to a
> +   buffer populated by<a href="#llvm_eh_sjlj_setjmp">
> +<tt>llvm.eh.sjlj.setjmp</tt></a>. The frame pointer and stack pointer
> +   are restored from the buffer, then control is transfered to the
> +   destination address.</p>

I think it would be good to explain that __builtin_longjmp comes from gcc.
While this is obvious for anyone who has hacked on gcc, not everyone does!

Thanks,

Duncan.



More information about the llvm-commits mailing list