[llvm-dev] setjmp/longjmp and volatile stores, but non-volatile loads

Joerg Sonnenberger via llvm-dev llvm-dev at lists.llvm.org
Mon Dec 19 03:16:21 PST 2016


On Sun, Dec 18, 2016 at 02:23:01PM +0100, Jonas Maebe via llvm-dev wrote:
> Recap: we use setjmp/longjmp for our exception handling on all platforms in
> our regular (non-LLVM) code generators. I'd like to use the same
> infrastructure with the LLVM code generator for code interoperability
> purposes (the LLVM SjLj personality is not binary-compatible with our
> existing setjump/longjump buffers).

I'm moderately sure that SjLj presonality does not use system longjmp
and does not claim to be binary compatible either. It usees the
intrinsics.

Joerg


More information about the llvm-dev mailing list