[llvm-bugs] [Bug 30389] Windows style inline assembly. Problem with not restored registers

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Sep 14 14:11:28 PDT 2016


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

Reid Kleckner <rnk at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #2 from Reid Kleckner <rnk at google.com> ---
Nevermind, this is PR16830.

Until that is resolved, treat ESI as you would treat EBP: don't modify it, or
you will break access to local variables.

In this case, you have no dynamic allocas, but we treat ESP modifications the
same way, we assume we can't reference local variables via ESP.

*** 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160914/efaf5b43/attachment.html>


More information about the llvm-bugs mailing list