1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/tools/llvm-readobj
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
..
ARMEHABIPrinter.h Instead of ELFFile<ELFT>::Type, use ELFT::Type. NFC. 2018-01-12 02:28:31 +00:00
ARMWinEHPrinter.cpp [Support] Make error banner optional in logAllUnhandledErrors 2018-11-11 01:46:03 +00:00
ARMWinEHPrinter.h [ARM64][Windows] Add unwind support to llvm-readobj 2018-10-24 00:03:34 +00:00
CMakeLists.txt Reland "[DebugInfo] Support DWARF expressions in eh_frame" 2018-03-08 00:46:53 +00:00
COFFDumper.cpp [llvm-readelf] Make llvm-readelf more compatible with GNU readelf. 2018-11-12 18:02:38 +00:00
COFFImportDumper.cpp Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
DwarfCFIEHPrinter.h Revert r343317 2018-09-28 17:01:50 +00:00
ELFDumper.cpp [libObject] Fix getDesc for Elf_Note_Impl 2018-11-13 01:10:35 +00:00
Error.cpp Remove LLVM_NOEXCEPT and replace it with noexcept 2016-10-19 23:52:38 +00:00
Error.h
llvm-readobj.cpp [llvm-readelf] Make llvm-readelf more compatible with GNU readelf. 2018-11-12 18:02:38 +00:00
llvm-readobj.h [llvm-readelf] Make llvm-readelf more compatible with GNU readelf. 2018-11-12 18:02:38 +00:00
LLVMBuild.txt Move Object format code to lib/BinaryFormat. 2017-06-07 03:48:56 +00:00
MachODumper.cpp [llvm-readelf] Make llvm-readelf more compatible with GNU readelf. 2018-11-12 18:02:38 +00:00
ObjDumper.cpp [ADT] Replace std::isprint by llvm::isPrint. 2018-07-26 15:31:41 +00:00
ObjDumper.h [llvm-readelf] Make llvm-readelf more compatible with GNU readelf. 2018-11-12 18:02:38 +00:00
StackMapPrinter.h [llvm-readobj] Consistent use of ScopedPrinter 2018-01-10 00:14:19 +00:00
WasmDumper.cpp [WebAssembly] Add support for the event section 2018-11-14 02:46:21 +00:00
Win64EHDumper.cpp Thread Expected<...> up from libObject’s getSymbolAddress() for symbols to allow 2016-06-24 18:24:42 +00:00
Win64EHDumper.h Move llvm-readobj/StreamWriter to Support. 2016-05-03 00:28:04 +00:00
WindowsResourceDumper.cpp Remove redundant includes from tools. 2017-12-13 21:31:10 +00:00
WindowsResourceDumper.h [llvm-readobj] Teach readobj to dump .res files (WindowsResource). 2017-09-20 18:33:35 +00:00