9#ifndef LLDB_TARGET_MODULECACHE_H
10#define LLDB_TARGET_MODULECACHE_H
21#include <unordered_map>
67 bool *did_create_ptr);
Status Get(const FileSpec &root_dir_spec, const char *hostname, const ModuleSpec &module_spec, lldb::ModuleSP &cached_module_sp, bool *did_create_ptr)
std::unordered_map< std::string, lldb::ModuleWP > m_loaded_modules
std::function< Status(const lldb::ModuleSP &, const FileSpec &)> SymfileDownloader
Status GetAndPut(const FileSpec &root_dir_spec, const char *hostname, const ModuleSpec &module_spec, const ModuleDownloader &module_downloader, const SymfileDownloader &symfile_downloader, lldb::ModuleSP &cached_module_sp, bool *did_create_ptr)
Status Put(const FileSpec &root_dir_spec, const char *hostname, const ModuleSpec &module_spec, const FileSpec &tmp_file, const FileSpec &target_file)
std::function< Status(const ModuleSpec &, const FileSpec &)> ModuleDownloader
A class that represents a running process on the host machine.
std::shared_ptr< lldb_private::Module > ModuleSP