Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update 'threads-xform' for LLVM 9 #1675

Merged
merged 1 commit into from
Jul 22, 2019

Conversation

alexcrichton
Copy link
Contributor

In LLVM 9 LLD has been updated to emit shared memory and passive
segments by default for threaded code, and __wasm_init_memory is a
function exported used to initialize memory. Update our
transform/runtime here to hook up all those wires correctly.

Closes #1631

In LLVM 9 LLD has been updated to emit shared memory and passive
segments by default for threaded code, and `__wasm_init_memory` is a
function exported used to initialize memory. Update our
transform/runtime here to hook up all those wires correctly.

Closes rustwasm#1631
@alexcrichton
Copy link
Contributor Author

Note that this doesn't actually update the compiler used to produce the raytrace-parallel example just yet. This will require rust-lang/rust changes at rust-lang/rust#62809 to make it so it's not too burdensome to produce it here, but once that lands only a small patch will be necessary to update the example's nightly compiler.

@alexcrichton alexcrichton merged commit 029b8ff into rustwasm:master Jul 22, 2019
@alexcrichton alexcrichton deleted the llvm-9-threads branch July 22, 2019 14:13
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.

Updating LLD to use bulk memory for threads
1 participant