llvm-project/llvm/lib/CodeGen/AsmPrinter
Heejin Ahn da419bdb5e [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
..
ARMException.cpp Use assembler expressions to lay out the EH LSDA. 2018-02-09 17:00:25 +00:00
AccelTable.cpp DebugInfo: Fix skipping CUs in DWARFv5 debug_names table 2018-08-24 20:31:05 +00:00
AddressPool.cpp DebugInfo: Use debug_addr for non-dwo addresses in DWARF 5 2018-10-20 06:02:15 +00:00
AddressPool.h [DWARF] - Emit the correct value for DW_AT_addr_base. 2018-09-20 09:17:36 +00:00
AsmPrinter.cpp Reland "[WebAssembly] LSDA info generation" 2018-10-25 23:55:10 +00:00
AsmPrinterDwarf.cpp Revert r343317 2018-09-28 17:01:50 +00:00
AsmPrinterHandler.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
AsmPrinterInlineAsm.cpp [MC] Separate masm integer literal lexer support from inline asm 2018-10-24 20:23:57 +00:00
ByteStreamer.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
CMakeLists.txt Reland "[WebAssembly] LSDA info generation" 2018-10-25 23:55:10 +00:00
CodeViewDebug.cpp [codeview] Let the X86 backend tell us the VFRAME offset adjustment 2018-11-03 00:41:52 +00:00
CodeViewDebug.h [codeview] Let the X86 backend tell us the VFRAME offset adjustment 2018-11-03 00:41:52 +00:00
DIE.cpp [DEBUGINFO, NVPTX] Try to pack bytes data into a single string. 2018-10-24 14:04:00 +00:00
DIEHash.cpp Rename DEBUG macro to LLVM_DEBUG. 2018-05-14 12:53:11 +00:00
DIEHash.h Fix -Wdocumentation warning. NFCI. 2018-07-18 09:07:54 +00:00
DIEHashAttributes.def Fix DIEHash refactoring that dropped the DW_AT_name from the hash 2017-05-23 18:36:07 +00:00
DbgEntityHistoryCalculator.cpp [DebugInfo] Do not generate label debug info if it has been processed. 2018-09-06 02:22:06 +00:00
DbgEntityHistoryCalculator.h [DebugInfo] Do not generate label debug info if it has been processed. 2018-09-06 02:22:06 +00:00
DebugHandlerBase.cpp [DWARF] Use a function-local offset for AT_call_return_pc 2018-10-22 21:44:21 +00:00
DebugHandlerBase.h [DWARF] Use a function-local offset for AT_call_return_pc 2018-10-22 21:44:21 +00:00
DebugLocEntry.h llvm::sort(C.begin(), C.end(), ...) -> llvm::sort(C, ...) 2018-09-27 02:13:45 +00:00
DebugLocStream.cpp
DebugLocStream.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
DwarfCFIException.cpp Move TargetLoweringObjectFile from CodeGen to Target to fix layering 2018-03-23 23:58:19 +00:00
DwarfCompileUnit.cpp NFC: DebugInfo: Track the origin CU rather than just the base address for range lists 2018-11-08 00:35:54 +00:00
DwarfCompileUnit.h [DWARF] Use a function-local offset for AT_call_return_pc 2018-10-22 21:44:21 +00:00
DwarfDebug.cpp [AsmPrinter] Rename a comment of .debug_gnu_pubnames entry 2018-11-13 20:18:08 +00:00
DwarfDebug.h DebugInfo: Reuse common addresses for rnglist base address selections 2018-10-24 23:36:29 +00:00
DwarfException.h Use assembler expressions to lay out the EH LSDA. 2018-02-09 17:00:25 +00:00
DwarfExpression.cpp Use llvm::{all,any,none}_of instead std::{all,any,none}_of. NFC 2018-10-19 06:12:02 +00:00
DwarfExpression.h [DebugInfo] Normalize common kinds of DWARF sub-expressions. 2018-09-05 10:18:36 +00:00
DwarfFile.cpp NFC: DebugInfo: Track the origin CU rather than just the base address for range lists 2018-11-08 00:35:54 +00:00
DwarfFile.h NFC: DebugInfo: Track the origin CU rather than just the base address for range lists 2018-11-08 00:35:54 +00:00
DwarfStringPool.cpp Use the container form llvm::sort(C, ...) 2018-09-30 22:31:29 +00:00
DwarfStringPool.h [DebugInfo] Reduce debug_str_offsets section size 2018-08-07 09:54:52 +00:00
DwarfUnit.cpp [Codegen] - Implement basic .debug_loclists section emission (DWARF5). 2018-10-26 11:25:12 +00:00
DwarfUnit.h [Codegen] - Implement basic .debug_loclists section emission (DWARF5). 2018-10-26 11:25:12 +00:00
EHStreamer.cpp Reland "[WebAssembly] LSDA info generation" 2018-10-25 23:55:10 +00:00
EHStreamer.h Reland "[WebAssembly] LSDA info generation" 2018-10-25 23:55:10 +00:00
ErlangGCPrinter.cpp [GC] Rename a header for consistency 2018-11-10 16:08:10 +00:00
LLVMBuild.txt Update libdeps to add BinaryFormat, introduced in r304864. 2017-06-07 04:48:49 +00:00
OcamlGCPrinter.cpp [GC] Rename a header for consistency 2018-11-10 16:08:10 +00:00
WasmException.cpp [WebAssembly] Add support for the event section 2018-11-14 02:46:21 +00:00
WasmException.h [WebAssembly] Add support for the event section 2018-11-14 02:46:21 +00:00
WinCFGuard.cpp Reland "Emit Function IDs table for Control Flow Guard" 2018-01-09 23:49:30 +00:00
WinCFGuard.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
WinException.cpp [ARM64][Windows] MCLayer support for exception handling 2018-10-27 06:13:06 +00:00
WinException.h [ARM64][Windows] MCLayer support for exception handling 2018-10-27 06:13:06 +00:00