[LLVMdev] x86 unwind support[MESSAGE NOT SCANNED]
Kenneth Uildriks
kennethuil at gmail.com
Mon Jul 20 10:18:07 PDT 2009
Sweet! That is exactly what I've been looking for. I guess it's
going in the 2.6 release then?
And __cxa_throw will still throw a DWARF exception with the landing
pads and the exception object selection and all that jazz?
On Mon, Jul 20, 2009 at 12:12 PM, Duncan Sands<baldrick at free.fr> wrote:
> Hi Kenneth,
>
>> Is there anything in the current codebase that maps an "unwind"
>> instruction to a DWARF unnwinder? Seeing as how (I think) the DWARF
>> info is already compiled in, this would be a useful thing.
>
> in llvm from svn an "unwind" instruction is mapped to a call to
> _Unwind_Resume. This is no good for throwing a new dwarf exception,
> but it does mean that you can now implement cleanups as:
>
> invoke XYZ to label %normal unwind label %cleanup
> cleanup:
> do_stuff
> unwind
>
> Ciao,
>
> Duncan.
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
More information about the llvm-dev
mailing list