1 //===-- JITLoaderList.h -----------------------------------------*- C++ -*-===//
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
7 //===----------------------------------------------------------------------===//
9 #ifndef LLDB_TARGET_JITLOADERLIST_H
10 #define LLDB_TARGET_JITLOADERLIST_H
15 #include "lldb/lldb-forward.h"
17 namespace lldb_private {
19 /// \class JITLoaderList JITLoaderList.h "lldb/Target/JITLoaderList.h"
21 /// Class used by the Process to hold a list of its JITLoaders.
27 void Append(const lldb::JITLoaderSP &jit_loader_sp);
29 void Remove(const lldb::JITLoaderSP &jit_loader_sp);
31 size_t GetSize() const;
33 lldb::JITLoaderSP GetLoaderAtIndex(size_t idx);
39 void ModulesDidLoad(ModuleList &module_list);
42 std::vector<lldb::JITLoaderSP> m_jit_loaders_vec;
43 std::recursive_mutex m_jit_loaders_mutex;
46 } // namespace lldb_private
48 #endif // LLDB_TARGET_JITLOADERLIST_H