class WasmException

Declaration

class WasmException : public EHStreamer { /* full declaration omitted */ };

Description

Emits exception handling directives.

Declared at: llvm/lib/CodeGen/AsmPrinter/WasmException.h:22

Inherits from: EHStreamer

Member Variables

Inherited from EHStreamer:

protected Asm
protected MMI

Method Overview

  • public WasmException(llvm::AsmPrinter * A)
  • public void beginFunction(const llvm::MachineFunction * MF)
  • protected void computeCallSiteTable(SmallVectorImpl<llvm::EHStreamer::CallSiteEntry> & CallSites, const SmallVectorImpl<const llvm::LandingPadInfo *> & LandingPads, const SmallVectorImpl<unsigned int> & FirstActions)
  • public void endFunction(const llvm::MachineFunction * MF)
  • public void endModule()
  • public virtual void markFunctionEnd()

Inherited from EHStreamer:

Inherited from AsmPrinterHandler:

Methods

WasmException(llvm::AsmPrinter* A)

Declared at: llvm/lib/CodeGen/AsmPrinter/WasmException.h:24

Parameters

llvm::AsmPrinter* A

void beginFunction(
    const llvm::MachineFunction* MF)

Description

Gather pre-function debug information. Every beginFunction(MF) call should be followed by an endFunction(MF) call.

Declared at: llvm/lib/CodeGen/AsmPrinter/WasmException.h:27

Parameters

const llvm::MachineFunction* MF

void computeCallSiteTable(
    SmallVectorImpl<
        llvm::EHStreamer::CallSiteEntry>&
        CallSites,
    const SmallVectorImpl<
        const llvm::LandingPadInfo*>& LandingPads,
    const SmallVectorImpl<unsigned int>&
        FirstActions)

Description

Compute the call-site table. The entry for an invoke has a try-range containing the call, a non-zero landing pad and an appropriate action. The entry for an ordinary call has a try-range containing the call and zero for the landing pad and the action. Calls marked 'nounwind' have no entry and must not be contained in the try-range of any entry - they form gaps in the table. Entries must be ordered by try-range address.

Declared at: llvm/lib/CodeGen/AsmPrinter/WasmException.h:33

Parameters

SmallVectorImpl<llvm::EHStreamer::CallSiteEntry>& CallSites
const SmallVectorImpl< const llvm::LandingPadInfo*>& LandingPads
const SmallVectorImpl<unsigned int>& FirstActions

void endFunction(const llvm::MachineFunction* MF)

Description

Gather post-function debug information. Please note that some AsmPrinter implementations may not call beginFunction at all.

Declared at: llvm/lib/CodeGen/AsmPrinter/WasmException.h:29

Parameters

const llvm::MachineFunction* MF

void endModule()

Description

Emit all sections that should come after the content.

Declared at: llvm/lib/CodeGen/AsmPrinter/WasmException.h:26

virtual void markFunctionEnd()

Declared at: llvm/lib/CodeGen/AsmPrinter/WasmException.h:28