#include "lldb/Target/TargetList.h"
#include "lldb/Core/Debugger.h"
#include "lldb/Core/Module.h"
#include "lldb/Core/ModuleSpec.h"
#include "lldb/Host/Host.h"
#include "lldb/Host/HostInfo.h"
#include "lldb/Interpreter/CommandInterpreter.h"
#include "lldb/Interpreter/OptionGroupPlatform.h"
#include "lldb/Symbol/ObjectFile.h"
#include "lldb/Target/Platform.h"
#include "lldb/Target/Process.h"
#include "lldb/Utility/Broadcaster.h"
#include "lldb/Utility/Event.h"
#include "lldb/Utility/State.h"
#include "lldb/Utility/TildeExpressionResolver.h"
#include "lldb/Utility/Timer.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/Support/FileSystem.h"
usingnamespacelldb;
usingnamespacelldb_private;
llvm::StringRef TargetList::GetStaticBroadcasterClass() { … }
TargetList::TargetList(Debugger &debugger)
: … { … }
Status TargetList::CreateTarget(Debugger &debugger,
llvm::StringRef user_exe_path,
llvm::StringRef triple_str,
LoadDependentFiles load_dependent_files,
const OptionGroupPlatform *platform_options,
TargetSP &target_sp) { … }
Status TargetList::CreateTarget(Debugger &debugger,
llvm::StringRef user_exe_path,
const ArchSpec &specified_arch,
LoadDependentFiles load_dependent_files,
PlatformSP &platform_sp, TargetSP &target_sp) { … }
Status TargetList::CreateTargetInternal(
Debugger &debugger, llvm::StringRef user_exe_path,
llvm::StringRef triple_str, LoadDependentFiles load_dependent_files,
const OptionGroupPlatform *platform_options, TargetSP &target_sp) { … }
Status TargetList::CreateTargetInternal(Debugger &debugger,
llvm::StringRef user_exe_path,
const ArchSpec &specified_arch,
LoadDependentFiles load_dependent_files,
lldb::PlatformSP &platform_sp,
lldb::TargetSP &target_sp) { … }
bool TargetList::DeleteTarget(TargetSP &target_sp) { … }
TargetSP TargetList::FindTargetWithExecutableAndArchitecture(
const FileSpec &exe_file_spec, const ArchSpec *exe_arch_ptr) const { … }
TargetSP TargetList::FindTargetWithProcessID(lldb::pid_t pid) const { … }
TargetSP TargetList::FindTargetWithProcess(Process *process) const { … }
TargetSP TargetList::GetTargetSP(Target *target) const { … }
uint32_t TargetList::SendAsyncInterrupt(lldb::pid_t pid) { … }
uint32_t TargetList::SignalIfRunning(lldb::pid_t pid, int signo) { … }
size_t TargetList::GetNumTargets() const { … }
lldb::TargetSP TargetList::GetTargetAtIndex(uint32_t idx) const { … }
uint32_t TargetList::GetIndexOfTarget(lldb::TargetSP target_sp) const { … }
void TargetList::AddTargetInternal(TargetSP target_sp, bool do_select) { … }
void TargetList::SetSelectedTargetInternal(uint32_t index) { … }
void TargetList::SetSelectedTarget(uint32_t index) { … }
void TargetList::SetSelectedTarget(const TargetSP &target_sp) { … }
lldb::TargetSP TargetList::GetSelectedTarget() { … }
bool TargetList::AnyTargetContainsModule(Module &module) { … }
void TargetList::RegisterInProcessTarget(TargetSP target_sp) { … }
void TargetList::UnregisterInProcessTarget(TargetSP target_sp) { … }
bool TargetList::IsTargetInProcess(TargetSP target_sp) { … }