Closed Bug 2054375 Opened 4 months ago Closed 3 months ago

Update libffi to version 3.7.1

Categories

(Core :: js-ctypes, task, P3)

task

Tracking

()

RESOLVED FIXED
155 Branch
Tracking Status
firefox155 --- fixed

People

(Reporter: RyanVM, Assigned: RyanVM)

References

Details

Attachments

(3 external files)

Severity: -- → S3
Priority: -- → P3
Severity: S3 → N/A

Removes dlmalloc-msvc-lock-cast.patch, which has been fixed upstream.

FunctionType::Call re-derived the libffi argument placement on every
ffi_call. libffi 3.7.0 adds the ffi_call_plan API, which captures that
placement once and reuses it, with an accelerated implementation for the
x86-64 System V ABI. Build a plan per non-variadic FunctionType where
that fast path exists and invoke it in place of ffi_call, falling back to
ffi_call for signatures the plan does not accelerate.

raw_api.c compiles to an empty translation unit because the build defines
FFI_NO_RAW_API, and the ffi_java_raw_* symbols from java_raw_api.c are
unreferenced by ctypes, the library's only consumer. Drop both from SOURCES.

Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 155 Branch
See Also: → 2062484
QA Whiteboard: [qa-triage-done-c156/b155]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: