16#ifndef LLVM_EXECUTIONENGINE_ORC_LOOKUPANDRECORDADDRS_H
17#define LLVM_EXECUTIONENGINE_ORC_LOOKUPANDRECORDADDRS_H
45 unique_function<
void(Error)> OnRecorded, ExecutionSession &ES,
LookupKind K,
47 std::vector<std::pair<SymbolStringPtr, ExecutorAddr *>> Pairs,
55 std::vector<std::pair<SymbolStringPtr, ExecutorAddr *>> Pairs,
64 std::vector<std::pair<SymbolStringPtr, ExecutorAddr *>> Pairs,
ExecutorAddr DylibHandle
A handle used to represent a loaded dylib in the target process.
std::vector< std::pair< JITDylib *, JITDylibLookupFlags > > JITDylibSearchOrder
A list of (JITDylib*, JITDylibLookupFlags) pairs to be used as a search order during symbol lookup.
SymbolLookupFlags
Lookup flags that apply to each symbol in a lookup.
void lookupAndRecordAddrs(unique_function< void(Error)> OnRecorded, ExecutionSession &ES, LookupKind K, const JITDylibSearchOrder &SearchOrder, std::vector< std::pair< SymbolStringPtr, ExecutorAddr * > > Pairs, SymbolLookupFlags LookupFlags=SymbolLookupFlags::RequiredSymbol)
Record addresses of the given symbols in the given ExecutorAddrs.
LookupKind
Describes the kind of lookup being performed.
This is an optimization pass for GlobalISel generic memory operations.