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

Reid Kleckner <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|---                         |DUPLICATE

--- Comment #1 from Reid Kleckner <[email protected]> ---
This is a known issue with our stack realignment that happens with rbx on x64.

I ran into and tried to make us fatal error in these situations:
http://reviews.llvm.org/D1317

I'm going to dupe this against PR16830, since it's older and basically the same
problem. The core issue is that aligned stack space with a moving SP requires
three pointers to the stack:
- ebp to reference args in memory
- esp to handle calls and dynamic allocas
- "base pointer" (currently esi/rbx) to reference the aligned space

Keeping ebp where it is also keeps a reference to the return address, which is
good for frame pointer based unwinders.

*** This bug has been marked as a duplicate of bug 16830 ***

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to