/freebsd/contrib/llvm-project/lldb/include/lldb/Target/ |
H A D | ThreadList.h | 50 ExpressionExecutionThreadPusher(ThreadList &thread_list, lldb::tid_t tid) in ExpressionExecutionThreadPusher() 64 lldb::tid_t m_tid; 70 void PushExpressionExecutionThread(lldb::tid_t tid); 72 void PopExpressionExecutionThread(lldb::tid_t tid); 75 bool SetSelectedThreadByID(lldb::tid_t tid, bool notify = false); 90 lldb::ThreadSP FindThreadByID(lldb::tid_t tid, bool can_update = true); 92 lldb::ThreadSP FindThreadByProtocolID(lldb::tid_t tid, 95 lldb::ThreadSP RemoveThreadByID(lldb::tid_t tid, bool can_update = true); 97 lldb::ThreadSP RemoveThreadByProtocolID(lldb::tid_t tid, 145 void NotifySelectedThreadChanged(lldb::tid_t tid); [all …]
|
H A D | Trace.h | 200 virtual bool IsTraced(lldb::tid_t tid) = 0; 232 llvm::ArrayRef<lldb::tid_t> tids, 243 llvm::Error Stop(llvm::ArrayRef<lldb::tid_t> tids); 288 llvm::Error OnThreadBinaryDataRead(lldb::tid_t tid, llvm::StringRef kind, 355 llvm::Error OnLiveThreadBinaryDataRead(lldb::tid_t tid, llvm::StringRef kind, 364 OnPostMortemThreadBinaryDataRead(lldb::tid_t tid, llvm::StringRef kind, 384 llvm::Expected<FileSpec> GetPostMortemThreadDataFile(lldb::tid_t tid, 412 void SetPostMortemThreadDataFile(lldb::tid_t tid, llvm::StringRef kind, 440 GetLiveThreadBinaryData(lldb::tid_t tid, llvm::StringRef kind); 468 std::optional<uint64_t> GetLiveThreadBinaryDataSize(lldb::tid_t ti [all...] |
H A D | ThreadPlanStack.h | 127 lldb::tid_t tid = thread.GetID(); in AddThread() 131 bool RemoveTID(lldb::tid_t tid) { in RemoveTID() 141 ThreadPlanStack *Find(lldb::tid_t tid) { in Find() 171 bool DumpPlansForTID(Stream &strm, lldb::tid_t tid, 175 bool PrunePlansForTID(lldb::tid_t tid); 180 using PlansList = std::unordered_map<lldb::tid_t, ThreadPlanStack>;
|
H A D | ThreadSpec.h | 47 void SetTID(lldb::tid_t tid) { m_tid = tid; } in SetTID() 57 lldb::tid_t GetTID() const { return m_tid; } in GetTID() 63 bool TIDMatches(lldb::tid_t thread_id) const { in TIDMatches() 124 lldb::tid_t m_tid = LLDB_INVALID_THREAD_ID;
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/Utility/ |
H A D | RegisterContextMach_arm.h | 22 int DoReadGPR(lldb::tid_t tid, int flavor, GPR &gpr) override; 24 int DoReadFPU(lldb::tid_t tid, int flavor, FPU &fpu) override; 26 int DoReadEXC(lldb::tid_t tid, int flavor, EXC &exc) override; 28 int DoReadDBG(lldb::tid_t tid, int flavor, DBG &dbg) override; 30 int DoWriteGPR(lldb::tid_t tid, int flavor, const GPR &gpr) override; 32 int DoWriteFPU(lldb::tid_t tid, int flavor, const FPU &fpu) override; 34 int DoWriteEXC(lldb::tid_t tid, int flavor, const EXC &exc) override; 36 int DoWriteDBG(lldb::tid_t tid, int flavor, const DBG &dbg) override;
|
H A D | RegisterContextMach_arm.cpp | 26 int RegisterContextMach_arm::DoReadGPR(lldb::tid_t tid, int flavor, GPR &gpr) { in DoReadGPR() 31 int RegisterContextMach_arm::DoReadFPU(lldb::tid_t tid, int flavor, FPU &fpu) { in DoReadFPU() 36 int RegisterContextMach_arm::DoReadEXC(lldb::tid_t tid, int flavor, EXC &exc) { in DoReadEXC() 41 int RegisterContextMach_arm::DoReadDBG(lldb::tid_t tid, int flavor, DBG &dbg) { in DoReadDBG() 46 int RegisterContextMach_arm::DoWriteGPR(lldb::tid_t tid, int flavor, in DoWriteGPR() 53 int RegisterContextMach_arm::DoWriteFPU(lldb::tid_t tid, int flavor, in DoWriteFPU() 60 int RegisterContextMach_arm::DoWriteEXC(lldb::tid_t tid, int flavor, in DoWriteEXC() 67 int RegisterContextMach_arm::DoWriteDBG(lldb::tid_t tid, int flavor, in DoWriteDBG()
|
H A D | RegisterContextMach_i386.h | 22 int DoReadGPR(lldb::tid_t tid, int flavor, GPR &gpr) override; 24 int DoReadFPU(lldb::tid_t tid, int flavor, FPU &fpu) override; 26 int DoReadEXC(lldb::tid_t tid, int flavor, EXC &exc) override; 28 int DoWriteGPR(lldb::tid_t tid, int flavor, const GPR &gpr) override; 30 int DoWriteFPU(lldb::tid_t tid, int flavor, const FPU &fpu) override; 32 int DoWriteEXC(lldb::tid_t tid, int flavor, const EXC &exc) override;
|
H A D | RegisterContextMach_x86_64.h | 23 int DoReadGPR(lldb::tid_t tid, int flavor, GPR &gpr) override; 25 int DoReadFPU(lldb::tid_t tid, int flavor, FPU &fpu) override; 27 int DoReadEXC(lldb::tid_t tid, int flavor, EXC &exc) override; 29 int DoWriteGPR(lldb::tid_t tid, int flavor, const GPR &gpr) override; 31 int DoWriteFPU(lldb::tid_t tid, int flavor, const FPU &fpu) override; 33 int DoWriteEXC(lldb::tid_t tid, int flavor, const EXC &exc) override;
|
H A D | RegisterContextMach_i386.cpp | 24 int RegisterContextMach_i386::DoReadGPR(lldb::tid_t tid, int flavor, GPR &gpr) { in DoReadGPR() 29 int RegisterContextMach_i386::DoReadFPU(lldb::tid_t tid, int flavor, FPU &fpu) { in DoReadFPU() 34 int RegisterContextMach_i386::DoReadEXC(lldb::tid_t tid, int flavor, EXC &exc) { in DoReadEXC() 39 int RegisterContextMach_i386::DoWriteGPR(lldb::tid_t tid, int flavor, in DoWriteGPR() 46 int RegisterContextMach_i386::DoWriteFPU(lldb::tid_t tid, int flavor, in DoWriteFPU() 53 int RegisterContextMach_i386::DoWriteEXC(lldb::tid_t tid, int flavor, in DoWriteEXC()
|
H A D | RegisterContextMach_x86_64.cpp | 24 int RegisterContextMach_x86_64::DoReadGPR(lldb::tid_t tid, int flavor, in DoReadGPR() 30 int RegisterContextMach_x86_64::DoReadFPU(lldb::tid_t tid, int flavor, in DoReadFPU() 36 int RegisterContextMach_x86_64::DoReadEXC(lldb::tid_t tid, int flavor, in DoReadEXC() 42 int RegisterContextMach_x86_64::DoWriteGPR(lldb::tid_t tid, int flavor, in DoWriteGPR() 49 int RegisterContextMach_x86_64::DoWriteFPU(lldb::tid_t tid, int flavor, in DoWriteFPU() 56 int RegisterContextMach_x86_64::DoWriteEXC(lldb::tid_t tid, int flavor, in DoWriteEXC()
|
H A D | RegisterContextDarwin_arm64.h | 202 virtual int DoReadGPR(lldb::tid_t tid, int flavor, GPR &gpr) { return -1; } in DoReadGPR() 204 virtual int DoReadFPU(lldb::tid_t tid, int flavor, FPU &fpu) = 0; 206 virtual int DoReadEXC(lldb::tid_t tid, int flavor, EXC &exc) = 0; 208 virtual int DoReadDBG(lldb::tid_t tid, int flavor, DBG &dbg) = 0; 210 virtual int DoWriteGPR(lldb::tid_t tid, int flavor, const GPR &gpr) = 0; 212 virtual int DoWriteFPU(lldb::tid_t tid, int flavor, const FPU &fpu) = 0; 214 virtual int DoWriteEXC(lldb::tid_t tid, int flavor, const EXC &exc) = 0; 216 virtual int DoWriteDBG(lldb::tid_t tid, int flavor, const DBG &dbg) = 0;
|
H A D | RegisterContextDarwin_arm.h | 235 virtual int DoReadGPR(lldb::tid_t tid, int flavor, GPR &gpr) { return -1; } in DoReadGPR() 237 virtual int DoReadFPU(lldb::tid_t tid, int flavor, FPU &fpu) = 0; 239 virtual int DoReadEXC(lldb::tid_t tid, int flavor, EXC &exc) = 0; 241 virtual int DoReadDBG(lldb::tid_t tid, int flavor, DBG &dbg) = 0; 243 virtual int DoWriteGPR(lldb::tid_t tid, int flavor, const GPR &gpr) = 0; 245 virtual int DoWriteFPU(lldb::tid_t tid, int flavor, const FPU &fpu) = 0; 247 virtual int DoWriteEXC(lldb::tid_t tid, int flavor, const EXC &exc) = 0; 249 virtual int DoWriteDBG(lldb::tid_t tid, int flavor, const DBG &dbg) = 0;
|
H A D | RegisterContextDarwin_i386.h | 183 virtual int DoReadGPR(lldb::tid_t tid, int flavor, GPR &gpr) = 0; 185 virtual int DoReadFPU(lldb::tid_t tid, int flavor, FPU &fpu) = 0; 187 virtual int DoReadEXC(lldb::tid_t tid, int flavor, EXC &exc) = 0; 189 virtual int DoWriteGPR(lldb::tid_t tid, int flavor, const GPR &gpr) = 0; 191 virtual int DoWriteFPU(lldb::tid_t tid, int flavor, const FPU &fpu) = 0; 193 virtual int DoWriteEXC(lldb::tid_t tid, int flavor, const EXC &exc) = 0;
|
H A D | RegisterContextDarwin_x86_64.h | 188 virtual int DoReadGPR(lldb::tid_t tid, int flavor, GPR &gpr) = 0; 190 virtual int DoReadFPU(lldb::tid_t tid, int flavor, FPU &fpu) = 0; 192 virtual int DoReadEXC(lldb::tid_t tid, int flavor, EXC &exc) = 0; 194 virtual int DoWriteGPR(lldb::tid_t tid, int flavor, const GPR &gpr) = 0; 196 virtual int DoWriteFPU(lldb::tid_t tid, int flavor, const FPU &fpu) = 0; 198 virtual int DoWriteEXC(lldb::tid_t tid, int flavor, const EXC &exc) = 0;
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Trace/intel-pt/ |
H A D | TraceIntelPTMultiCpuDecoder.h | 47 bool TracesThread(lldb::tid_t tid) const; 51 size_t GetNumContinuousExecutionsForThread(lldb::tid_t tid) const; 55 size_t GePSBBlocksCountForThread(lldb::tid_t tid) const; 89 llvm::DenseMap<lldb::tid_t, std::vector<IntelPTThreadContinousExecution>>> 95 std::set<lldb::tid_t> m_tids; 97 llvm::DenseMap<lldb::tid_t, std::vector<IntelPTThreadContinousExecution>>> 99 llvm::DenseMap<lldb::tid_t, DecodedThreadSP> m_decoded_threads;
|
H A D | PerfContextSwitchDecoder.h | 64 CreateCompleteExecution(lldb::cpu_id_t cpu_id, lldb::tid_t tid, 68 CreateHintedStartExecution(lldb::cpu_id_t cpu_id, lldb::tid_t tid, 73 CreateHintedEndExecution(lldb::cpu_id_t cpu_id, lldb::tid_t tid, 78 lldb::tid_t tid, 83 CreateOnlyStartExecution(lldb::cpu_id_t cpu_id, lldb::tid_t tid, 111 lldb::tid_t tid; 117 ThreadContinuousExecution(lldb::cpu_id_t cpu_id, lldb::tid_t tid, in ThreadContinuousExecution()
|
H A D | TraceIntelPT.h | 102 bool IsTraced(lldb::tid_t tid) override; 162 llvm::Error Start(llvm::ArrayRef<lldb::tid_t> tids, uint64_t ipt_trace_size, 166 llvm::Error Start(llvm::ArrayRef<lldb::tid_t> tids, 171 llvm::Error OnThreadBufferRead(lldb::tid_t tid, 186 ScopedTaskTimer &GetThreadTimer(lldb::tid_t tid); 268 llvm::DenseMap<lldb::tid_t, std::unique_ptr<ThreadDecoder>> thread_decoders;
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/ |
H A D | GDBRemoteCommunicationClient.h | 219 bool GetpPacketSupported(lldb::tid_t tid); 231 bool GetDefaultThreadId(lldb::tid_t &tid); 264 bool GetThreadStopInfo(lldb::tid_t tid, StringExtractorGDBRemote &response); 342 std::vector<std::pair<lldb::pid_t, lldb::tid_t>> 345 size_t GetCurrentThreadIDs(std::vector<lldb::tid_t> &thread_ids, 398 lldb::tid_t tid, 402 lldb::DataBufferSP ReadAllRegisters(lldb::tid_t tid); 405 WriteRegister(lldb::tid_t tid, 409 bool WriteAllRegisters(lldb::tid_t tid, llvm::ArrayRef<uint8_t> data); 411 bool SaveRegisterState(lldb::tid_t tid, uint32_t &save_id); [all …]
|
H A D | GDBRemoteCommunicationServerLLGS.h | 104 lldb::tid_t m_current_tid = LLDB_INVALID_THREAD_ID; 105 lldb::tid_t m_continue_tid = LLDB_INVALID_THREAD_ID; 139 lldb::tid_t tid, 146 void EnqueueStopReplyPackets(lldb::tid_t thread_to_skip); 274 void SetCurrentThreadID(lldb::tid_t tid); 276 lldb::tid_t GetCurrentThreadID() const; 278 void SetContinueThreadID(lldb::tid_t tid); 280 lldb::tid_t GetContinueThreadID() const { return m_continue_tid; } in GetContinueThreadID() 300 lldb::tid_t tid);
|
/freebsd/contrib/llvm-project/lldb/include/lldb/Host/ |
H A D | Debug.h | 20 lldb::tid_t tid; // The thread ID that this action applies to, 57 void AppendAction(lldb::tid_t tid, lldb::StateType state, int signal = 0) { 74 const ResumeAction *GetActionForThread(lldb::tid_t tid, in GetActionForThread() 107 void SetSignalHandledForThread(lldb::tid_t tid) const { in SetSignalHandledForThread() 145 lldb::tid_t child_tid;
|
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_stoptheworld_linux_libcdep.cpp | 93 tid_t GetThreadID(uptr index) const override; 95 bool ContainsTid(tid_t thread_id) const; 96 void Append(tid_t tid); 103 InternalMmapVector<tid_t> thread_ids_; 136 bool SuspendThread(tid_t thread_id); 139 bool ThreadSuspender::SuspendThread(tid_t tid) { in SuspendThread() 213 InternalMmapVector<tid_t> threads; in SuspendAllThreads() 227 for (tid_t tid : threads) { in SuspendAllThreads() 542 tid_t SuspendedThreadsListLinux::GetThreadID(uptr index) const { in GetThreadID() 551 bool SuspendedThreadsListLinux::ContainsTid(tid_t thread_id) const { in ContainsTid() [all …]
|
H A D | sanitizer_stoptheworld_netbsd_libcdep.cpp | 55 tid_t GetThreadID(uptr index) const; 57 bool ContainsTid(tid_t thread_id) const; 58 void Append(tid_t tid); 65 InternalMmapVector<tid_t> thread_ids_; 316 tid_t SuspendedThreadsListNetBSD::GetThreadID(uptr index) const { in GetThreadID() 325 bool SuspendedThreadsListNetBSD::ContainsTid(tid_t thread_id) const { in ContainsTid() 333 void SuspendedThreadsListNetBSD::Append(tid_t tid) { in Append()
|
/freebsd/contrib/llvm-project/lldb/source/Commands/ |
H A D | CommandObjectThreadUtil.h | 34 lldb::tid_t GetRepresentativeThread() const { in GetRepresentativeThread() 70 virtual bool HandleOneThread(lldb::tid_t, CommandReturnObject &result) = 0; 72 bool BucketThread(lldb::tid_t tid, std::set<UniqueStack> &unique_stacks, 99 llvm::ArrayRef<lldb::tid_t> tids) = 0;
|
/freebsd/contrib/llvm-project/compiler-rt/lib/lsan/ |
H A D | lsan_thread.cpp | 68 void ThreadContextLsanBase::ThreadStart(u32 tid, tid_t os_id, in ThreadStart() 82 void GetThreadExtraStackRangesLocked(tid_t os_id, in GetThreadExtraStackRangesLocked() 101 void GetRunningThreadsLocked(InternalMmapVector<tid_t> *threads) { in GetRunningThreadsLocked() 105 reinterpret_cast<InternalMmapVector<tid_t> *>(threads)->push_back( in GetRunningThreadsLocked()
|
/freebsd/contrib/llvm-project/lldb/include/lldb/Utility/ |
H A D | TraceGDBRemotePackets.h | 49 std::optional<std::vector<lldb::tid_t>> tids; 67 TraceStopRequest(llvm::StringRef type, const std::vector<lldb::tid_t> &tids); 77 std::optional<std::vector<lldb::tid_t>> tids; 111 lldb::tid_t tid; 155 std::optional<lldb::tid_t> tid;
|