Go to the documentation of this file.
9 #ifndef LLDB_TARGET_TARGETLIST_H
10 #define LLDB_TARGET_TARGETLIST_H
88 llvm::StringRef triple_str,
91 lldb::TargetSP &target_sp);
100 lldb::PlatformSP &platform_sp, lldb::TargetSP &target_sp);
147 const ArchSpec *exe_arch_ptr =
nullptr)
const;
198 Debugger &debugger, llvm::StringRef user_exe_path,
203 llvm::StringRef user_exe_path,
206 lldb::PlatformSP &platform_sp,
207 lldb::TargetSP &target_sp);
219 #endif // LLDB_TARGET_TARGETLIST_H
uint32_t m_selected_target_idx
#define LLDB_INVALID_PROCESS_ID
static ConstString & GetStaticBroadcasterClass()
E vector_adapter(I &iter)
std::vector< lldb::TargetSP > collection
bool DeleteTarget(lldb::TargetSP &target_sp)
Delete a Target object from the list.
uint32_t GetIndexOfTarget(lldb::TargetSP target_sp) const
lldb::TargetSP FindTargetWithProcess(lldb_private::Process *process) const
void SetSelectedTargetInternal(uint32_t index)
ConstString & GetBroadcasterClass() const override
This needs to be filled in if you are going to register the broadcaster with the broadcaster manager ...
TargetList(Debugger &debugger)
Constructor.
void SetSelectedTarget(uint32_t index)
const TargetList & operator=(const TargetList &)=delete
uint32_t SendAsyncInterrupt(lldb::pid_t pid=LLDB_INVALID_PROCESS_ID)
Send an async interrupt to one or all processes.
LockingAdaptedIterable< collection, lldb::TargetSP, vector_adapter, std::recursive_mutex > TargetIterable
Status CreateTarget(Debugger &debugger, llvm::StringRef user_exe_path, llvm::StringRef triple_str, LoadDependentFiles get_dependent_modules, const OptionGroupPlatform *platform_options, lldb::TargetSP &target_sp)
Create a new Target.
int GetNumTargets() const
uint32_t SignalIfRunning(lldb::pid_t pid, int signo)
lldb::TargetSP GetTargetSP(Target *target) const
static Status CreateTargetInternal(Debugger &debugger, llvm::StringRef user_exe_path, llvm::StringRef triple_str, LoadDependentFiles load_dependent_files, const OptionGroupPlatform *platform_options, lldb::TargetSP &target_sp)
lldb::TargetSP FindTargetWithProcessID(lldb::pid_t pid) const
Find the target that contains a process with process ID pid.
void AddTargetInternal(lldb::TargetSP target_sp, bool do_select)
A class that represents a running process on the host machine.
lldb::TargetSP GetTargetAtIndex(uint32_t index) const
lldb::TargetSP FindTargetWithExecutableAndArchitecture(const FileSpec &exe_file_spec, const ArchSpec *exe_arch_ptr=nullptr) const
Find the target that contains has an executable whose path matches exe_file_spec, and whose architect...
lldb::TargetSP GetSelectedTarget()
std::recursive_mutex m_target_list_mutex