LLDB mainline
Static Public Member Functions | List of all members
lldb_private::Symbols Class Reference

#include <LocateSymbolFile.h>

Static Public Member Functions

static ModuleSpec LocateExecutableObjectFile (const ModuleSpec &module_spec)
 
static FileSpec LocateExecutableSymbolFile (const ModuleSpec &module_spec, const FileSpecList &default_search_paths)
 
static FileSpec FindSymbolFileInBundle (const FileSpec &dsym_bundle_fspec, const lldb_private::UUID *uuid, const ArchSpec *arch)
 
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.
 

Detailed Description

Definition at line 25 of file LocateSymbolFile.h.

Member Function Documentation

◆ DownloadObjectAndSymbolFile()

bool Symbols::DownloadObjectAndSymbolFile ( ModuleSpec module_spec,
Status error,
bool  force_lookup = true,
bool  copy_executable = true 
)
static

◆ DownloadSymbolFileAsync()

void Symbols::DownloadSymbolFileAsync ( const UUID uuid)
static

Locate the symbol file for the given UUID on a background thread.

This function returns immediately. Under the hood it uses the debugger's thread pool to call DownloadObjectAndSymbolFile. If a symbol file is found, this will notify all target which contain the module with the given UUID.

Definition at line 403 of file LocateSymbolFile.cpp.

References DownloadObjectAndSymbolFile(), error(), lldb_private::ModuleList::GetGlobalModuleListProperties(), lldb_private::Debugger::GetThreadPool(), lldb_private::ModuleSpec::GetUUID(), and lldb_private::Debugger::ReportSymbolChange().

Referenced by lldb_private::Module::GetUnwindTable().

◆ FindSymbolFileInBundle()

FileSpec Symbols::FindSymbolFileInBundle ( const FileSpec dsym_bundle_fspec,
const lldb_private::UUID uuid,
const ArchSpec arch 
)
static

◆ LocateExecutableObjectFile()

ModuleSpec Symbols::LocateExecutableObjectFile ( const ModuleSpec module_spec)
static

◆ LocateExecutableSymbolFile()

FileSpec Symbols::LocateExecutableSymbolFile ( const ModuleSpec module_spec,
const FileSpecList &  default_search_paths 
)
static

The documentation for this class was generated from the following files: