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

Zoltan Varga vargaz at gmail.com
Thu Jul 16 09:45:05 PDT 2009


Hi,

  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/20090716/32e47665/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: llvm.diff
Type: text/x-patch
Size: 567 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20090716/32e47665/attachment.bin>


More information about the llvm-commits mailing list