Comment 69 for bug 313202

Revision history for this message
Rongcui Dong (rongcuid) wrote :

This is the Milestone 2 patch. I think this patch can be reviewed and prepare to merge.

This patch includes:

- Passing struct by value on ARM64, including Darwin
- Test cases for struct passing

What it currently lacks:

- Returning struct by value
- Bulletproof handling of alignment-adjusted types

Other notes:

- I highly doubt varargs is implemented correctly for ARM64. I didn't implement it, and I don't see any code handling them. In addition, there is no test case on variadic foreign functions that I know of.