mirror of
https://github.com/intel/llvm.git
synced 2026-01-19 01:15:50 +08: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