12 std::vector<std::optional<ExecutorSymbolDef>>
Result;
15 for (
const auto &
E : L) {
25 const char *DemangledSymName =
E.Name.c_str();
27 if (
E.Name.front() !=
'_')
29 "\" missing leading '_'",
34 void *Addr =
DL.getAddressOfSymbol(DemangledSymName);
35 if (!Addr &&
E.Required)
44 OnResolve(std::move(
Result));
MachineBasicBlock MachineBasicBlock::iterator DebugLoc DL
static GCRegistry::Add< CoreCLRGC > E("coreclr", "CoreCLR-compatible GC")
Twine - A lightweight data structure for efficiently representing the concatenation of temporary valu...
void resolveAsync(const RemoteSymbolLookupSet &L, ExecutorResolver::YieldResolveResultFn &&OnResolve) override
static ExecutorAddr fromPtr(T *Ptr, UnwrapFn &&Unwrap=UnwrapFn())
Create an ExecutorAddr from the given pointer.
unique_function< void(ResolveResult)> YieldResolveResultFn
Represents a defining location for a JIT symbol.
This class provides a portable interface to dynamic libraries which also might be known as shared lib...
std::vector< RemoteSymbolLookupSetElement > RemoteSymbolLookupSet
LLVM_ABI std::error_code inconvertibleErrorCode()
The value returned by this function can be returned from convertToErrorCode for Error values where no...
Error make_error(ArgTs &&... Args)
Make a Error instance representing failure using the given error info type.