Based on the initial spec proposal:
https://github.com/WebAssembly/tool-conventions/blob/master/DynamicLinking.md
The llvm/codegen side of this is still missing but I believe this change is
still worth landing as an incremental step
Paths
| Differential D54249
[WebAssembly] Initial support for shared objects (-shared) ClosedPublic Authored by sbc100 on Nov 7 2018, 6:04 PM.
Details Summary Based on the initial spec proposal: The llvm/codegen side of this is still missing but I believe this change is
Diff Detail
Event TimelineHerald added subscribers: llvm-commits, dexonsmith, steven_wu and 5 others. · View Herald TranscriptNov 7 2018, 6:04 PM
Comment Actions
This revision is now accepted and ready to land.Nov 14 2018, 10:17 AM Closed by commit rL346918: [WebAssembly] Initial support for shared objects (-shared) (authored by sbc). · Explain WhyNov 14 2018, 4:40 PM Closed by commit rLLD346918: [WebAssembly] Initial support for shared objects (-shared) (authored by sbc). · Explain Why This revision was automatically updated to reflect the committed changes. This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 173898 docs/ReleaseNotes.rst
docs/WebAssembly.rst
test/wasm/shared.ll
wasm/Config.h
wasm/Driver.cpp
wasm/LTO.cpp
wasm/Options.td
wasm/OutputSections.cpp
wasm/Symbols.h
wasm/Symbols.cpp
wasm/Writer.cpp
|
We should make it clear that the ABI is not stable. In fact, it may change significantly in the future if we move to two-level namespacing and/or making use of ES6 module integration.