mirror of
https://github.com/intel/llvm.git
synced 2026-01-26 12:26:52 +08:00
[WebAssembly] Add "needed" list to dylink section
Differential Revision: https://reviews.llvm.org/D55613 llvm-svn: 348990
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user