Go to the documentation of this file.
13 #ifndef LLVM_EXECUTIONENGINE_ORC_EPCDEBUGOBJECTREGISTRAR_H
14 #define LLVM_EXECUTIONENGINE_ORC_EPCDEBUGOBJECTREGISTRAR_H
29 class ExecutionSession;
43 : ES(ES), RegisterFn(RegisterFn) {}
60 #endif // LLVM_EXECUTIONENGINE_ORC_EPCDEBUGOBJECTREGISTRAR_H
Represents an address in the executor process.
This is an optimization pass for GlobalISel generic memory operations.
EPCDebugObjectRegistrar(ExecutionSession &ES, ExecutorAddr RegisterFn)
Tagged union holding either a T or a Error.
Abstract interface for registering debug objects in the executor process.
Represents an address range in the exceutor process.
Error registerDebugObject(ExecutorAddrRange TargetMem) override
virtual Error registerDebugObject(ExecutorAddrRange TargetMem)=0
Use ExecutorProcessControl to register debug objects locally or in a remote executor process.
virtual ~DebugObjectRegistrar()=default
Lightweight error class with error context and mandatory checking.
An ExecutionSession represents a running JIT program.
Expected< std::unique_ptr< EPCDebugObjectRegistrar > > createJITLoaderGDBRegistrar(ExecutionSession &ES)
Create a ExecutorProcessControl-based DebugObjectRegistrar that emits debug objects to the GDB JIT in...