diff options
| author | Sam Clegg <sbc@chromium.org> | 2019-02-01 02:29:57 +0000 |
|---|---|---|
| committer | Sam Clegg <sbc@chromium.org> | 2019-02-01 02:29:57 +0000 |
| commit | 7cc0753118473b5a1c646b826819b294a55c302e (patch) | |
| tree | 5cd1280d804cc17bb7f2edf5171d3368c33a5075 /lld/wasm/SymbolTable.h | |
| parent | 13680223b9d80bb01e17372f0907cf215e424cce (diff) | |
| download | bcm5719-llvm-7cc0753118473b5a1c646b826819b294a55c302e.tar.gz bcm5719-llvm-7cc0753118473b5a1c646b826819b294a55c302e.zip | |
[WebAssembly] Support imports from custom module names
Fixes: https://bugs.llvm.org/show_bug.cgi?id=37168
This is only a first pass at supporting these custom import
modules. In the long run we most likely want to treat these
kinds of symbols very differently. For example, it should not
be possible to resolve such as symbol at static link type.
Differential Revision: https://reviews.llvm.org/D45796
llvm-svn: 352828
Diffstat (limited to 'lld/wasm/SymbolTable.h')
| -rw-r--r-- | lld/wasm/SymbolTable.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lld/wasm/SymbolTable.h b/lld/wasm/SymbolTable.h index b721984e841..f0bdd6cc01c 100644 --- a/lld/wasm/SymbolTable.h +++ b/lld/wasm/SymbolTable.h @@ -58,8 +58,8 @@ public: Symbol *addDefinedEvent(StringRef Name, uint32_t Flags, InputFile *File, InputEvent *E); - Symbol *addUndefinedFunction(StringRef Name, uint32_t Flags, InputFile *File, - const WasmSignature *Signature); + Symbol *addUndefinedFunction(StringRef Name, StringRef Module, uint32_t Flags, + InputFile *File, const WasmSignature *Signature); Symbol *addUndefinedData(StringRef Name, uint32_t Flags, InputFile *File); Symbol *addUndefinedGlobal(StringRef Name, uint32_t Flags, InputFile *File, const WasmGlobalType *Type); |

