llvm-project
b8a66f50 - [OFFLOAD] Update ffi_cif structure to match libffi (#128756)

Commit
1 year ago
[OFFLOAD] Update ffi_cif structure to match libffi (#128756) 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
Author
Parents
Loading