mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-16 10:56:31 +00:00

The ffi_cif structure defined in the wrapper header is smaller than the actual structure in libffi which results in other structures being overwritten when libffi is called, and finally in a segfault. The patch updates the structure to the correct layout as specified in ffi.h