[LLVMdev] Windows x64 unwind info

João Matos ripzonetriton at gmail.com
Tue Apr 2 14:07:41 PDT 2013


As far as I know LLVM still does not generate proper unwind info for
Windows x64. I did some work on this and posted some patches a couple
months ago, please see
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20120827/149407.html

It needs more testing.

On Tue, Apr 2, 2013 at 3:13 PM, Andrew MacPherson <andrew.macp at gmail.com>wrote:

> Hi,
>
> I'm wondering about the status of Windows x64 unwind info in LLVM. We're
> trying to print a simple stack trace on Windows exceptions, including
> function names of JITted code (which we can roughly derive using addresses
> from a JITEventListener). While this works fine in 32-bit mode, we're
> unable to properly walk the stack in 64-bit since the unwind info doesn't
> seem to be present for JITted functions.
>
> It looks like there is code to generate the unwind info in
> lib/MC/MCWin64EH.cpp but it's not clear that this is still in use. This
> post from last fall seems to indicate that EH code for Win64 may have been
> removed from the old JIT engine (which we are currently using):
>
> http://lists.cs.uiuc.edu/pipermail/llvmdev/2012-November/056204.html
>
> Should Windows x64 unwind info currently exist for code emitted using
> either the old JIT or the new MCJIT?
>
> Thanks,
> Andrew
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>


-- 
João Matos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130402/83e3887c/attachment.html>


More information about the llvm-dev mailing list