[LLVMbugs] [Bug 15573] x86_64: Result code use stack before %rsp (out of stack frame)

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Mar 23 00:12:43 PDT 2013


http://llvm.org/bugs/show_bug.cgi?id=15573

Anton Korobeynikov <asl at math.spbu.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |asl at math.spbu.ru
         Resolution|---                         |INVALID

--- Comment #1 from Anton Korobeynikov <asl at math.spbu.ru> ---
This is expected behavior. From x86-64 ABI:

...
The 128-byte area beyond the location pointed to by %rsp is considered to be
reserved and shall not be modified by signal or interrupt handlers. Therefore,
functions may use this area for temporary data that is not needed across
function calls. In particular, leaf functions may use this area for their
entire stack frame, rather than adjusting the stack pointer in the prologue and
epilogue. This area is known as the red zone.
...

Signal or interrupt handles should not use / modify red zone.

Please reopen if you feel the bug is not red zone - related.

-- 
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/20130323/43d1a289/attachment.html>


More information about the llvm-bugs mailing list