Skip to content

IRBuilder: Validate local indexes - #8099

Merged
kripken merged 1 commit into
WebAssembly:mainfrom
kripken:irb.locals
Dec 10, 2025
Merged

IRBuilder: Validate local indexes#8099
kripken merged 1 commit into
WebAssembly:mainfrom
kripken:irb.locals

Conversation

@kripken

@kripken kripken commented Dec 5, 2025

Copy link
Copy Markdown
Member

Fixes #8090

@kripken
kripken requested a review from tlively December 9, 2025 23:51

@tlively tlively left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alternatively we could just change them all to "invalid local index"

Comment thread src/wasm/wasm-ir-builder.cpp Outdated
Comment thread src/wasm/wasm-ir-builder.cpp Outdated
@kripken
kripken enabled auto-merge (squash) December 10, 2025 20:52
@kripken
kripken merged commit 6fb2b91 into WebAssembly:main Dec 10, 2025
17 checks passed
@kripken
kripken deleted the irb.locals branch December 10, 2025 21:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Segmentation Fault (SEGV) in wasm::Function::getLocalType via wasm-opt

2 participants