]> granicus.if.org Git - clang/commit
MS ABI: Return sret parameters when using inalloca
authorReid Kleckner <reid@kleckner.net>
Tue, 25 Feb 2014 00:59:14 +0000 (00:59 +0000)
committerReid Kleckner <reid@kleckner.net>
Tue, 25 Feb 2014 00:59:14 +0000 (00:59 +0000)
commit5b7370af534c437fd60456e955c36820e44c7513
treeea692c9d22e8ee29ecb58b24602169c70642f7bb
parent0700120a952c0c3dd2d386296949a8daf8d9102d
MS ABI: Return sret parameters when using inalloca

Previously the X86 backend would look for the sret attribute and handle
this for us.  inalloca takes that all away, so we have to do the return
ourselves now.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@202097 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/CodeGen/CGFunctionInfo.h
lib/CodeGen/CGCall.cpp
lib/CodeGen/TargetInfo.cpp
test/CodeGenCXX/microsoft-abi-byval-sret.cpp