[all-commits] [llvm/llvm-project] b8a66f: [OFFLOAD] Update ffi_cif structure to match libffi...

Alex via All-commits all-commits at lists.llvm.org
Tue Mar 4 09:40:34 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b8a66f50b487577e19a5d05bc86690ff60fe9141
      https://github.com/llvm/llvm-project/commit/b8a66f50b487577e19a5d05bc86690ff60fe9141
  Author: Alex <alejandro.duran at intel.com>
  Date:   2025-03-04 (Tue, 04 Mar 2025)

  Changed paths:
    M offload/plugins-nextgen/host/dynamic_ffi/ffi.h

  Log Message:
  -----------
  [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



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list