Closed Bug 1669055 Opened 4 years ago Closed 4 years ago

Vendor Cranelift to get validate-while-parsing support

Categories

(Core :: JavaScript: WebAssembly, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
83 Branch
Tracking Status
firefox83 --- fixed

People

(Reporter: cfallin, Assigned: cfallin)

References

Details

Attachments

(1 file)

We need to vendor in a version of Cranelift that contains PR #2059 ("Validate modules while translating"), as well as an update to the wasmparser dependency to version 0.63. This will enable us to land our patch that uses this new validation functionality.

Assignee: nobody → cfallin
Severity: -- → N/A
Status: NEW → ASSIGNED
Priority: -- → P3

This patch pulls in an updated Cranelift with a new validation strategy,
introduced by bytecodealliance/wasmtime#2059. This new design validates
the Wasm module as it parses the function bodies. A subsequent patch
will adapt Baldrdash to work with this.

Pushed by cfallin@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/34fddbf97cc7 Vendor Cranelift e22e2c3722f2fbccd3c8d3230119fa04c332c69c. r=jseward

Discussed backout with :abutkovits on Matrix; this vendoring patch was not landed atomically with the SpiderMonkey patch. Retrying the landing now.

Flags: needinfo?(chris)
Pushed by cfallin@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/bb5e11920e1a Vendor Cranelift e22e2c3722f2fbccd3c8d3230119fa04c332c69c. r=jseward

This is a warnings-as-errors failure (sorry about that!); using :bbouvier's patch from bug 1655042, here's a try run:

https://treeherder.mozilla.org/#/jobs?repo=try&revision=b3a0b7f8294166a1ee1865753e1e33a05ea77099

I'll retry landing if/when that's green.

Flags: needinfo?(chris)
Pushed by cfallin@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ad2fc501557e Vendor Cranelift e22e2c3722f2fbccd3c8d3230119fa04c332c69c. r=jseward
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 83 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: