LLVM
17.0.0git
include
llvm
ExecutionEngine
Orc
TargetProcess
ExecutorBootstrapService.h
Go to the documentation of this file.
1
//===- ExecutorService.h - Provide bootstrap symbols to session -*- 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
// Provides a service by supplying some set of bootstrap symbols.
10
//
11
// FIXME: The functionality in this file should be moved to the ORC runtime.
12
//
13
//===----------------------------------------------------------------------===//
14
15
#ifndef LLVM_EXECUTIONENGINE_ORC_TARGETPROCESS_EXECUTORBOOTSTRAPSERVICE_H
16
#define LLVM_EXECUTIONENGINE_ORC_TARGETPROCESS_EXECUTORBOOTSTRAPSERVICE_H
17
18
#include "
llvm/ADT/StringMap.h
"
19
#include "
llvm/ExecutionEngine/Orc/Shared/ExecutorAddress.h
"
20
21
namespace
llvm
{
22
namespace
orc {
23
24
class
ExecutorBootstrapService
{
25
public
:
26
virtual
~ExecutorBootstrapService
();
27
28
virtual
void
29
addBootstrapSymbols
(
StringMap<ExecutorAddr>
&BootstrapSymbols) = 0;
30
virtual
Error
shutdown
() = 0;
31
};
32
33
}
// end namespace orc
34
}
// end namespace llvm
35
36
#endif // LLVM_EXECUTIONENGINE_ORC_TARGETPROCESS_EXECUTORBOOTSTRAPSERVICE_H
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition:
AddressRanges.h:18
llvm::orc::ExecutorBootstrapService
Definition:
ExecutorBootstrapService.h:24
llvm::orc::ExecutorBootstrapService::~ExecutorBootstrapService
virtual ~ExecutorBootstrapService()
llvm::orc::ExecutorBootstrapService::shutdown
virtual Error shutdown()=0
llvm::orc::ExecutorBootstrapService::addBootstrapSymbols
virtual void addBootstrapSymbols(StringMap< ExecutorAddr > &BootstrapSymbols)=0
llvm::StringMap
StringMap - This is an unconventional map that is specialized for handling keys that are "strings",...
Definition:
StringMap.h:110
ExecutorAddress.h
llvm::Error
Lightweight error class with error context and mandatory checking.
Definition:
Error.h:156
StringMap.h
Generated on Sat Jan 28 2023 08:47:46 for LLVM by
1.8.17