1 //===-- JITLoaderList.h -----------------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef liblldb_JITLoaderList_h_
11 #define liblldb_JITLoaderList_h_
16 #include "lldb/lldb-forward.h"
18 namespace lldb_private {
20 //----------------------------------------------------------------------
21 /// @class JITLoaderList JITLoaderList.h "lldb/Target/JITLoaderList.h"
23 /// Class used by the Process to hold a list of its JITLoaders.
24 //----------------------------------------------------------------------
30 void Append(const lldb::JITLoaderSP &jit_loader_sp);
32 void Remove(const lldb::JITLoaderSP &jit_loader_sp);
34 size_t GetSize() const;
36 lldb::JITLoaderSP GetLoaderAtIndex(size_t idx);
42 void ModulesDidLoad(ModuleList &module_list);
45 std::vector<lldb::JITLoaderSP> m_jit_loaders_vec;
46 std::recursive_mutex m_jit_loaders_mutex;
49 } // namespace lldb_private
51 #endif // liblldb_JITLoaderList_h_