Go to the documentation of this file.
67 {{SAs.Instance, rt::SimpleExecutorDylibManagerInstanceName},
68 {SAs.Open, rt::SimpleExecutorDylibManagerOpenWrapperName},
69 {SAs.Lookup, rt::SimpleExecutorDylibManagerLookupWrapperName}}))
79 SAs.Open,
H, SAs.Instance, Path,
Mode))
90 SAs.Lookup, Result, SAs.Instance,
H,
Lookup))
101 SAs.Lookup, Result, SAs.Instance,
H,
Lookup))
Represents an address in the executor process.
This is an optimization pass for GlobalISel generic memory operations.
std::vector< RemoteSymbolLookupSetElement > RemoteSymbolLookupSet
Function addresses for memory access.
Specialize this to implement 'trivial' sequence serialization for a concrete sequence type.
Error getBootstrapSymbols(ArrayRef< std::pair< ExecutorAddr &, StringRef >> Pairs) const
For each (ExecutorAddr&, StringRef) pair, looks up the string in the bootstrap symbols map and writes...
Specialize to describe how to serialize/deserialize to/from the given concrete type.
shared::SPSExpected< shared::SPSExecutorAddr >(shared::SPSExecutorAddr, shared::SPSString, uint64_t) SPSSimpleExecutorDylibManagerOpenSignature
static Expected< EPCGenericDylibManager > CreateWithDefaultBootstrapSymbols(ExecutorProcessControl &EPC)
Create an EPCGenericMemoryAccess instance from a given set of function addrs.
A set of symbols to look up, each associated with a SymbolLookupFlags value.
Output char buffer with overflow check.
ExecutorProcessControl supports interaction with a JIT target process.
Tagged union holding either a T or a Error.
tpctypes::DylibHandle Handle
const SymbolLookupSet & Symbols
static constexpr bool available
A pair of a dylib and a set of symbols to be looked up.
std::pair< SymbolStringPtr, SymbolLookupFlags > value_type
shared::SPSExpected< shared::SPSSequence< shared::SPSExecutorAddr > >(shared::SPSExecutorAddr, shared::SPSExecutorAddr, shared::SPSRemoteSymbolLookupSet) SPSSimpleExecutorDylibManagerLookupSignature
compiles ldr LCPI1_0 ldr ldr mov lsr tst moveq r1 ldr LCPI1_1 and r0 bx lr It would be better to do something like to fold the shift into the conditional move
static bool serialize(SPSOutputBuffer &OB, const SymbolLookupSet::value_type &V)
static size_t size(const ExecutorProcessControl::LookupRequest &LR)
StringRef - Represent a constant reference to a string, i.e.
static size_t size(const SymbolLookupSet::value_type &V)
static bool serialize(SPSOutputBuffer &OB, const ExecutorProcessControl::LookupRequest &LR)
static int Lookup(ArrayRef< TableEntry > Table, unsigned Opcode)
static bool lookup(const GsymReader &GR, DataExtractor &Data, uint64_t &Offset, uint64_t BaseAddr, uint64_t Addr, SourceLocations &SrcLocs, llvm::Error &Err)
A Lookup helper functions.
A utility class for serializing to a blob from a variadic list.