summaryrefslogtreecommitdiffstats
path: root/lld/wasm/LTO.cpp
diff options
context:
space:
mode:
authorHeejin Ahn <aheejin@gmail.com>2018-12-08 06:17:43 +0000
committerHeejin Ahn <aheejin@gmail.com>2018-12-08 06:17:43 +0000
commite915a71f183a0d921f67dc1a95238885bcafeec8 (patch)
tree5fe7f26b14d29e41c8a9a9efd38aaebade20ce22 /lld/wasm/LTO.cpp
parenta2125b8d9953e3720e9a9ec621ccbfd5f2cd78f0 (diff)
downloadbcm5719-llvm-e915a71f183a0d921f67dc1a95238885bcafeec8.tar.gz
bcm5719-llvm-e915a71f183a0d921f67dc1a95238885bcafeec8.zip
[WebAssembly] Add support for the event section
Summary: This adds support for the 'event section' specified in the exception handling proposal. Wasm exception handling binary model spec: https://github.com/WebAssembly/exception-handling/blob/master/proposals/Exceptions.md#changes-to-the-binary-model Reviewers: sbc100, ruiu Subscribers: dschuff, jgravelle-google, sunfish, llvm-commits Differential Revision: https://reviews.llvm.org/D54875 llvm-svn: 348703
Diffstat (limited to 'lld/wasm/LTO.cpp')
-rw-r--r--lld/wasm/LTO.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/wasm/LTO.cpp b/lld/wasm/LTO.cpp
index ca227b4254a..96a947e29d4 100644
--- a/lld/wasm/LTO.cpp
+++ b/lld/wasm/LTO.cpp
@@ -80,7 +80,7 @@ BitcodeCompiler::~BitcodeCompiler() = default;
static void undefine(Symbol *S) {
if (auto F = dyn_cast<DefinedFunction>(S))
replaceSymbol<UndefinedFunction>(F, F->getName(), 0, F->getFile(),
- F->FunctionType);
+ F->Signature);
else if (isa<DefinedData>(S))
replaceSymbol<UndefinedData>(S, S->getName(), 0, S->getFile());
else
OpenPOWER on IntegriCloud