LLVM 24.0.0git
NativeDylibManagerSPSCI.h
Go to the documentation of this file.
1//===--- NativeDylibManagerSPSCI.h - SPS CI for dylib mgmt ------*- 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// SPS controller-interface descriptors for the runtime's NativeDylibManager
10// interface. The instance address of the executor-side manager is passed as
11// the first argument to each call.
12//
13// See CallSPSCI.h for a description of the descriptor scheme.
14//
15//===----------------------------------------------------------------------===//
16
17#ifndef LLVM_EXECUTIONENGINE_ORC_SHARED_SPSCI_NATIVEDYLIBMANAGERSPSCI_H
18#define LLVM_EXECUTIONENGINE_ORC_SHARED_SPSCI_NATIVEDYLIBMANAGERSPSCI_H
19
23
24#include <cstdint>
25
26namespace llvm::orc::rt::sps_ci {
27
28/// The executor-side dylib-manager instance. This is a data symbol -- passed
29/// as the first argument to each call below -- not a wrapper to call.
30inline constexpr char NativeDylibManagerInstanceName[] =
31 "orc_rt_ci_NativeDylibManager_Instance";
32
33/// Open the dylib at the given path with the given mode flags; returns a
34/// handle to it.
36 static constexpr char Name[] = "orc_rt_ci_sps_NativeDylibManager_load";
39};
40
41/// Resolve the given lookup set within the given dylib.
49
50} // namespace llvm::orc::rt::sps_ci
51
52#endif // LLVM_EXECUTIONENGINE_ORC_SHARED_SPSCI_NATIVEDYLIBMANAGERSPSCI_H
SPS tag type for expecteds, which are either a T or a string representing an error.
constexpr char NativeDylibManagerInstanceName[]
The executor-side dylib-manager instance.
SPSSequence< char > SPSString
SPS tag type for strings, which are equivalent to sequences of chars.
SPSSequence< SPSRemoteSymbolLookupSetElement > SPSRemoteSymbolLookupSet
Open the dylib at the given path with the given mode flags; returns a handle to it.
shared::SPSExpected< shared::SPSExecutorAddr >( shared::SPSExecutorAddr, shared::SPSString, uint64_t) SPSSig
Resolve the given lookup set within the given dylib.
shared::SPSExpected< shared::SPSSequence< shared::SPSOptional< shared::SPSExecutorAddr > > >( shared::SPSExecutorAddr, shared::SPSExecutorAddr, shared::SPSRemoteSymbolLookupSet) SPSSig