Skip to content

Commit

Permalink
[WebAssembly] Add "needed" list to dylink section
Browse files Browse the repository at this point in the history
Differential Revision: https://reviews.llvm.org/D55613

llvm-svn: 348990
  • Loading branch information
sbc100 committed Dec 12, 2018
1 parent 0380125 commit e01c646
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lld/wasm/Writer.cpp
Expand Up @@ -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.
Expand Down

0 comments on commit e01c646

Please sign in to comment.