[LLVMdev] x86 unwind support[MESSAGE NOT SCANNED]

Nick Johnson
2009-07-20T10:01:13Z

> 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



>
> Ciao,
>
> Duncan.
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>



--
Nick Johnson