Closed
Bug 2062484
Opened 3 months ago
Closed 3 months ago
Update libffi to version 3.8.0
Categories
(Core :: js-ctypes, task, P1)
Core
js-ctypes
Tracking
()
RESOLVED
FIXED
156 Branch
| Tracking | Status | |
|---|---|---|
| firefox156 | --- | fixed |
People
(Reporter: RyanVM, Assigned: RyanVM)
References
Details
Attachments
(2 external files)
| Assignee | ||
Comment 1•3 months ago
|
||
| Assignee | ||
Comment 2•3 months ago
|
||
The plan's size was hardcoded as two pointers because ffi_call_plan is an
incomplete type at this site, which only covered the handle and left the
argument-placement data it owns unaccounted. libffi 3.8.0 adds a size query,
so ask the plan instead. The two accounting sites can no longer disagree,
since both read the same immutable plan.
This raises the version floor for the fast path from 3.7.0 to 3.8.0, which
only affects builds against a system libffi older than 3.8.0; those fall back
to ffi_call as they already do on other targets.
Updated•3 months ago
|
Severity: -- → N/A
Priority: -- → P1
Pushed by rvandermeulen@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/2d5e218623ca
https://hg.mozilla.org/integration/autoland/rev/0ee8cebc9b5c
Update libffi to version 3.8.0. r=spidermonkey-reviewers,sfink
https://github.com/mozilla-firefox/firefox/commit/2970401c3fee
https://hg.mozilla.org/integration/autoland/rev/af339a24666b
Account for ctypes call plans with ffi_call_plan_size. r=spidermonkey-reviewers,sfink
Comment 4•3 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/0ee8cebc9b5c
https://hg.mozilla.org/mozilla-central/rev/af339a24666b
Status: NEW → RESOLVED
Closed: 3 months ago
status-firefox156:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 156 Branch
Updated•2 months ago
|
QA Whiteboard: [qa-triage-done-c157/b156]
You need to log in
before you can comment on or make changes to this bug.
Description
•