LLVM 20.0.0git
|
Register/Deregisters EH frames in a remote process via a ExecutorProcessControl instance. More...
#include "llvm/ExecutionEngine/Orc/EPCEHFrameRegistrar.h"
Public Member Functions | |
EPCEHFrameRegistrar (ExecutionSession &ES, ExecutorAddr RegisterEHFrameSectionWrapper, ExecutorAddr DeregisterEHFRameSectionWrapper) | |
Create a EPCEHFrameRegistrar with the given ExecutorProcessControl object and registration/deregistration function addresses. | |
Error | registerEHFrames (ExecutorAddrRange EHFrameSection) override |
Error | deregisterEHFrames (ExecutorAddrRange EHFrameSection) override |
Public Member Functions inherited from llvm::jitlink::EHFrameRegistrar | |
virtual | ~EHFrameRegistrar () |
virtual Error | registerEHFrames (orc::ExecutorAddrRange EHFrameSection)=0 |
virtual Error | deregisterEHFrames (orc::ExecutorAddrRange EHFrameSection)=0 |
Static Public Member Functions | |
static Expected< std::unique_ptr< EPCEHFrameRegistrar > > | Create (ExecutionSession &ES) |
Create from a ExecutorProcessControl instance alone. | |
Register/Deregisters EH frames in a remote process via a ExecutorProcessControl instance.
Definition at line 26 of file EPCEHFrameRegistrar.h.
|
inline |
Create a EPCEHFrameRegistrar with the given ExecutorProcessControl object and registration/deregistration function addresses.
Definition at line 40 of file EPCEHFrameRegistrar.h.
|
static |
Create from a ExecutorProcessControl instance alone.
This will use the EPC's lookupSymbols method to find the registration/deregistration function addresses by name.
If RegistrationFunctionsDylib is non-None then it will be searched to find the registration functions. If it is None then the process dylib will be loaded to find the registration functions.
Definition at line 20 of file EPCEHFrameRegistrar.cpp.
References llvm::orc::ExecutorProcessControl::getBootstrapSymbols(), and llvm::orc::ExecutionSession::getExecutorProcessControl().
Referenced by llvm::orc::LLJITBuilderState::prepareForConstruction().
|
overridevirtual |
Implements llvm::jitlink::EHFrameRegistrar.
Definition at line 42 of file EPCEHFrameRegistrar.cpp.
|
overridevirtual |
Implements llvm::jitlink::EHFrameRegistrar.
Definition at line 37 of file EPCEHFrameRegistrar.cpp.