LLVM  13.0.0git
Public Member Functions | Static Public Member Functions | List of all members
llvm::orc::TPCEHFrameRegistrar Class Reference

Register/Deregisters EH frames in a remote process via a TargetProcessControl instance. More...

#include "llvm/ExecutionEngine/Orc/TPCEHFrameRegistrar.h"

Inheritance diagram for llvm::orc::TPCEHFrameRegistrar:
Inheritance graph
[legend]
Collaboration diagram for llvm::orc::TPCEHFrameRegistrar:
Collaboration graph
[legend]

Public Member Functions

 TPCEHFrameRegistrar (TargetProcessControl &TPC, JITTargetAddress RegisterEHFrameWrapperFnAddr, JITTargetAddress DeregisterEHFRameWrapperFnAddr)
 Create a TPCEHFrameRegistrar with the given TargetProcessControl object and registration/deregistration function addresses. More...
 
Error registerEHFrames (JITTargetAddress EHFrameSectionAddr, size_t EHFrameSectionSize) override
 
Error deregisterEHFrames (JITTargetAddress EHFrameSectionAddr, size_t EHFrameSectionSize) override
 

Static Public Member Functions

static Expected< std::unique_ptr< TPCEHFrameRegistrar > > Create (TargetProcessControl &TPC)
 Create from a TargetProcessControl instance alone. More...
 

Detailed Description

Register/Deregisters EH frames in a remote process via a TargetProcessControl instance.

Definition at line 24 of file TPCEHFrameRegistrar.h.

Constructor & Destructor Documentation

◆ TPCEHFrameRegistrar()

llvm::orc::TPCEHFrameRegistrar::TPCEHFrameRegistrar ( TargetProcessControl TPC,
JITTargetAddress  RegisterEHFrameWrapperFnAddr,
JITTargetAddress  DeregisterEHFRameWrapperFnAddr 
)
inline

Create a TPCEHFrameRegistrar with the given TargetProcessControl object and registration/deregistration function addresses.

Definition at line 34 of file TPCEHFrameRegistrar.h.

Member Function Documentation

◆ Create()

Expected< std::unique_ptr< TPCEHFrameRegistrar > > llvm::orc::TPCEHFrameRegistrar::Create ( TargetProcessControl TPC)
static

◆ deregisterEHFrames()

Error llvm::orc::TPCEHFrameRegistrar::deregisterEHFrames ( JITTargetAddress  EHFrameSectionAddr,
size_t  EHFrameSectionSize 
)
overridevirtual

◆ registerEHFrames()

Error llvm::orc::TPCEHFrameRegistrar::registerEHFrames ( JITTargetAddress  EHFrameSectionAddr,
size_t  EHFrameSectionSize 
)
overridevirtual

The documentation for this class was generated from the following files: