Back to home page

EIC code displayed by LXR

 
 

    


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

0001 //===-- JITLinkDylib.h - JITLink Dylib type ---------------------*- 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 // Defines the JITLinkDylib API.
0010 //
0011 //===----------------------------------------------------------------------===//
0012 
0013 #ifndef LLVM_EXECUTIONENGINE_JITLINK_JITLINKDYLIB_H
0014 #define LLVM_EXECUTIONENGINE_JITLINK_JITLINKDYLIB_H
0015 
0016 #include <string>
0017 
0018 namespace llvm {
0019 namespace jitlink {
0020 
0021 class JITLinkDylib {
0022 public:
0023   JITLinkDylib(std::string Name) : Name(std::move(Name)) {}
0024 
0025   /// Get the name for this JITLinkDylib.
0026   const std::string &getName() const { return Name; }
0027 
0028 private:
0029   std::string Name;
0030 };
0031 
0032 } // end namespace jitlink
0033 } // end namespace llvm
0034 
0035 #endif // LLVM_EXECUTIONENGINE_JITLINK_JITLINKDYLIB_H