#include "lldb/Breakpoint/BreakpointLocation.h"
#include "lldb/Core/Module.h"
#include "lldb/Core/ModuleSpec.h"
#include "lldb/Core/PluginManager.h"
#include "lldb/Core/Section.h"
#include "lldb/Symbol/ObjectFile.h"
#include "lldb/Target/Process.h"
#include "lldb/Target/Target.h"
#include "lldb/Target/Thread.h"
#include "lldb/Target/ThreadPlanRunToAddress.h"
#include "lldb/Utility/LLDBLog.h"
#include "lldb/Utility/Log.h"
#include "DynamicLoaderHexagonDYLD.h"
#include <memory>
usingnamespacelldb;
usingnamespacelldb_private;
LLDB_PLUGIN_DEFINE(…)
static lldb::addr_t findSymbolAddress(Process *proc, ConstString findName) { … }
void DynamicLoaderHexagonDYLD::Initialize() { … }
void DynamicLoaderHexagonDYLD::Terminate() { … }
llvm::StringRef DynamicLoaderHexagonDYLD::GetPluginDescriptionStatic() { … }
DynamicLoader *DynamicLoaderHexagonDYLD::CreateInstance(Process *process,
bool force) { … }
DynamicLoaderHexagonDYLD::DynamicLoaderHexagonDYLD(Process *process)
: … { … }
DynamicLoaderHexagonDYLD::~DynamicLoaderHexagonDYLD() { … }
void DynamicLoaderHexagonDYLD::DidAttach() { … }
void DynamicLoaderHexagonDYLD::DidLaunch() { … }
ModuleSP DynamicLoaderHexagonDYLD::GetTargetExecutable() { … }
Status DynamicLoaderHexagonDYLD::CanLoadImage() { … }
void DynamicLoaderHexagonDYLD::UpdateLoadedSections(ModuleSP module,
addr_t link_map_addr,
addr_t base_addr,
bool base_addr_is_offset) { … }
void DynamicLoaderHexagonDYLD::UnloadSections(const ModuleSP module) { … }
bool DynamicLoaderHexagonDYLD::SetRendezvousBreakpoint() { … }
bool DynamicLoaderHexagonDYLD::RendezvousBreakpointHit(
void *baton, StoppointCallbackContext *context, user_id_t break_id,
user_id_t break_loc_id) { … }
void DynamicLoaderHexagonDYLD::RefreshModules() { … }
ThreadPlanSP
DynamicLoaderHexagonDYLD::GetStepThroughTrampolinePlan(Thread &thread,
bool stop) { … }
void DynamicLoaderHexagonDYLD::LoadAllCurrentModules() { … }
addr_t DynamicLoaderHexagonDYLD::ComputeLoadOffset() { … }
addr_t DynamicLoaderHexagonDYLD::GetEntryPoint() { … }
const SectionList *DynamicLoaderHexagonDYLD::GetSectionListFromModule(
const ModuleSP module) const { … }
static int ReadInt(Process *process, addr_t addr) { … }
lldb::addr_t
DynamicLoaderHexagonDYLD::GetThreadLocalData(const lldb::ModuleSP module,
const lldb::ThreadSP thread,
lldb::addr_t tls_file_addr) { … }