File indexing completed on 2026-05-10 08:42:53
0001
0002
0003
0004
0005
0006
0007
0008
0009 #ifndef LLDB_TARGET_JITLOADERLIST_H
0010 #define LLDB_TARGET_JITLOADERLIST_H
0011
0012 #include <mutex>
0013 #include <vector>
0014
0015 #include "lldb/lldb-forward.h"
0016
0017 namespace lldb_private {
0018
0019
0020
0021
0022 class JITLoaderList {
0023 public:
0024 JITLoaderList();
0025 ~JITLoaderList();
0026
0027 void Append(const lldb::JITLoaderSP &jit_loader_sp);
0028
0029 void Remove(const lldb::JITLoaderSP &jit_loader_sp);
0030
0031 size_t GetSize() const;
0032
0033 lldb::JITLoaderSP GetLoaderAtIndex(size_t idx);
0034
0035 void DidLaunch();
0036
0037 void DidAttach();
0038
0039 void ModulesDidLoad(ModuleList &module_list);
0040
0041 private:
0042 std::vector<lldb::JITLoaderSP> m_jit_loaders_vec;
0043 std::recursive_mutex m_jit_loaders_mutex;
0044 };
0045
0046 }
0047
0048 #endif