13#ifndef LLVM_EXECUTIONENGINE_ORC_EPCEHFRAMEREGISTRAR_H
14#define LLVM_EXECUTIONENGINE_ORC_EPCEHFRAMEREGISTRAR_H
22class ExecutionSession;
43 : ES(ES), RegisterEHFrameSectionWrapper(RegisterEHFrameSectionWrapper),
44 DeregisterEHFrameSectionWrapper(DeregisterEHFRameSectionWrapper) {}
Lightweight error class with error context and mandatory checking.
Tagged union holding either a T or a Error.
Supports registration/deregistration of EH-frames in a target process.
Register/Deregisters EH frames in a remote process via a ExecutorProcessControl instance.
static Expected< std::unique_ptr< EPCEHFrameRegistrar > > Create(ExecutionSession &ES)
Create from a ExecutorProcessControl instance alone.
Error deregisterEHFrames(ExecutorAddrRange EHFrameSection) override
EPCEHFrameRegistrar(ExecutionSession &ES, ExecutorAddr RegisterEHFrameSectionWrapper, ExecutorAddr DeregisterEHFRameSectionWrapper)
Create a EPCEHFrameRegistrar with the given ExecutorProcessControl object and registration/deregistra...
Error registerEHFrames(ExecutorAddrRange EHFrameSection) override
An ExecutionSession represents a running JIT program.
Represents an address in the executor process.
This is an optimization pass for GlobalISel generic memory operations.
Represents an address range in the exceutor process.