LLVM 24.0.0git
HandleLookupInJITDylibSPS.h
Go to the documentation of this file.
1//===- HandleLookupInJITDylibSPS.h - SPS spec for JD lookups ----*- 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 HandlerSpec for the handler created by createLookupInJITDylibHandler.
10//
11//===----------------------------------------------------------------------===//
12
13#ifndef LLVM_EXECUTIONENGINE_ORC_HANDLELOOKUPINJITDYLIBSPS_H
14#define LLVM_EXECUTIONENGINE_ORC_HANDLELOOKUPINJITDYLIBSPS_H
15
22
23namespace llvm::orc::sps {
24
25/// SPS spec for the handler created by createLookupInJITDylibHandler.
27 : HandlerSpec<shared::SPSExpected<
28 shared::SPSSequence<shared::SPSOptional<shared::SPSExecutorAddr>>>(
29 shared::SPSExecutorAddr, shared::SPSJITDylibLookupFlags,
30 shared::SPSSymbolLookupSet)> {
31 static constexpr SymbolNameSpec Name =
32 SymbolNameSpec::c("orc_rt_tag_sps_lookupInJITDylib");
33};
34
35} // namespace llvm::orc::sps
36
37#endif // LLVM_EXECUTIONENGINE_ORC_HANDLELOOKUPINJITDYLIBSPS_H
A symbol name together with the naming level (SymbolNameKind) it is expressed in, so that a Mangler /...
static constexpr SymbolNameSpec c(StringRef Name)
Base class for specs that bind handlers for calls with the SPS signature SPSSigT.
SPS spec for the handler created by createLookupInJITDylibHandler.