This is an archive of the discontinued LLVM Phabricator instance.

[WebAssembly] Add shared memory support to limits field
ClosedPublic

Authored by dschuff on Nov 5 2018, 5:35 PM.

Details

Summary

Support the IS_SHARED bit in the memory limits flag word.
The compiler does not create object files with memory definitions, but the field is used by the linker.

Diff Detail

Repository
rL LLVM

Event Timeline

dschuff created this revision.Nov 5 2018, 5:35 PM

Object files currently import their memories, right? We should probably make that import shared when we use thread-model=posix.

sbc100 accepted this revision.Nov 6 2018, 8:45 AM
This revision is now accepted and ready to land.Nov 6 2018, 8:45 AM
This revision was automatically updated to reflect the committed changes.