[LLVMdev] x86 unwind support[MESSAGE NOT SCANNED]

Kenneth Uildriks kennethuil at gmail.com
Mon Jul 20 06:32:08 PDT 2009


On Mon, Jul 20, 2009 at 5:01 AM, Nick
Johnson<nicholas.paul.johnson at gmail.com> wrote:
>> probably there should be a switch to choose whether codegen should turn
>> unwind/invoke into dwarf or setjmp/longjmp style code.
>
> There is, but it happens before codegen and is slow.
> -enable-correct-eh-support will translate invoke/unwind into
> setjmp/longjmp pairs for the correct behavior. See:
> http://llvm.org/docs/Passes.html#lowerinvoke
>
> Nick

That lowerinvoke pass does seem to have room for improvement, then.



More information about the llvm-dev mailing list