[ms-cxxabi] Set proper SRet flags for most functions; also handle empty struct arguments correctly

Timur Iskhodzhanov timurrrr at google.com
Thu Mar 21 13:45:23 PDT 2013


Hi John,

Please see the attached patch.

It addresses most of the Clang-side change needed to fix http://llvm.org/PR13676

The remaining things are:
- Handle cdecl correctly for instance methods (they return structures
differently from global cdecl functions, which is weird)
- Push the LLVM-side of the change when I get feedback from Anton (see
the other thread mentioning PR13676)

Thanks,
Timur
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug_13676_p1.patch
Type: application/octet-stream
Size: 7725 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130321/57e6f9bc/attachment.obj>


More information about the cfe-commits mailing list