]> granicus.if.org Git - clang/commit
inalloca: Pad the struct *after* inserting each arg
authorReid Kleckner <reid@kleckner.net>
Thu, 10 Apr 2014 19:09:43 +0000 (19:09 +0000)
committerReid Kleckner <reid@kleckner.net>
Thu, 10 Apr 2014 19:09:43 +0000 (19:09 +0000)
commit5d6c2aba33cda6556f947411f557f4dbaee97512
tree0636dc8b5f2f59b3df1b6683838204e59e5e101c
parentc16e066e7696410806913a576ed74831c09cd65c
inalloca: Pad the struct *after* inserting each arg

This ensures that the overall struct size will be a multiple of 4, as
required by the ABI.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@205981 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/TargetInfo.cpp
test/CodeGenCXX/microsoft-abi-sret-and-byval.cpp