s390x ffi_closure_helper_SYSV

Tom Tromey tom@tromey.com
Fri Dec 18 15:09:00 GMT 2015


>>>>> "Ulrich" == Ulrich Weigand <uweigand-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org> writes:

Ulrich> While this is not explicitly mentioned in the closure docs, the
Ulrich> code makes the assumption that this is handled likewise for closure
Ulrich> return values.  This is also explicitly checked for in the libffi
Ulrich> test suite, e.g. testsuite/libffi.call/cls_sshort.c

Actually the closure docs are actively wrong right now.
I didn't realize this same widening behavior applied to closures (in
fact I thought I asked about this and got the answer I documented, but I
can't find the email, so it was probably just my error).

I sent a github PR to correct the closure documentation.

Tom



More information about the Libffi-discuss mailing list