[llvm-bugs] [Bug 35814] After r316416, Assertion failed: ((size_t)StackDisp < Context.MovVector.size() && "Function call has more parameters than the stack is adjusted for."), function collectCallInfo, file lib/Target/X86/X86CallFrameOptimization.c

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Jan 17 14:36:46 PST 2018


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

Reid Kleckner <rnk at google.com> changed:

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

--- Comment #5 from Reid Kleckner <rnk at google.com> ---
As discussed on the patch, I think this is actually PR31362, which is that
ms_abi just doesn't work for structs larger than 8 bytes. It uses the Linux
calling convention logic, which is wrong.

We could keep open a separate issue for making byval not generate crashing code
on win64, but I don't think it's worth it.

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

-- 
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/20180117/465198b3/attachment.html>


More information about the llvm-bugs mailing list