LLVM
15.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 RegisterEHFrameWrapperFnAddr, ExecutorAddr DeregisterEHFRameWrapperFnAddr) | |
Create a EPCEHFrameRegistrar with the given ExecutorProcessControl object and registration/deregistration function addresses. More... | |
Error | registerEHFrames (ExecutorAddrRange EHFrameSection) override |
Error | deregisterEHFrames (ExecutorAddrRange EHFrameSection) override |
![]() | |
virtual | ~EHFrameRegistrar () |
Static Public Member Functions | |
static Expected< std::unique_ptr< EPCEHFrameRegistrar > > | Create (ExecutionSession &ES) |
Create from a ExecutorProcessControl instance alone. More... | |
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 36 of file EPCEHFrameRegistrar.h.
|
static |
Create from a ExecutorProcessControl instance alone.
This will use the EPC's lookupSymbols method to find the registration/deregistration funciton addresses by name.
Definition at line 20 of file EPCEHFrameRegistrar.cpp.
References llvm::orc::SymbolLookupSet::add(), assert(), llvm::orc::ExecutionSession::getExecutorProcessControl(), llvm::orc::ExecutorProcessControl::loadDylib(), and llvm::size().
|
overridevirtual |
Implements llvm::jitlink::EHFrameRegistrar.
Definition at line 64 of file EPCEHFrameRegistrar.cpp.
|
overridevirtual |
Implements llvm::jitlink::EHFrameRegistrar.
Definition at line 59 of file EPCEHFrameRegistrar.cpp.