LLDB mainline
SymbolLocator.h
Go to the documentation of this file.
1//===-- SymbolLocator.h -----------------------------------------*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8
9#ifndef LLDB_SYMBOL_SYMBOLLOCATOR_H
10#define LLDB_SYMBOL_SYMBOLLOCATOR_H
11
13#include "lldb/Utility/UUID.h"
14
15namespace lldb_private {
16
18public:
19 SymbolLocator() = default;
20
21 /// Locate the symbol file for the given UUID on a background thread. This
22 /// function returns immediately. Under the hood it uses the debugger's
23 /// thread pool to call DownloadObjectAndSymbolFile. If a symbol file is
24 /// found, this will notify all target which contain the module with the
25 /// given UUID.
26 static void DownloadSymbolFileAsync(const UUID &uuid);
27};
28
29} // namespace lldb_private
30
31#endif // LLDB_SYMBOL_SYMBOLFILELOCATOR_H
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.
Definition: SBAttachInfo.h:14