1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 12:12:47 +01:00
llvm-mirror/lib/BinaryFormat
Heejin Ahn 7e35d3e5e5 [WebAssembly] Add support for the event section
Summary:
This adds support for the 'event section' specified in the exception
handling proposal. (This was named 'exception section' first, but later
renamed to 'event section' to take possibilities of other kinds of
events into consideration. But currently we only store exception info in
this section.)

The event section is added between the global section and the export
section. This is for ease of validation per request of the V8 team.

This patch:
- Creates the event symbol type, which is a weak symbol
- Makes 'throw' instruction take the event symbol '__cpp_exception'
- Adds relocation support for events
- Adds WasmObjectWriter / WasmObjectFile (Reader) support
- Adds obj2yaml / yaml2obj support
- Adds '.eventtype' printing support

Reviewers: dschuff, sbc100, aardappel

Subscribers: jgravelle-google, sunfish, llvm-commits

Differential Revision: https://reviews.llvm.org/D54096

llvm-svn: 346825
2018-11-14 02:46:21 +00:00
..
CMakeLists.txt [BinaryFormat] Add MessagePack reader/writer 2018-08-22 21:42:50 +00:00
Dwarf.cpp Revert r343317 2018-09-28 17:01:50 +00:00
LLVMBuild.txt
Magic.cpp Remove @brief commands from doxygen comments, too. 2018-05-01 16:10:38 +00:00
MsgPackReader.cpp [BinaryFormat] Add MessagePack reader/writer 2018-08-22 21:42:50 +00:00
MsgPackWriter.cpp Fix undefined behavior in r340457 2018-08-23 02:51:09 +00:00
Wasm.cpp [WebAssembly] Add support for the event section 2018-11-14 02:46:21 +00:00