diff options
| author | Heejin Ahn <aheejin@gmail.com> | 2018-12-08 06:17:43 +0000 |
|---|---|---|
| committer | Heejin Ahn <aheejin@gmail.com> | 2018-12-08 06:17:43 +0000 |
| commit | e915a71f183a0d921f67dc1a95238885bcafeec8 (patch) | |
| tree | 5fe7f26b14d29e41c8a9a9efd38aaebade20ce22 /lld/wasm/SymbolTable.h | |
| parent | a2125b8d9953e3720e9a9ec621ccbfd5f2cd78f0 (diff) | |
| download | bcm5719-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/SymbolTable.h')
| -rw-r--r-- | lld/wasm/SymbolTable.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lld/wasm/SymbolTable.h b/lld/wasm/SymbolTable.h index b8284ac9386..5e38e30692a 100644 --- a/lld/wasm/SymbolTable.h +++ b/lld/wasm/SymbolTable.h @@ -56,6 +56,8 @@ public: uint32_t Size); Symbol *addDefinedGlobal(StringRef Name, uint32_t Flags, InputFile *File, InputGlobal *G); + Symbol *addDefinedEvent(StringRef Name, uint32_t Flags, InputFile *File, + InputEvent *E); Symbol *addUndefinedFunction(StringRef Name, uint32_t Flags, InputFile *File, const WasmSignature *Signature); |

