[PATCH] D33499: [PPC] PPC32/Darwin ABI info

Iain Sandoe via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 22 01:57:47 PDT 2017

iains added a comment.

This seems like a reasonable start, and is a step forward.
For the VAArgs, this will be self-consistent, but to be compliant with the system ABI, I think you'll need to account the different padding rules for small aggregates, as per pp14 of "Mac_OS_X_ABI_Function_Calls".  Specifically, 1 and 2 byte aggregates are right-aligned and padded on the left, but sizes 3 and above are left-aligned and padded on the right.

I have a more complete ABIInfo implementation, but it needs forward-porting to trunk.  Will let you know when that's done.



More information about the cfe-commits mailing list