From fe99e3458f11d1a01fa3ad5b68883dbcba3903af Mon Sep 17 00:00:00 2001 From: Heejin Ahn Date: Fri, 31 May 2019 20:02:37 -0700 Subject: Add event section (#2151) This adds support for the event and the event section, as specified in https://github.com/WebAssembly/exception-handling/blob/master/proposals/Exceptions.md#changes-to-the-binary-model. Wasm events are features that suspend the current execution and transfer the control flow to a corresponding handler. Currently the only supported event kind is exceptions. For events, this includes support for - Binary file reading/writing - Wast file reading/writing - Binaryen.js API - Fuzzer - Validation - Metadce - Passes: metrics, minify-imports-and-exports, remove-unused-module-elements --- src/shared-constants.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/shared-constants.h') diff --git a/src/shared-constants.h b/src/shared-constants.h index 9e119dc95..9fb84dbf8 100644 --- a/src/shared-constants.h +++ b/src/shared-constants.h @@ -62,6 +62,8 @@ extern Name SPECTEST; extern Name PRINT; extern Name EXIT; extern Name SHARED; +extern Name EVENT; +extern Name ATTR; } // namespace wasm -- cgit v1.2.3