Skip to content

Handle defined shared memories in dwarf processing#8750

Merged
fitzgen merged 1 commit intobytecodealliance:mainfrom
alexcrichton:handle-defined-shared-memory
Jun 6, 2024
Merged

Handle defined shared memories in dwarf processing#8750
fitzgen merged 1 commit intobytecodealliance:mainfrom
alexcrichton:handle-defined-shared-memory

Conversation

@alexcrichton
Copy link
Copy Markdown
Member

This commit resolves an assert in the dwarf generating of core wasm modules when the module has a defined linear memory which is flagged shared. This is represented slightly differently in the VMContext than owned memories that aren't shared, and looks more like an imported memory. With support in #8740 it's now much easier to support this.

Closes #8652

This commit resolves an assert in the dwarf generating of core wasm
modules when the module has a defined linear memory which is flagged
`shared`. This is represented slightly differently in the `VMContext`
than owned memories that aren't `shared`, and looks more like an
imported memory. With support in bytecodealliance#8740 it's now much easier to support
this.

Closes bytecodealliance#8652
@fitzgen fitzgen added this pull request to the merge queue Jun 6, 2024
Merged via the queue into bytecodealliance:main with commit cdb5930 Jun 6, 2024
@alexcrichton alexcrichton deleted the handle-defined-shared-memory branch June 6, 2024 13:42
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.

Cranelift: assertion left == right failed: the memory base pointer may be incorrect due to sharing memory

2 participants