LLDB mainline
DynamicLoader.cpp File Reference
#include "lldb/Target/DynamicLoader.h"
#include "lldb/Core/Debugger.h"
#include "lldb/Core/Module.h"
#include "lldb/Core/ModuleList.h"
#include "lldb/Core/ModuleSpec.h"
#include "lldb/Core/PluginManager.h"
#include "lldb/Core/Section.h"
#include "lldb/Symbol/ObjectFile.h"
#include "lldb/Symbol/SymbolLocator.h"
#include "lldb/Target/MemoryRegionInfo.h"
#include "lldb/Target/Platform.h"
#include "lldb/Target/Process.h"
#include "lldb/Target/Target.h"
#include "lldb/Utility/ConstString.h"
#include "lldb/Utility/LLDBLog.h"
#include "lldb/Utility/Log.h"
#include "lldb/lldb-private-interfaces.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Error.h"
#include <memory>
#include <optional>
#include <string>
#include <cassert>

Go to the source code of this file.

Functions

static ModuleSP ReadUnnamedMemoryModule (Process *process, addr_t addr, llvm::StringRef name)
static std::string GetBinaryDescription (const DynamicLoader::BinarySpec &bin_spec)
static std::string GetBinaryNotFoundMessage (const DynamicLoader::BinarySpec &bin_spec)
static std::optional< SymbolLocator::RequestPrepareSearch (Target &target, DynamicLoader::BinarySpec &bin_spec)
 Reads the Target, so it has to be called for one binary at a time.
static void FinishSearch (DynamicLoader::BinarySpec &bin_spec, llvm::Expected< SymbolLocator::Result > &&located)
 The module is not registered with the Target until LoadBinaryInTarget.
static void FindBinaryUUIDInMemory (Process *process, DynamicLoader::BinarySpec &bin_spec)

Function Documentation

◆ FindBinaryUUIDInMemory()

◆ FinishSearch()

void FinishSearch ( DynamicLoader::BinarySpec & bin_spec,
llvm::Expected< SymbolLocator::Result > && located )
static

◆ GetBinaryDescription()

◆ GetBinaryNotFoundMessage()

◆ PrepareSearch()

◆ ReadUnnamedMemoryModule()

ModuleSP ReadUnnamedMemoryModule ( Process * process,
addr_t addr,
llvm::StringRef name )
static