LLDB mainline
|
#include "lldb/Symbol/LocateSymbolFile.h"
#include "lldb/Core/Debugger.h"
#include "lldb/Core/Module.h"
#include "lldb/Core/ModuleList.h"
#include "lldb/Core/ModuleSpec.h"
#include "lldb/Core/Progress.h"
#include "lldb/Host/FileSystem.h"
#include "lldb/Symbol/ObjectFile.h"
#include "lldb/Utility/ArchSpec.h"
#include "lldb/Utility/DataBuffer.h"
#include "lldb/Utility/DataExtractor.h"
#include "lldb/Utility/LLDBLog.h"
#include "lldb/Utility/Log.h"
#include "lldb/Utility/StreamString.h"
#include "lldb/Utility/Timer.h"
#include "lldb/Utility/UUID.h"
#include "llvm/ADT/SmallSet.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/ThreadPool.h"
Go to the source code of this file.
Typedefs | |
typedef int | cpu_type_t |
typedef int | cpu_subtype_t |
Functions | |
int | LocateMacOSXFilesUsingDebugSymbols (const ModuleSpec &module_spec, ModuleSpec &return_module_spec) |
static bool | FileAtPathContainsArchAndUUID (const FileSpec &file_fspec, const ArchSpec *arch, const lldb_private::UUID *uuid) |
static bool | LookForDsymNextToExecutablePath (const ModuleSpec &mod_spec, const FileSpec &exec_fspec, FileSpec &dsym_fspec) |
static bool | LocateDSYMInVincinityOfExecutable (const ModuleSpec &module_spec, FileSpec &dsym_fspec) |
static FileSpec | LocateExecutableSymbolFileDsym (const ModuleSpec &module_spec) |
typedef int cpu_subtype_t |
Definition at line 33 of file LocateSymbolFile.cpp.
typedef int cpu_type_t |
Definition at line 32 of file LocateSymbolFile.cpp.
|
static |
Definition at line 54 of file LocateSymbolFile.cpp.
References lldb_private::ModuleSpec::GetArchitecture(), lldb_private::ModuleSpec::GetArchitecturePtr(), lldb_private::ModuleSpecList::GetModuleSpecAtIndex(), lldb_private::ObjectFile::GetModuleSpecifications(), lldb_private::ModuleSpecList::GetSize(), lldb_private::ModuleSpec::GetUUID(), lldb_private::ModuleSpec::GetUUIDPtr(), lldb_private::ArchSpec::IsCompatibleMatch(), and UNUSED_IF_ASSERT_DISABLED.
Referenced by LookForDsymNextToExecutablePath().
|
static |
Definition at line 159 of file LocateSymbolFile.cpp.
References lldb_private::ConstString::AsCString(), lldb_private::FileSpec::Clear(), lldb_private::FileSpec::GetFilename(), lldb_private::ModuleSpec::GetFileSpec(), lldb_private::GetLog(), lldb_private::FileSpec::GetPath(), LLDB_LOGF, LookForDsymNextToExecutablePath(), and lldb_private::FileSpec::RemoveLastPathComponent().
Referenced by LocateExecutableSymbolFileDsym().
|
static |
Definition at line 213 of file LocateSymbolFile.cpp.
References lldb_private::ConstString::AsCString(), lldb_private::ArchSpec::GetArchitectureName(), lldb_private::ModuleSpec::GetArchitecturePtr(), lldb_private::FileSpec::GetFilename(), lldb_private::ModuleSpec::GetFileSpecPtr(), lldb_private::ModuleSpec::GetSymbolFileSpec(), lldb_private::ModuleSpec::GetUUIDPtr(), LLDB_SCOPED_TIMERF, LocateDSYMInVincinityOfExecutable(), and LocateMacOSXFilesUsingDebugSymbols().
Referenced by lldb_private::Symbols::LocateExecutableSymbolFile().
int LocateMacOSXFilesUsingDebugSymbols | ( | const ModuleSpec & | module_spec, |
ModuleSpec & | return_module_spec | ||
) |
Definition at line 46 of file LocateSymbolFile.cpp.
Referenced by lldb_private::Symbols::LocateExecutableObjectFile(), and LocateExecutableSymbolFileDsym().
|
static |
Definition at line 82 of file LocateSymbolFile.cpp.
References lldb_private::FileSpec::AppendPathComponent(), lldb_private::ConstString::AsCString(), lldb_private::Symbols::DownloadObjectAndSymbolFile(), error(), FileAtPathContainsArchAndUUID(), lldb_private::ModuleSpec::GetArchitecturePtr(), lldb_private::FileSpec::GetFilename(), lldb_private::ModuleSpec::GetSymbolFileSpec(), lldb_private::ModuleSpec::GetUUIDPtr(), lldb_private::FileSystem::Instance(), and lldb_private::FileSpec::RemoveLastPathComponent().
Referenced by LocateDSYMInVincinityOfExecutable().