[WebAssembly] Initial support for shared objects (-shared)
authorSam Clegg <sbc@chromium.org>
Thu, 15 Nov 2018 00:37:21 +0000 (00:37 +0000)
committerSam Clegg <sbc@chromium.org>
Thu, 15 Nov 2018 00:37:21 +0000 (00:37 +0000)
commitbfb75348e29298beb9e62cf0e88a67f754b4ad58
tree0a6354e291754cbdae9192ac023a8c93dac3320e
parentae533d31af508b1b83bf637a4ddf84378ed07de1
[WebAssembly] Initial support for shared objects (-shared)

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

Differential Revision: https://reviews.llvm.org/D54249

llvm-svn: 346918
lld/docs/ReleaseNotes.rst
lld/docs/WebAssembly.rst
lld/test/wasm/shared.ll [new file with mode: 0644]
lld/wasm/Config.h
lld/wasm/Driver.cpp
lld/wasm/LTO.cpp
lld/wasm/Options.td
lld/wasm/OutputSections.cpp
lld/wasm/Symbols.cpp
lld/wasm/Symbols.h
lld/wasm/Writer.cpp