llvm/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DYLDRendezvous.cpp

//===-- DYLDRendezvous.cpp ------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#include "lldb/Core/Module.h"
#include "lldb/Symbol/ObjectFile.h"
#include "lldb/Symbol/Symbol.h"
#include "lldb/Symbol/SymbolContext.h"
#include "lldb/Target/Platform.h"
#include "lldb/Target/Process.h"
#include "lldb/Target/Target.h"
#include "lldb/Utility/ArchSpec.h"
#include "lldb/Utility/LLDBLog.h"
#include "lldb/Utility/Log.h"
#include "lldb/Utility/Status.h"

#include "llvm/Support/Path.h"

#include "DYLDRendezvous.h"

usingnamespacelldb;
usingnamespacelldb_private;

const char *DYLDRendezvous::StateToCStr(RendezvousState state) {}

const char *DYLDRendezvous::ActionToCStr(RendezvousAction action) {}

DYLDRendezvous::DYLDRendezvous(Process *process)
    :{}

addr_t DYLDRendezvous::ResolveRendezvousAddress() {}

void DYLDRendezvous::UpdateExecutablePath() {}

void DYLDRendezvous::Rendezvous::DumpToLog(Log *log, const char *label) {}

bool DYLDRendezvous::Resolve() {}

bool DYLDRendezvous::IsValid() {}

DYLDRendezvous::RendezvousAction DYLDRendezvous::GetAction() const {}

bool DYLDRendezvous::UpdateSOEntriesFromRemote() {}

bool DYLDRendezvous::UpdateSOEntries() {}

bool DYLDRendezvous::FillSOEntryFromModuleInfo(
    LoadedModuleInfoList::LoadedModuleInfo const &modInfo, SOEntry &entry) {}

bool DYLDRendezvous::SaveSOEntriesFromRemote(
    const LoadedModuleInfoList &module_list) {}

bool DYLDRendezvous::AddSOEntriesFromRemote(
    const LoadedModuleInfoList &module_list) {}

bool DYLDRendezvous::RemoveSOEntriesFromRemote(
    const LoadedModuleInfoList &module_list) {}

bool DYLDRendezvous::AddSOEntries() {}

bool DYLDRendezvous::RemoveSOEntries() {}

bool DYLDRendezvous::SOEntryIsMainExecutable(const SOEntry &entry) {}

bool DYLDRendezvous::TakeSnapshot(SOEntryList &entry_list) {}

addr_t DYLDRendezvous::ReadWord(addr_t addr, uint64_t *dst, size_t size) {}

addr_t DYLDRendezvous::ReadPointer(addr_t addr, addr_t *dst) {}

std::string DYLDRendezvous::ReadStringFromMemory(addr_t addr) {}

// Returns true if the load bias reported by the linker is incorrect for the
// given entry. This function is used to handle cases where we want to work
// around a bug in the system linker.
static bool isLoadBiasIncorrect(Target &target, const std::string &file_path) {}

void DYLDRendezvous::UpdateBaseAddrIfNecessary(SOEntry &entry,
                                               std::string const &file_path) {}

void DYLDRendezvous::UpdateFileSpecIfNecessary(SOEntry &entry) {}

bool DYLDRendezvous::ReadSOEntryFromMemory(lldb::addr_t addr, SOEntry &entry) {}

bool DYLDRendezvous::FindMetadata(const char *name, PThreadField field,
                                  uint32_t &value) {}

const DYLDRendezvous::ThreadInfo &DYLDRendezvous::GetThreadInfo() {}

void DYLDRendezvous::DumpToLog(Log *log) const {}

bool DYLDRendezvous::IsCoreFile() const {}