From e81d9d49145e432d917eea3a70d2ae74dcad1d89 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Wed, 30 Dec 2015 11:55:28 +0000 Subject: Vendor import of stripped lldb trunk r256633: https://llvm.org/svn/llvm-project/lldb/trunk@256633 --- source/Utility/ModuleCache.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'source/Utility/ModuleCache.h') diff --git a/source/Utility/ModuleCache.h b/source/Utility/ModuleCache.h index 791e2b35ae3d8..bb9b308304b66 100644 --- a/source/Utility/ModuleCache.h +++ b/source/Utility/ModuleCache.h @@ -46,13 +46,15 @@ class UUID; class ModuleCache { public: - using Downloader = std::function; + using ModuleDownloader = std::function; + using SymfileDownloader = std::function; Error GetAndPut(const FileSpec &root_dir_spec, const char *hostname, const ModuleSpec &module_spec, - const Downloader &downloader, + const ModuleDownloader &module_downloader, + const SymfileDownloader &symfile_downloader, lldb::ModuleSP &cached_module_sp, bool *did_create_ptr); @@ -61,7 +63,8 @@ private: Put (const FileSpec &root_dir_spec, const char *hostname, const ModuleSpec &module_spec, - const FileSpec &tmp_file); + const FileSpec &tmp_file, + const FileSpec &target_file); Error Get (const FileSpec &root_dir_spec, -- cgit v1.2.3