[LLVMdev] Unwinding through a native layer
Duncan Sands
baldrick at free.fr
Thu Nov 19 00:38:24 PST 2009
Reid Kleckner wrote:
> On Wed, Nov 18, 2009 at 9:33 AM, Duncan Sands <baldrick at free.fr> wrote:
>> Hi Garrison,
>>
>>> - fc merely executes an unwind.
>> the code generators do not know how to codegen unwind. Only the
>> interpreter has support for it. Yes, this sucks. You will need
>> to call the libgcc unwind routine directly.
>
> Really? I thought the JIT supported exceptions via -enable-eh.
You mean by lowering to setjmp/longjmp? Maybe, I don't know.
It should be easy to find out by trying it.
Ciao,
Duncan.
More information about the llvm-dev
mailing list