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
24
25#include <cstdint>
26
27namespace llvm::orc::rt::sps_ci {
28
29/// The executor-side dylib-manager instance. This is a data symbol -- passed
30/// as the first argument to each call below -- not a wrapper to call.
32 SymbolNameSpec::verbatim("orc_rt_ci_NativeDylibManager_Instance");
33
34/// Open the dylib at the given path with the given mode flags; returns a
35/// handle to it.
42
43/// Resolve the given lookup set within the given dylib.
52
53} // namespace llvm::orc::rt::sps_ci
54
55#endif // LLVM_EXECUTIONENGINE_ORC_SHARED_SPSCI_NATIVEDYLIBMANAGERSPSCI_H
unsigned uint64_t
A symbol name together with the naming level (SymbolNameKind) it is expressed in, so that a Mangler /...
static constexpr SymbolNameSpec verbatim(StringRef Name)
SPS tag type for expecteds, which are either a T or a string representing an error.
constexpr SymbolNameSpec 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.
static constexpr SymbolNameSpec Name
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