[WebAssembly] Add import info to `dylink` section of shared libraries
authorSam Clegg <sbc@chromium.org>
Thu, 7 Oct 2021 19:17:15 +0000 (12:17 -0700)
committerSam Clegg <sbc@chromium.org>
Fri, 15 Oct 2021 18:49:16 +0000 (11:49 -0700)
commit659a08399a78c8807218558767f5d574a904ed30
tree705d2ebeebc75c6cbb4f1b485317d39acfb6578b
parentcfd155c41bf2a3a90f196cd9821fdef2a5f1d962
[WebAssembly] Add import info to `dylink` section of shared libraries

See https://github.com/WebAssembly/tool-conventions/pull/175

Differential Revision: https://reviews.llvm.org/D111345
lld/test/wasm/shared-weak-undefined.s [new file with mode: 0644]
lld/wasm/SyntheticSections.cpp
llvm/include/llvm/BinaryFormat/Wasm.h
llvm/include/llvm/ObjectYAML/WasmYAML.h
llvm/lib/Object/WasmObjectFile.cpp
llvm/lib/ObjectYAML/WasmYAML.cpp
llvm/tools/obj2yaml/wasm2yaml.cpp