15#include "llvm/ADT/SmallSet.h"
16#include "llvm/Support/ThreadPool.h"
22 static llvm::SmallSet<UUID, 8> g_seen_uuids;
23 static std::mutex g_mutex;
27 std::lock_guard<std::mutex> guard(g_mutex);
28 if (g_seen_uuids.count(uuid))
30 g_seen_uuids.insert(uuid);
static llvm::raw_ostream & error(Stream &strm)
static llvm::ThreadPoolInterface & GetThreadPool()
Shared thread pool. Use only with ThreadPoolTaskGroup.
static void ReportSymbolChange(const ModuleSpec &module_spec)
static ModuleListProperties & GetGlobalModuleListProperties()
static bool DownloadObjectAndSymbolFile(ModuleSpec &module_spec, Status &error, bool force_lookup=true, bool copy_executable=true)
static void DownloadSymbolFileAsync(const UUID &uuid)
Locate the symbol file for the given UUID on a background thread.
A class that represents a running process on the host machine.
@ eSymbolDownloadBackground
@ eSymbolDownloadForeground