[LLVMdev] built-in longjmp and setjmp

Joerg Sonnenberger joerg at britannica.bec.de
Wed Apr 27 16:08:13 PDT 2011


On Wed, Apr 27, 2011 at 03:55:53PM -0700, Jim Grosbach wrote:
> The builtins are for internal compiler use in the context of SjLj
> exception handling. Any other use, including any direct calls of the
> builtins in user code, are a bad idea with no guaranteed behaviour.
> That they're exposed at all is, again, for historical purposes. Don't use them. 

Why is longjmp converted into calls to the builtin then?
See PR 8765.

Joerg



More information about the llvm-dev mailing list