Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-05-10 08:42:52

0001 //===-- SymbolLocator.h -----------------------------------------*- C++ -*-===//
0002 //
0003 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
0004 // See https://llvm.org/LICENSE.txt for license information.
0005 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
0006 //
0007 //===----------------------------------------------------------------------===//
0008 
0009 #ifndef LLDB_SYMBOL_SYMBOLLOCATOR_H
0010 #define LLDB_SYMBOL_SYMBOLLOCATOR_H
0011 
0012 #include "lldb/Core/PluginInterface.h"
0013 #include "lldb/Utility/UUID.h"
0014 
0015 namespace lldb_private {
0016 
0017 class SymbolLocator : public PluginInterface {
0018 public:
0019   SymbolLocator() = default;
0020 
0021   /// Locate the symbol file for the given UUID on a background thread. This
0022   /// function returns immediately. Under the hood it uses the debugger's
0023   /// thread pool to call DownloadObjectAndSymbolFile. If a symbol file is
0024   /// found, this will notify all target which contain the module with the
0025   /// given UUID.
0026   static void DownloadSymbolFileAsync(const UUID &uuid);
0027 };
0028 
0029 } // namespace lldb_private
0030 
0031 #endif // LLDB_SYMBOL_SYMBOLFILELOCATOR_H