diff options
author | Sam Clegg <sbc@chromium.org> | 2018-12-12 23:40:58 +0000 |
---|---|---|
committer | Sam Clegg <sbc@chromium.org> | 2018-12-12 23:40:58 +0000 |
commit | 03801256d86eb0d22dc7d489ed4ec0eec9ace6b6 (patch) | |
tree | 8dff16dade50cba59768a25aea61e4c691d7832b /llvm/include/llvm/BinaryFormat/Wasm.h | |
parent | 744c3c327fbaa3548c4af62694e7c3eeca8b4f6f (diff) | |
download | bcm5719-llvm-03801256d86eb0d22dc7d489ed4ec0eec9ace6b6.tar.gz bcm5719-llvm-03801256d86eb0d22dc7d489ed4ec0eec9ace6b6.zip |
[WebAssembly] Update dylink section parsing
This updates the format of the dylink section in accordance with
recent "spec" change:
https://github.com/WebAssembly/tool-conventions/pull/77
Differential Revision: https://reviews.llvm.org/D55609
llvm-svn: 348989
Diffstat (limited to 'llvm/include/llvm/BinaryFormat/Wasm.h')
-rw-r--r-- | llvm/include/llvm/BinaryFormat/Wasm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/include/llvm/BinaryFormat/Wasm.h b/llvm/include/llvm/BinaryFormat/Wasm.h index dc1cfd8e7b9..9b8ca28de66 100644 --- a/llvm/include/llvm/BinaryFormat/Wasm.h +++ b/llvm/include/llvm/BinaryFormat/Wasm.h @@ -40,6 +40,7 @@ struct WasmDylinkInfo { uint32_t MemoryAlignment; // P2 alignment of memory uint32_t TableSize; // Table size in elements uint32_t TableAlignment; // P2 alignment of table + std::vector<StringRef> Needed; // Shared library depenedencies }; struct WasmExport { |