1//===-- JITLinkDylib.h - JITLink Dylib type ---------------------*- 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// Defines the JITLinkDylib API.
10//
11//===----------------------------------------------------------------------===//
12
13#ifndef LLVM_EXECUTIONENGINE_JITLINK_JITLINKDYLIB_H
14#define LLVM_EXECUTIONENGINE_JITLINK_JITLINKDYLIB_H
15
16#include <string>
17
18namespace llvm {
19namespace jitlink {
20
21class JITLinkDylib {
22public:
23 JITLinkDylib(std::string Name) : Name(std::move(Name)) {}
24
25 /// Get the name for this JITLinkDylib.
26 const std::string &getName() const { return Name; }
27
28private:
29 std::string Name;
30};
31
32} // end namespace jitlink
33} // end namespace llvm
34
35#endif // LLVM_EXECUTIONENGINE_JITLINK_JITLINKDYLIB_H
36

source code of llvm/include/llvm/ExecutionEngine/JITLink/JITLinkDylib.h