Update LIBFFI for z/OS for varargs by r30shah · Pull Request #22396 · eclipse-openj9/openj9
r30shah
marked this pull request as ready for review
r30shah
marked this pull request as ready for review
In case of variadic arguments in XPLINK, all arguments within the variadic part are passed into GPRs if available or argument list even if arguments are of double type. z/OS port of Libffi was missing handling of such variadic arguments, causing us to pass double or complex type parameters into FPRs. This commit adds new field in ffi_cif struct providing number of fixed args in parameters and use it to ensure double or complex type parameters within variadic part is set up correctly. Signed-off-by: Rahil Shah <rahil@ca.ibm.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters