]> granicus.if.org Git - clang/commit
Set SRet flags properly in '-cxx-abi microsoft'.
authorTimur Iskhodzhanov <timurrrr@google.com>
Wed, 17 Apr 2013 12:54:10 +0000 (12:54 +0000)
committerTimur Iskhodzhanov <timurrrr@google.com>
Wed, 17 Apr 2013 12:54:10 +0000 (12:54 +0000)
commited23bdf69dd63e4fd01c02b12a13d1e6cbff9c2f
treec952cfcf990fb2e1f8785613a4fcc4ee25675e2a
parent092140a434366007a611c0a1a73fb6a4e8ff7f5e
Set SRet flags properly in '-cxx-abi microsoft'.

Also,
- abstract out the indirect/in memory/in registers decisions into the CGCXXABI
- fix handling of empty struct arguments for '-cxx-abi microsoft'
- add/fix tests

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@179681 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGCXXABI.h
lib/CodeGen/ItaniumCXXABI.cpp
lib/CodeGen/MicrosoftCXXABI.cpp
lib/CodeGen/TargetInfo.cpp
test/CodeGen/x86_32-arguments-win32.c
test/CodeGenCXX/microsoft-abi-sret-and-byval.cpp [new file with mode: 0644]