Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-05-10 08:43:51

0001 //===- ExecutorService.h - Provide bootstrap symbols to session -*- C++ -*-===//
0002 //
0003 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
0004 // See https://llvm.org/LICENSE.txt for license information.
0005 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
0006 //
0007 //===----------------------------------------------------------------------===//
0008 //
0009 // Provides a service by supplying some set of bootstrap symbols.
0010 //
0011 // FIXME: The functionality in this file should be moved to the ORC runtime.
0012 //
0013 //===----------------------------------------------------------------------===//
0014 
0015 #ifndef LLVM_EXECUTIONENGINE_ORC_TARGETPROCESS_EXECUTORBOOTSTRAPSERVICE_H
0016 #define LLVM_EXECUTIONENGINE_ORC_TARGETPROCESS_EXECUTORBOOTSTRAPSERVICE_H
0017 
0018 #include "llvm/ADT/StringMap.h"
0019 #include "llvm/ExecutionEngine/Orc/Shared/ExecutorAddress.h"
0020 
0021 namespace llvm {
0022 namespace orc {
0023 
0024 class ExecutorBootstrapService {
0025 public:
0026   virtual ~ExecutorBootstrapService();
0027 
0028   virtual void
0029   addBootstrapSymbols(StringMap<ExecutorAddr> &BootstrapSymbols) = 0;
0030   virtual Error shutdown() = 0;
0031 };
0032 
0033 } // end namespace orc
0034 } // end namespace llvm
0035 
0036 #endif // LLVM_EXECUTIONENGINE_ORC_TARGETPROCESS_EXECUTORBOOTSTRAPSERVICE_H