diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2019-02-28 12:53:08 -0500 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2019-02-28 12:53:08 -0500 |
| commit | 5768fcb0850335fa8b5f3dca23f1bbfca5d6efb2 (patch) | |
| tree | ccf3f503ec9ff6b1855c017e3c836d594bd9448e /deps/lld/wasm/LTO.cpp | |
| parent | 6bc19b437c4323f3b71ad38c5e8e9d0a54ad8d74 (diff) | |
| download | zig-5768fcb0850335fa8b5f3dca23f1bbfca5d6efb2.tar.gz zig-5768fcb0850335fa8b5f3dca23f1bbfca5d6efb2.zip | |
update embedded LLD to 8.0.0rc3
Diffstat (limited to 'deps/lld/wasm/LTO.cpp')
| -rw-r--r-- | deps/lld/wasm/LTO.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/deps/lld/wasm/LTO.cpp b/deps/lld/wasm/LTO.cpp index 96a947e29d..e994691cce 100644 --- a/deps/lld/wasm/LTO.cpp +++ b/deps/lld/wasm/LTO.cpp @@ -79,8 +79,9 @@ BitcodeCompiler::~BitcodeCompiler() = default; static void undefine(Symbol *S) { if (auto F = dyn_cast<DefinedFunction>(S)) - replaceSymbol<UndefinedFunction>(F, F->getName(), 0, F->getFile(), - F->Signature); + replaceSymbol<UndefinedFunction>(F, F->getName(), F->getName(), + DefaultModule, 0, + F->getFile(), F->Signature); else if (isa<DefinedData>(S)) replaceSymbol<UndefinedData>(S, S->getName(), 0, S->getFile()); else |
