OK. I could use some help here.
I think I see what is going on with failing unit test
FFIPluginTests>>testPoint4
I am not sure yet how to deal with it.
Looking at the code in gdb, ffiTestStructBig() expects the 4 int values
of pt1 in regiters x0,x1 and pt2 in x2,x3 and result p3 returned as
x0,x1.
The call, however, seems to be putting a pointer to an allocated pt3 in
x0, pt1 values in x1,x2 and pt2 values in x3,x4.
So I am looking at ThreadedARM64FFIPlugin>>ffiCallOutTo:SpecOnSTack:in:
and ffiReturnStruct:ofType:in: but have not yet worked through the logic
of the niggly bits.
So I be deep into the steenking pile, mon!
Any insights thrown over the wall would be appreciated.
Thanks much,
-KenD