r230255 - Only lower __builtin_setjmp / __builtin_longjmp to

Joerg Sonnenberger joerg at britannica.bec.de
Mon Feb 23 13:28:51 PST 2015


On Mon, Feb 23, 2015 at 08:23:48PM -0000, Joerg Sonnenberger wrote:
> Author: joerg
> Date: Mon Feb 23 14:23:47 2015
> New Revision: 230255
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=230255&view=rev
> Log:
> Only lower __builtin_setjmp / __builtin_longjmp to
> llvm.eh.sjlj.setjmp / llvm.eh.sjlj.longjmp, if the backend is known to
> support them outside the Exception Handling context. The default
> handling in LLVM codegen doesn't work and will create incorrect code.
> The ARM backend on the other hand will assert if the intrinsics are
> used.

This should be merged to the 3.6 branch, it unbreaks Ruby on ARM.

Joerg



More information about the cfe-commits mailing list