[PATCH] D55613: [WebAssembly] Add "needed" list to dylink section

Sam Clegg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 12 13:27:24 PST 2018


sbc100 created this revision.
Herald added subscribers: llvm-commits, sunfish, aheejin, jgravelle-google, dschuff.

See https://reviews.llvm.org/D55609


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D55613

Files:
  wasm/Writer.cpp


Index: wasm/Writer.cpp
===================================================================
--- wasm/Writer.cpp
+++ wasm/Writer.cpp
@@ -480,6 +480,7 @@
   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.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55613.177900.patch
Type: text/x-patch
Size: 454 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181212/9b1b124b/attachment.bin>


More information about the llvm-commits mailing list