[llvm-commits] [PATH] Fix unwind info in x86 JIT for functions without stack space

Zoltan Varga vargaz at gmail.com
Fri Jul 31 10:56:35 PDT 2009


Hi,

This is a resend of a patch sent earlier which got lost in the ml traffic.

  The x86 jit doesn't generate a def_cfa_offset unwind instruction after the
pushes in the function prolog if the function doesn't
have any stack space, i.e. for a prolog like:

0x40011870:     push %r15

0x40011872:     push %r14

0x40011874:     push %rbx

The attached patch fixes this.

                      Zoltan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20090731/259a85fc/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: llvm.diff
Type: text/x-diff
Size: 569 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20090731/259a85fc/attachment.diff>


More information about the llvm-commits mailing list