Closed
Bug 1720381
Opened 4 years ago
Closed 4 years ago
Handle alignment better for Wasm exception payload fields
Categories
(Core :: JavaScript: WebAssembly, enhancement, P3)
Core
JavaScript: WebAssembly
Tracking
()
RESOLVED
FIXED
94 Branch
| Tracking | Status | |
|---|---|---|
| firefox94 | --- | fixed |
People
(Reporter: asumu, Assigned: asumu)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
It was suggested in review comments on https://phabricator.services.mozilla.com/D110851 that Wasm exception handling code should deal with alignment better. In particular, a Wasm tag could use a mechanism similar to GC proposal structs with StructType and StructLayout in order to ensure alignment is taken into account for the buffer size and reading/writing values from an exception.
| Assignee | ||
Updated•4 years ago
|
Assignee: nobody → asumu
Status: NEW → ASSIGNED
Updated•4 years ago
|
Severity: -- → N/A
Priority: -- → P3
| Assignee | ||
Comment 1•4 years ago
|
||
This patch properly aligns exception payload buffers, and
simplified the handling of buffer offsets in the Baseline
compiler.
| Assignee | ||
Comment 2•4 years ago
|
||
I've added a WIP patch to address this alignment issue. The patch should work and pass tests, but there's some refactoring needed that could use some feedback (more detail in phabricator comments) hence the WIP flag.
Updated•4 years ago
|
Attachment #9237134 -
Attachment description: WIP: Bug 1720381 - Handle alignment for Wasm exception payloads → Bug 1720381 - Handle alignment for Wasm exception payloads
Pushed by rhunt@eqrion.net:
https://hg.mozilla.org/integration/autoland/rev/7c19fa0eb0e0
Handle alignment for Wasm exception payloads r=rhunt
Comment 4•4 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
status-firefox94:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 94 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•