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 is built from the lookup operation's 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
33
34/// Create an InstanceSymbolGenerator that calls the ORC runtime's SPS
35/// instance-symbol lookup function at the given address.
36LLVM_ABI std::unique_ptr<InstanceSymbolGenerator>
38
39} // namespace llvm::orc::sps
40
41#endif // LLVM_EXECUTIONENGINE_ORC_INSTANCESYMBOLGENERATORSPS_H
#define LLVM_ABI
Definition Compiler.h:211
Represents an address in the executor process.
Dispatches proxies for the call described by CI, which must provide:
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< rt::sps_ci::SessionLookupInstanceSymbols > SessionLookupInstanceSymbolsProxySpec