summaryrefslogtreecommitdiffstats
path: root/lld/wasm/SymbolTable.h
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2019-03-13 21:29:20 +0000
committerSam Clegg <sbc@chromium.org>2019-03-13 21:29:20 +0000
commita688a42cdda4a71e6e23d5acc47d85d47fa3b0e8 (patch)
tree6fe0d8bdf5835cf2eba8aa3c3dc11a092e565dc0 /lld/wasm/SymbolTable.h
parentbb1aced80dd6b6044455f0e7b74c595b94122c06 (diff)
downloadbcm5719-llvm-a688a42cdda4a71e6e23d5acc47d85d47fa3b0e8.tar.gz
bcm5719-llvm-a688a42cdda4a71e6e23d5acc47d85d47fa3b0e8.zip
[WebAssembly] Improve support for "needed" list in dylink section
This change adds basic support for shared library dependencies via the dylink section. See https://github.com/WebAssembly/tool-conventions/pull/77 Differential Revision: https://reviews.llvm.org/D59237 llvm-svn: 356102
Diffstat (limited to 'lld/wasm/SymbolTable.h')
-rw-r--r--lld/wasm/SymbolTable.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lld/wasm/SymbolTable.h b/lld/wasm/SymbolTable.h
index 3d0529af41d..afb1bb97d44 100644
--- a/lld/wasm/SymbolTable.h
+++ b/lld/wasm/SymbolTable.h
@@ -39,6 +39,7 @@ public:
void addCombinedLTOObject();
std::vector<ObjFile *> ObjectFiles;
+ std::vector<InputFile *> SharedFiles;
std::vector<BitcodeFile *> BitcodeFiles;
std::vector<InputFunction *> SyntheticFunctions;
std::vector<InputGlobal *> SyntheticGlobals;
OpenPOWER on IntegriCloud