LLVM 24.0.0git
InstanceSymbolGeneratorSPS.h
Go to the documentation of this file.
1//===- InstanceSymbolGeneratorSPS.h - SPS instance symbols ------*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8//
9// Binds InstanceSymbolGenerator to the ORC runtime's SPS controller interface:
10// a ProxySpec for the lookup operation, plus a factory that constructs a
11// generator from the lookup function's address.
12//
13// The spec pairs InstanceSymbolGenerator's proxy with its controller-interface
14// descriptor in Shared/SPSCI/SessionSPSCI.h, which supplies the wrapper name
15// and wire signature.
16//
17//===----------------------------------------------------------------------===//
18
19#ifndef LLVM_EXECUTIONENGINE_ORC_INSTANCESYMBOLGENERATORSPS_H
20#define LLVM_EXECUTIONENGINE_ORC_INSTANCESYMBOLGENERATORSPS_H
21
26
27#include <memory>
28
29namespace llvm::orc::sps {
30
34
35/// Create an InstanceSymbolGenerator that calls the ORC runtime's SPS
36/// instance-symbol lookup function at the given address.
37LLVM_ABI std::unique_ptr<InstanceSymbolGenerator>
39
40} // namespace llvm::orc::sps
41
42#endif // LLVM_EXECUTIONENGINE_ORC_INSTANCESYMBOLGENERATORSPS_H
#define LLVM_ABI
Definition Compiler.h:215
Represents an address in the executor process.
Proxy< SymbolLookupResult(SymbolLookupSet)> LookupProxy
LLVM_ABI std::unique_ptr< InstanceSymbolGenerator > createInstanceSymbolGenerator(ExecutorAddr LookupFnAddr)
Create an InstanceSymbolGenerator that calls the ORC runtime's SPS instance-symbol lookup function at...
ProxySpec< InstanceSymbolGenerator::LookupProxy, rt::sps_ci::SessionLookupInstanceSymbols > SessionLookupInstanceSymbolsProxySpec
Resolve the given lookup set against the Session's instance symbols: names for objects created at run...