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:
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:
- public beginInstruction
- public callToNoUnwindFunction
- protected computeActionsTable
- protected computeCallSiteTable
- protected computePadMap
- protected emitExceptionTable
- protected emitTypeInfos
- public endInstruction
- protected isCatchEHSelector
- protected isCleanupEHSelector
- protected isFilterEHSelector
- public setSymbolSize
- protected sharedTypeIDs
Inherited from AsmPrinterHandler:
- public beginFragment
- public beginFunclet
- public beginFunction
- public beginInstruction
- public endFragment
- public endFunclet
- public endFunction
- public endInstruction
- public endModule
- public markFunctionEnd
- public setSymbolSize
Methods
¶WasmException(llvm::AsmPrinter* A)
WasmException(llvm::AsmPrinter* A)
Declared at: llvm/lib/CodeGen/AsmPrinter/WasmException.h:24
Parameters
¶void beginFunction(
const llvm::MachineFunction* MF)
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)
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)
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()
void endModule()
Description
Emit all sections that should come after the content.
Declared at: llvm/lib/CodeGen/AsmPrinter/WasmException.h:26
¶virtual void markFunctionEnd()
virtual void markFunctionEnd()
Declared at: llvm/lib/CodeGen/AsmPrinter/WasmException.h:28