HomePhabricator

[ARM64] [Windows] Follow MS X86_64 C++ ABI when passing structs

Description

[ARM64] [Windows] Follow MS X86_64 C++ ABI when passing structs

Summary: Microsoft's C++ object model for ARM64 is the same as that for X86_64.
For example, small structs with non-trivial copy constructors or virtual
function tables are passed indirectly. Currently, they are passed in registers
when compiled with clang.

Reviewers: rnk, mstorsjo, TomTan, haripul, javed.absar

Reviewed By: rnk, mstorsjo

Subscribers: kristof.beyls, chrib, llvm-commits, cfe-commits

Differential Revision: https://reviews.llvm.org/D49770

Details

Committed
ssijaricJul 26 2018, 3:18 PM
Reviewer
rnk
Differential Revision
D49770: [ARM64] [Windows] Follow MS X86_64 C++ ABI when passing structs
Branches
Unknown
Tags
Unknown