projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0380125
)
[WebAssembly] Add "needed" list to dylink section
author
Sam Clegg
<sbc@chromium.org>
Wed, 12 Dec 2018 23:44:59 +0000
(23:44 +0000)
committer
Sam Clegg
<sbc@chromium.org>
Wed, 12 Dec 2018 23:44:59 +0000
(23:44 +0000)
Differential Revision: https://reviews.llvm.org/D55613
llvm-svn: 348990
lld/wasm/Writer.cpp
patch
|
blob
|
history
diff --git
a/lld/wasm/Writer.cpp
b/lld/wasm/Writer.cpp
index 994b3743c49e6f874b1a648263167000e4678fb5..710f9ccdfc6548282b0503b73f755b9e66a96343 100644
(file)
--- a/
lld/wasm/Writer.cpp
+++ b/
lld/wasm/Writer.cpp
@@
-480,6
+480,7
@@
void Writer::createDylinkSection() {
writeUleb128(OS, int(log2(MemAlign)), "MemAlign");
writeUleb128(OS, IndirectFunctions.size(), "TableSize");
writeUleb128(OS, 0, "TableAlign");
+ writeUleb128(OS, 0, "Needed"); // TODO: Support "needed" shared libraries
}
// Create the custom "linking" section containing linker metadata.