Closed Bug 1645819 Opened 4 years ago Closed 4 years ago

Fix Ion spew for WebAssembly functions

Categories

(Core :: JavaScript Engine: JIT, defect, P2)

defect

Tracking

()

RESOLVED FIXED
mozilla79
Tracking Status
firefox78 --- fixed
firefox79 --- fixed

People

(Reporter: wingo, Assigned: wingo)

Details

Attachments

(1 file)

IONFLAGS=all segfaults for wasm functions; the attached patch will fix it.

CompileInfo::script_ is null for wasm, so avoid calling info.filename()
/ info.line() in that case.

Example backtrace:

js::BaseScript::sourceObject (this=0x0)
js::BaseScript::scriptSource (this=0x0)
js::BaseScript::filename (this=0x0)
js::jit::CompileInfo::filename (this=0x7ffec6422618)
js::jit::DumpMIRExpressions

Pushed by wingo@igalia.com:
https://hg.mozilla.org/integration/autoland/rev/2f0169aaf86a
Fix Ion spew for WebAssembly functions r=lth
Severity: -- → S3
Priority: -- → P2
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla79

Comment on attachment 9156739 [details]
Bug 1645819 - Fix Ion spew for WebAssembly functions

approved for 78.0b8

Attachment #9156739 - Flags: approval-mozilla-beta+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: