[llvm-bugs] [Bug 5005] Win64 stack corruption when spilling callee saved XMM registers.

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Apr 3 10:13:57 PDT 2017


https://bugs.llvm.org/show_bug.cgi?id=5005

Reid Kleckner <rnk at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED
                 CC|                            |rnk at google.com

--- Comment #8 from Reid Kleckner <rnk at google.com> ---
This is fixed. Our prologue looks like this now:

PUSH general purpose CSRs
SUB $StackSize, %rsp
MOVAPS XMM CSRs

The loop that iterates through PUSH instructions is correct now.

We also have MI flags to indicate which instructions are prologue related, so
in general it's possible to find the end of the prologue.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170403/90299476/attachment.html>


More information about the llvm-bugs mailing list