reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

gen/tools/lldb/scripts/LLDBWrapPython.cpp
 8387   lldb::tid_t arg2 ;
 8429   lldb::tid_t result;
10528   lldb::tid_t arg2 ;
10570   lldb::tid_t result;
11578   lldb::tid_t arg2 ;
11620   lldb::tid_t result;
44406   lldb::tid_t arg2 ;
44507   lldb::tid_t arg2 ;
44594   lldb::tid_t arg2 ;
60418   lldb::tid_t result;
64297   lldb::tid_t arg6 ;
64387   lldb::tid_t arg6 ;
64474   lldb::tid_t arg3 ;
64955   lldb::tid_t arg2 ;
64997   lldb::tid_t result;
tools/lldb/include/lldb/API/SBBreakpoint.h
   77   void SetThreadID(lldb::tid_t sb_thread_id);
   79   lldb::tid_t GetThreadID();
tools/lldb/include/lldb/API/SBBreakpointLocation.h
   67   void SetThreadID(lldb::tid_t sb_thread_id);
   69   lldb::tid_t GetThreadID();
tools/lldb/include/lldb/API/SBBreakpointName.h
   68   void SetThreadID(lldb::tid_t sb_thread_id);
   70   lldb::tid_t GetThreadID();
tools/lldb/include/lldb/API/SBProcess.h
   93   lldb::SBThread GetThreadByID(lldb::tid_t sb_thread_id);
  103   lldb::SBThread CreateOSPluginThread(lldb::tid_t tid, lldb::addr_t context);
  107   bool SetSelectedThreadByID(lldb::tid_t tid);
tools/lldb/include/lldb/API/SBThread.h
   81   lldb::tid_t GetThreadID() const;
tools/lldb/include/lldb/API/SBTrace.h
   50                       lldb::tid_t thread_id = LLDB_INVALID_THREAD_ID);
   56                      lldb::tid_t thread_id = LLDB_INVALID_THREAD_ID);
   79                  lldb::tid_t thread_id = LLDB_INVALID_THREAD_ID);
tools/lldb/include/lldb/API/SBTraceOptions.h
   43   void setThreadID(lldb::tid_t thread_id);
   45   lldb::tid_t getThreadID();
tools/lldb/include/lldb/Breakpoint/Breakpoint.h
  345   void SetThreadID(lldb::tid_t thread_id);
  351   lldb::tid_t GetThreadID() const;
tools/lldb/include/lldb/Breakpoint/BreakpointLocation.h
  140   void SetThreadID(lldb::tid_t thread_id);
  142   lldb::tid_t GetThreadID();
  321                      const Address &addr, lldb::tid_t tid, bool hardware,
tools/lldb/include/lldb/Breakpoint/BreakpointOptions.h
  324   void SetThreadID(lldb::tid_t thread_id);
tools/lldb/include/lldb/Breakpoint/WatchpointOptions.h
   46                     lldb::tid_t thread_id = LLDB_INVALID_THREAD_ID);
  151   void SetThreadID(lldb::tid_t thread_id);
tools/lldb/include/lldb/Host/Debug.h
   20   lldb::tid_t tid;       // The thread ID that this action applies to,
   59   void AppendAction(lldb::tid_t tid, lldb::StateType state, int signal = 0) {
   76   const ResumeAction *GetActionForThread(lldb::tid_t tid,
  109   void SetSignalHandledForThread(lldb::tid_t tid) const {
tools/lldb/include/lldb/Host/common/NativeProcessProtocol.h
  190   NativeThreadProtocol *GetThreadByID(lldb::tid_t tid);
  192   void SetCurrentThreadID(lldb::tid_t tid) { m_current_thread_id = tid; }
  194   lldb::tid_t GetCurrentThreadID() { return m_current_thread_id; }
  340                            lldb::tid_t thread = LLDB_INVALID_THREAD_ID) {
  363   virtual Status GetData(lldb::user_id_t traceid, lldb::tid_t thread,
  371   virtual Status GetMetaData(lldb::user_id_t traceid, lldb::tid_t thread,
  407   lldb::tid_t m_current_thread_id = LLDB_INVALID_THREAD_ID;
  469   NativeThreadProtocol *GetThreadByIDUnlocked(lldb::tid_t tid);
tools/lldb/include/lldb/Host/common/NativeRegisterContext.h
  113   virtual lldb::tid_t GetThreadID() const;
tools/lldb/include/lldb/Host/common/NativeThreadProtocol.h
   22   NativeThreadProtocol(NativeProcessProtocol &process, lldb::tid_t tid);
   35   lldb::tid_t GetID() const { return m_tid; }
   52   lldb::tid_t m_tid;
tools/lldb/include/lldb/Interpreter/ScriptInterpreter.h
  204                                lldb::tid_t thread_id) {
  210                         lldb::tid_t tid, lldb::addr_t context) {
tools/lldb/include/lldb/Target/ExecutionContext.h
  266   lldb::tid_t m_tid;  ///< The thread ID that this object refers to in case the
tools/lldb/include/lldb/Target/OperatingSystem.h
   62   virtual lldb::ThreadSP CreateThread(lldb::tid_t tid, lldb::addr_t context) {
tools/lldb/include/lldb/Target/Process.h
 2070   lldb::ThreadSP CreateOSPluginThread(lldb::tid_t tid, lldb::addr_t context);
 2438   virtual Status StopTrace(lldb::user_id_t uid, lldb::tid_t thread_id) {
 2447   virtual Status GetData(lldb::user_id_t uid, lldb::tid_t thread_id,
 2454   virtual Status GetMetaData(lldb::user_id_t uid, lldb::tid_t thread_id,
tools/lldb/include/lldb/Target/QueueItem.h
  100   void SetEnqueueingThreadID(lldb::tid_t tid) { m_enqueueing_thread_id = tid; }
  102   lldb::tid_t GetEnqueueingThreadID();
  151   lldb::tid_t m_enqueueing_thread_id; // thread that enqueued this item
tools/lldb/include/lldb/Target/RegisterContext.h
  137   virtual lldb::tid_t GetThreadID() const;
tools/lldb/include/lldb/Target/Thread.h
  144   Thread(Process &process, lldb::tid_t tid, bool use_invalid_index_id = false);
tools/lldb/include/lldb/Target/ThreadList.h
   49     ExpressionExecutionThreadPusher(ThreadList &thread_list, lldb::tid_t tid)
   63     lldb::tid_t m_tid;
   69   void PushExpressionExecutionThread(lldb::tid_t tid);
   71   void PopExpressionExecutionThread(lldb::tid_t tid);
   74   bool SetSelectedThreadByID(lldb::tid_t tid, bool notify = false);
   89   lldb::ThreadSP FindThreadByID(lldb::tid_t tid, bool can_update = true);
   91   lldb::ThreadSP FindThreadByProtocolID(lldb::tid_t tid,
   94   lldb::ThreadSP RemoveThreadByID(lldb::tid_t tid, bool can_update = true);
   96   lldb::ThreadSP RemoveThreadByProtocolID(lldb::tid_t tid,
  143   void NotifySelectedThreadChanged(lldb::tid_t tid);
  149   lldb::tid_t
  151   std::vector<lldb::tid_t> m_expression_tid_stack;
tools/lldb/include/lldb/Target/ThreadSpec.h
   47   void SetTID(lldb::tid_t tid) { m_tid = tid; }
   55   lldb::tid_t GetTID() const { return m_tid; }
   61   bool TIDMatches(lldb::tid_t thread_id) const {
  122   lldb::tid_t m_tid;
tools/lldb/include/lldb/Utility/GDBRemote.h
   79   lldb::tid_t tid;
tools/lldb/include/lldb/Utility/TraceOptions.h
   42   void setThreadID(lldb::tid_t thread_id) { m_thread_id = thread_id; }
   44   lldb::tid_t getThreadID() const { return m_thread_id; }
   50   lldb::tid_t m_thread_id;
tools/lldb/source/API/SBBreakpoint.cpp
  345 void SBBreakpoint::SetThreadID(tid_t tid) {
  356 tid_t SBBreakpoint::GetThreadID() {
  359   tid_t tid = LLDB_INVALID_THREAD_ID;
tools/lldb/source/API/SBBreakpointLocation.cpp
  304 void SBBreakpointLocation::SetThreadID(tid_t thread_id) {
  316 tid_t SBBreakpointLocation::GetThreadID() {
  319   tid_t tid = LLDB_INVALID_THREAD_ID;
tools/lldb/source/API/SBBreakpointName.cpp
  360 void SBBreakpointName::SetThreadID(tid_t tid) {
  374 tid_t SBBreakpointName::GetThreadID() {
tools/lldb/source/API/SBProcess.cpp
  226 SBThread SBProcess::CreateOSPluginThread(lldb::tid_t tid,
  396 bool SBProcess::SetSelectedThreadByID(lldb::tid_t tid) {
  724 SBThread SBProcess::GetThreadByID(tid_t tid) {
tools/lldb/source/API/SBThread.cpp
  436 lldb::tid_t SBThread::GetThreadID() const {
tools/lldb/source/API/SBTrace.cpp
   28                              size_t offset, lldb::tid_t thread_id) {
   47                             size_t offset, lldb::tid_t thread_id) {
   65 void SBTrace::StopTrace(SBError &error, lldb::tid_t thread_id) {
tools/lldb/source/API/SBTraceOptions.cpp
  117 void SBTraceOptions::setThreadID(lldb::tid_t thread_id) {
  125 lldb::tid_t SBTraceOptions::getThreadID() {
tools/lldb/source/Breakpoint/Breakpoint.cpp
  350 void Breakpoint::SetThreadID(lldb::tid_t thread_id) {
  358 lldb::tid_t Breakpoint::GetThreadID() const {
tools/lldb/source/Breakpoint/BreakpointLocation.cpp
   32                                        const Address &addr, lldb::tid_t tid,
  104 void BreakpointLocation::SetThreadID(lldb::tid_t thread_id) {
  116 lldb::tid_t BreakpointLocation::GetThreadID() {
  623   lldb::tid_t tid = GetOptionsSpecifyingKind(BreakpointOptions::eThreadSpec)
tools/lldb/source/Breakpoint/BreakpointOptions.cpp
  518 void BreakpointOptions::SetThreadID(lldb::tid_t thread_id) {
tools/lldb/source/Breakpoint/WatchpointOptions.cpp
  116 void WatchpointOptions::SetThreadID(lldb::tid_t thread_id) {
tools/lldb/source/Commands/CommandObjectBreakpoint.cpp
  118       lldb::tid_t thread_id = LLDB_INVALID_THREAD_ID;
tools/lldb/source/Commands/CommandObjectTarget.cpp
 4548     lldb::tid_t m_thread_id;
tools/lldb/source/Commands/CommandObjectThread.cpp
   61     lldb::tid_t GetRepresentativeThread() const {
  103     std::vector<lldb::tid_t> tids;
  146       for (const lldb::tid_t &tid : tids) {
  175       for (const lldb::tid_t &tid : tids) {
  198   virtual bool HandleOneThread(lldb::tid_t, CommandReturnObject &result) = 0;
  200   bool BucketThread(lldb::tid_t tid, std::set<UniqueStack> &unique_stacks,
  351   bool HandleOneThread(lldb::tid_t tid, CommandReturnObject &result) override {
 1449   bool HandleOneThread(lldb::tid_t tid, CommandReturnObject &result) override {
 1491   bool HandleOneThread(lldb::tid_t tid, CommandReturnObject &result) override {
 1894   bool HandleOneThread(lldb::tid_t tid, CommandReturnObject &result) override {
tools/lldb/source/Host/common/NativeProcessProtocol.cpp
   95 NativeProcessProtocol::GetThreadByIDUnlocked(lldb::tid_t tid) {
  103 NativeThreadProtocol *NativeProcessProtocol::GetThreadByID(lldb::tid_t tid) {
tools/lldb/source/Host/common/NativeRegisterContext.cpp
  232 lldb::tid_t NativeRegisterContext::GetThreadID() const {
tools/lldb/source/Host/common/NativeThreadProtocol.cpp
   18                                            lldb::tid_t tid)
tools/lldb/source/Host/linux/Host.cpp
  288       lldb::tid_t tid = atoi(direntry->d_name);
tools/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderDarwin.cpp
 1065         const tid_t tid = thread_sp->GetID();
tools/lldb/source/Plugins/InstrumentationRuntime/MainThreadChecker/MainThreadCheckerRuntime.cpp
  263   tid_t tid = thread_id_obj ? thread_id_obj->GetIntegerValue() : 0;
tools/lldb/source/Plugins/InstrumentationRuntime/TSan/TSanRuntime.cpp
 1029         tid_t tid = thread_id_obj ? thread_id_obj->GetIntegerValue() : 0;
tools/lldb/source/Plugins/InstrumentationRuntime/UBSan/UBSanRuntime.cpp
  328   tid_t tid = thread_id_obj ? thread_id_obj->GetIntegerValue() : 0;
tools/lldb/source/Plugins/MemoryHistory/asan/MemoryHistoryASan.cpp
  120   tid_t tid = tid_sp->GetValueAsUnsigned(0) + 1;
tools/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
  321   int DoReadGPR(lldb::tid_t tid, int flavor, GPR &gpr) override { return 0; }
  323   int DoReadFPU(lldb::tid_t tid, int flavor, FPU &fpu) override { return 0; }
  325   int DoReadEXC(lldb::tid_t tid, int flavor, EXC &exc) override { return 0; }
  327   int DoWriteGPR(lldb::tid_t tid, int flavor, const GPR &gpr) override {
  331   int DoWriteFPU(lldb::tid_t tid, int flavor, const FPU &fpu) override {
  335   int DoWriteEXC(lldb::tid_t tid, int flavor, const EXC &exc) override {
  437   int DoReadGPR(lldb::tid_t tid, int flavor, GPR &gpr) override { return 0; }
  439   int DoReadFPU(lldb::tid_t tid, int flavor, FPU &fpu) override { return 0; }
  441   int DoReadEXC(lldb::tid_t tid, int flavor, EXC &exc) override { return 0; }
  443   int DoWriteGPR(lldb::tid_t tid, int flavor, const GPR &gpr) override {
  447   int DoWriteFPU(lldb::tid_t tid, int flavor, const FPU &fpu) override {
  451   int DoWriteEXC(lldb::tid_t tid, int flavor, const EXC &exc) override {
  563   int DoReadGPR(lldb::tid_t tid, int flavor, GPR &gpr) override { return -1; }
  565   int DoReadFPU(lldb::tid_t tid, int flavor, FPU &fpu) override { return -1; }
  567   int DoReadEXC(lldb::tid_t tid, int flavor, EXC &exc) override { return -1; }
  569   int DoReadDBG(lldb::tid_t tid, int flavor, DBG &dbg) override { return -1; }
  571   int DoWriteGPR(lldb::tid_t tid, int flavor, const GPR &gpr) override {
  575   int DoWriteFPU(lldb::tid_t tid, int flavor, const FPU &fpu) override {
  579   int DoWriteEXC(lldb::tid_t tid, int flavor, const EXC &exc) override {
  583   int DoWriteDBG(lldb::tid_t tid, int flavor, const DBG &dbg) override {
  709   int DoReadGPR(lldb::tid_t tid, int flavor, GPR &gpr) override { return -1; }
  711   int DoReadFPU(lldb::tid_t tid, int flavor, FPU &fpu) override { return -1; }
  713   int DoReadEXC(lldb::tid_t tid, int flavor, EXC &exc) override { return -1; }
  715   int DoReadDBG(lldb::tid_t tid, int flavor, DBG &dbg) override { return -1; }
  717   int DoWriteGPR(lldb::tid_t tid, int flavor, const GPR &gpr) override {
  721   int DoWriteFPU(lldb::tid_t tid, int flavor, const FPU &fpu) override {
  725   int DoWriteEXC(lldb::tid_t tid, int flavor, const EXC &exc) override {
  729   int DoWriteDBG(lldb::tid_t tid, int flavor, const DBG &dbg) override {
tools/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp
  230   tid_t tid = LLDB_INVALID_THREAD_ID;
  374 lldb::ThreadSP OperatingSystemPython::CreateThread(lldb::tid_t tid,
tools/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.h
   62   lldb::ThreadSP CreateThread(lldb::tid_t tid, lldb::addr_t context) override;
tools/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp
  327         lldb::tid_t tid = it->first;
 1535 Status NativeProcessLinux::GetSignalInfo(lldb::tid_t tid, void *siginfo) {
 1539 Status NativeProcessLinux::GetEventMessage(lldb::tid_t tid,
 1544 Status NativeProcessLinux::Detach(lldb::tid_t tid) {
 1551 bool NativeProcessLinux::HasThreadNoLock(lldb::tid_t thread_id) {
 1564 bool NativeProcessLinux::StopTrackingThread(lldb::tid_t thread_id) {
 1583 NativeThreadLinux &NativeProcessLinux::AddThread(lldb::tid_t thread_id) {
 1650 NativeThreadLinux *NativeProcessLinux::GetThreadByID(lldb::tid_t tid) {
 1696 void NativeProcessLinux::StopRunningThreads(const lldb::tid_t triggering_tid) {
 1825                                                  lldb::tid_t thread) {
 1843                                        lldb::tid_t thread,
 1862 Status NativeProcessLinux::GetData(lldb::user_id_t traceid, lldb::tid_t thread,
 1941   lldb::tid_t threadid = config.getThreadID();
 1973 Status NativeProcessLinux::StopTracingForThread(lldb::tid_t thread) {
 1996                                      lldb::tid_t thread) {
 2030                                                         lldb::tid_t thread) {
tools/lldb/source/Plugins/Process/Linux/NativeProcessLinux.h
   96   NativeThreadLinux *GetThreadByID(lldb::tid_t id);
  107                    lldb::tid_t thread) override;
  109   Status GetData(lldb::user_id_t traceid, lldb::tid_t thread,
  113   Status GetMetaData(lldb::user_id_t traceid, lldb::tid_t thread,
  137   lldb::tid_t m_pending_notification_tid = LLDB_INVALID_THREAD_ID;
  141   std::map<lldb::tid_t, lldb::addr_t> m_threads_stepping_with_breakpoint;
  170   bool HasThreadNoLock(lldb::tid_t thread_id);
  172   bool StopTrackingThread(lldb::tid_t thread_id);
  174   NativeThreadLinux &AddThread(lldb::tid_t thread_id);
  178   Status GetSignalInfo(lldb::tid_t tid, void *siginfo);
  183   Status GetEventMessage(lldb::tid_t tid, unsigned long *message);
  185   void NotifyThreadDeath(lldb::tid_t tid);
  187   Status Detach(lldb::tid_t tid);
  194   void StopRunningThreads(lldb::tid_t triggering_tid);
  216   Status StopTracingForThread(lldb::tid_t thread);
  226   LookupProcessorTraceInstance(lldb::user_id_t traceid, lldb::tid_t thread);
  231                                       lldb::tid_t thread);
  238   llvm::DenseMap<lldb::tid_t, ProcessorTraceMonitorUP>
  243   llvm::DenseSet<lldb::tid_t> m_pt_traced_thread_group;
tools/lldb/source/Plugins/Process/Linux/NativeThreadLinux.cpp
   88                                      lldb::tid_t tid)
  412   lldb::tid_t tid = GetID();
tools/lldb/source/Plugins/Process/Linux/NativeThreadLinux.h
   31   NativeThreadLinux(NativeProcessLinux &process, lldb::tid_t tid);
tools/lldb/source/Plugins/Process/Linux/ProcessorTrace.cpp
   46 Status ProcessorTraceMonitor::StartTrace(lldb::pid_t pid, lldb::tid_t tid,
  241 ProcessorTraceMonitor::Create(lldb::pid_t pid, lldb::tid_t tid,
tools/lldb/source/Plugins/Process/Linux/ProcessorTrace.h
   75   lldb::tid_t m_thread_id;
   82   Status StartTrace(lldb::pid_t pid, lldb::tid_t tid,
   93   void SetThreadID(lldb::tid_t tid) { m_thread_id = tid; }
   99   Create(lldb::pid_t pid, lldb::tid_t tid, const TraceOptions &config,
  110   lldb::tid_t GetThreadID() const { return m_thread_id; }
tools/lldb/source/Plugins/Process/POSIX/ProcessMessage.h
   45   lldb::tid_t GetTID() const { return m_tid; }
   53   static ProcessMessage Limbo(lldb::tid_t tid, int status) {
   58   static ProcessMessage Signal(lldb::tid_t tid, int signum) {
   64   static ProcessMessage SignalDelivered(lldb::tid_t tid, int signum) {
   69   static ProcessMessage Trace(lldb::tid_t tid) {
   74   static ProcessMessage Break(lldb::tid_t tid) {
   78   static ProcessMessage Watch(lldb::tid_t tid, lldb::addr_t wp_addr) {
   91   static ProcessMessage NewThread(lldb::tid_t parent_tid,
   92                                   lldb::tid_t child_tid) {
   97   static ProcessMessage Exit(lldb::tid_t tid, int status) {
  102   static ProcessMessage Exec(lldb::tid_t tid) {
  137   lldb::tid_t GetChildTID() const {
  149   ProcessMessage(lldb::tid_t tid, Kind kind, int status = 0,
  155   ProcessMessage(lldb::tid_t tid, Kind kind, lldb::tid_t child_tid)
  155   ProcessMessage(lldb::tid_t tid, Kind kind, lldb::tid_t child_tid)
  160   lldb::tid_t m_tid;
  165   lldb::tid_t m_child_tid;
tools/lldb/source/Plugins/Process/Utility/HistoryThread.cpp
   27 HistoryThread::HistoryThread(lldb_private::Process &process, lldb::tid_t tid,
tools/lldb/source/Plugins/Process/Utility/HistoryThread.h
   35   HistoryThread(lldb_private::Process &process, lldb::tid_t tid,
   85   lldb::tid_t m_originating_unique_thread_id;
tools/lldb/source/Plugins/Process/Utility/RegisterContextDarwin_arm.h
  235   virtual int DoReadGPR(lldb::tid_t tid, int flavor, GPR &gpr) { return -1; }
  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;
tools/lldb/source/Plugins/Process/Utility/RegisterContextDarwin_arm64.h
  202   virtual int DoReadGPR(lldb::tid_t tid, int flavor, GPR &gpr) { return -1; }
  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;
tools/lldb/source/Plugins/Process/Utility/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;
tools/lldb/source/Plugins/Process/Utility/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;
tools/lldb/source/Plugins/Process/Utility/ThreadMemory.cpp
   24 ThreadMemory::ThreadMemory(Process &process, tid_t tid,
   29 ThreadMemory::ThreadMemory(Process &process, lldb::tid_t tid,
tools/lldb/source/Plugins/Process/Utility/ThreadMemory.h
   18   ThreadMemory(lldb_private::Process &process, lldb::tid_t tid,
   21   ThreadMemory(lldb_private::Process &process, lldb::tid_t tid,
tools/lldb/source/Plugins/Process/elf-core/ProcessElfCore.cpp
  267   for (lldb::tid_t tid = 0; tid < num_threads; ++tid) {
  617       lldb::tid_t tid;
tools/lldb/source/Plugins/Process/elf-core/ThreadElfCore.h
  129   lldb::tid_t tid;
  148   static bool ThreadIDIsValid(lldb::tid_t thread) { return thread != 0; }
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
  518     lldb::tid_t tid, StreamString &&payload, StringExtractorGDBRemote &response,
  545 bool GDBRemoteCommunicationClient::GetpPacketSupported(lldb::tid_t tid) {
  733       std::vector<lldb::tid_t> thread_ids;
 1108 bool GDBRemoteCommunicationClient::GetDefaultThreadId(lldb::tid_t &tid) {
 2658     lldb::tid_t tid, StringExtractorGDBRemote &response) {
 2741     std::vector<lldb::tid_t> &thread_ids, bool &sequence_mutex_unavailable) {
 2760           tid_t tid = response.GetHexMaxU64(false, LLDB_INVALID_THREAD_ID);
 3203 DataBufferSP GDBRemoteCommunicationClient::ReadRegister(lldb::tid_t tid,
 3219 DataBufferSP GDBRemoteCommunicationClient::ReadAllRegisters(lldb::tid_t tid) {
 3234 bool GDBRemoteCommunicationClient::WriteRegister(lldb::tid_t tid,
 3250     lldb::tid_t tid, llvm::ArrayRef<uint8_t> data) {
 3263 bool GDBRemoteCommunicationClient::SaveRegisterState(lldb::tid_t tid,
 3288 bool GDBRemoteCommunicationClient::RestoreRegisterState(lldb::tid_t tid,
 3311 bool GDBRemoteCommunicationClient::SyncThreadState(lldb::tid_t tid) {
 3368                                                   lldb::tid_t thread_id) {
 3404     lldb::user_id_t uid, lldb::tid_t thread_id,
 3413     lldb::user_id_t uid, lldb::tid_t thread_id,
 3493     StreamGDBRemote &packet, lldb::user_id_t uid, lldb::tid_t thread_id,
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h
  236   bool GetpPacketSupported(lldb::tid_t tid);
  248   bool GetDefaultThreadId(lldb::tid_t &tid);
  281   bool GetThreadStopInfo(lldb::tid_t tid, StringExtractorGDBRemote &response);
  351   size_t GetCurrentThreadIDs(std::vector<lldb::tid_t> &thread_ids,
  395       lldb::tid_t tid,
  399   lldb::DataBufferSP ReadAllRegisters(lldb::tid_t tid);
  402   WriteRegister(lldb::tid_t tid,
  406   bool WriteAllRegisters(lldb::tid_t tid, llvm::ArrayRef<uint8_t> data);
  408   bool SaveRegisterState(lldb::tid_t tid, uint32_t &save_id);
  410   bool RestoreRegisterState(lldb::tid_t tid, uint32_t save_id);
  412   bool SyncThreadState(lldb::tid_t tid);
  485   Status SendStopTracePacket(lldb::user_id_t uid, lldb::tid_t thread_id);
  487   Status SendGetDataPacket(lldb::user_id_t uid, lldb::tid_t thread_id,
  491   Status SendGetMetaDataPacket(lldb::user_id_t uid, lldb::tid_t thread_id,
  544   lldb::tid_t m_curr_tid; // Current gdb remote protocol thread index for all
  546   lldb::tid_t m_curr_tid_run; // Current gdb remote protocol thread index for
  586       lldb::tid_t tid, StreamString &&payload,
  590                                 lldb::tid_t thread_id,
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
  508     lldb::tid_t tid = thread->GetID();
  574     lldb::tid_t tid) {
 1045   lldb::tid_t tid = LLDB_INVALID_THREAD_ID;
 1108   lldb::tid_t tid = LLDB_INVALID_THREAD_ID;
 1145   lldb::tid_t threadid = LLDB_INVALID_THREAD_ID;
 1212   lldb::tid_t tid = LLDB_INVALID_THREAD_ID;
 1286   lldb::tid_t tid = m_debugged_process_up->GetCurrentThreadID();
 1400   lldb::tid_t signal_tid = GetContinueThreadID();
 1587 void GDBRemoteCommunicationServerLLGS::SetCurrentThreadID(lldb::tid_t tid) {
 1596 void GDBRemoteCommunicationServerLLGS::SetContinueThreadID(lldb::tid_t tid) {
 1633     lldb::tid_t tid = m_debugged_process_up->GetCurrentThreadID();
 2160   const lldb::tid_t tid =
 2161       packet.GetHexMaxU64(false, std::numeric_limits<lldb::tid_t>::max());
 2718   lldb::tid_t tid = GetContinueThreadID();
 3063   const lldb::tid_t tid = packet.GetHexMaxU32(false, LLDB_INVALID_THREAD_ID);
 3225     const lldb::tid_t current_tid = GetCurrentThreadID();
 3260   const lldb::tid_t tid = packet.GetHexMaxU64(false, 0);
 3267 lldb::tid_t GDBRemoteCommunicationServerLLGS::GetCurrentThreadID() const {
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.h
   76   lldb::tid_t m_current_tid = LLDB_INVALID_THREAD_ID;
   77   lldb::tid_t m_continue_tid = LLDB_INVALID_THREAD_ID;
   95   PacketResult SendStopReplyPacketForThread(lldb::tid_t tid);
  183   void SetCurrentThreadID(lldb::tid_t tid);
  185   lldb::tid_t GetCurrentThreadID() const;
  187   void SetContinueThreadID(lldb::tid_t tid);
  189   lldb::tid_t GetContinueThreadID() const { return m_continue_tid; }
tools/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
 1246 Status ProcessGDBRemote::StopTrace(lldb::user_id_t uid, lldb::tid_t thread_id) {
 1250 Status ProcessGDBRemote::GetData(lldb::user_id_t uid, lldb::tid_t thread_id,
 1256 Status ProcessGDBRemote::GetMetaData(lldb::user_id_t uid, lldb::tid_t thread_id,
 1533   lldb::tid_t tid;
 1580           lldb::tid_t tid = LLDB_INVALID_THREAD_ID;
 1581           if (thread_dict->GetValueForKeyAsInteger<lldb::tid_t>("tid", tid))
 1657       tid_t tid = m_thread_ids[i];
 1680       lldb::tid_t old_thread_id = old_thread_sp->GetProtocolID();
 1711       lldb::tid_t tid;
 1717           if (thread_dict->GetValueForKeyAsInteger<lldb::tid_t>(
 1756     lldb::tid_t tid, ExpeditedRegisterMap &expedited_register_map,
 2026   lldb::tid_t tid = LLDB_INVALID_THREAD_ID;
 2182     lldb::tid_t tid = LLDB_INVALID_THREAD_ID;
 2220         lldb::tid_t tid;
 4020 ProcessGDBRemote::GetExtendedInfoForThread(lldb::tid_t tid) {
tools/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
  168   Status StopTrace(lldb::user_id_t uid, lldb::tid_t thread_id) override;
  170   Status GetData(lldb::user_id_t uid, lldb::tid_t thread_id,
  174   Status GetMetaData(lldb::user_id_t uid, lldb::tid_t thread_id,
  259   typedef std::vector<lldb::tid_t> tid_collection;
  260   typedef std::vector<std::pair<lldb::tid_t, int>> tid_sig_collection;
  286   lldb::tid_t m_initial_tid; // The initial thread ID, given by stub on attach
  330   StructuredData::ObjectSP GetExtendedInfoForThread(lldb::tid_t tid);
  362   SetThreadStopInfo(lldb::tid_t tid,
tools/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp
   36 ThreadGDBRemote::ThreadGDBRemote(Process &process, lldb::tid_t tid)
  278 bool ThreadGDBRemote::ThreadIDIsValid(lldb::tid_t thread) {
tools/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.h
   28   ThreadGDBRemote(Process &process, lldb::tid_t tid);
   59   static bool ThreadIDIsValid(lldb::tid_t thread);
tools/lldb/source/Plugins/Process/mach-core/ProcessMachCore.cpp
  520       for (lldb::tid_t tid = 0; tid < num_threads; ++tid) {
tools/lldb/source/Plugins/Process/mach-core/ThreadMachCore.cpp
   33 ThreadMachCore::ThreadMachCore(Process &process, lldb::tid_t tid)
   58 bool ThreadMachCore::ThreadIDIsValid(lldb::tid_t thread) { return thread != 0; }
tools/lldb/source/Plugins/Process/mach-core/ThreadMachCore.h
   20   ThreadMachCore(lldb_private::Process &process, lldb::tid_t tid);
   33   static bool ThreadIDIsValid(lldb::tid_t thread);
tools/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
 1727     StructuredData::ObjectSP os_plugin_object_sp, lldb::tid_t tid) {
 1783     StructuredData::ObjectSP os_plugin_object_sp, lldb::tid_t tid,
tools/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h
  129                                lldb::tid_t thread_id) override;
  133                         lldb::tid_t tid, lldb::addr_t context) override;
tools/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetThreadItemInfoHandler.cpp
  233                                                  tid_t thread_id,
tools/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetThreadItemInfoHandler.h
   86                                                 lldb::tid_t thread_id,
tools/lldb/source/Target/Process.cpp
 1269 ThreadSP Process::CreateOSPluginThread(lldb::tid_t tid, lldb::addr_t context) {
 5463   std::vector<lldb::tid_t> thread_id_array;
tools/lldb/source/Target/QueueItem.cpp
   63 lldb::tid_t QueueItem::GetEnqueueingThreadID() {
tools/lldb/source/Target/RegisterContext.cpp
  268 lldb::tid_t RegisterContext::GetThreadID() const { return m_thread.GetID(); }
tools/lldb/source/Target/Thread.cpp
  224 Thread::Thread(Process &process, lldb::tid_t tid, bool use_invalid_index_id)
tools/lldb/source/Target/ThreadList.cpp
   69 void ThreadList::PushExpressionExecutionThread(lldb::tid_t tid) {
   73 void ThreadList::PopExpressionExecutionThread(lldb::tid_t tid) {
  102 ThreadSP ThreadList::FindThreadByID(lldb::tid_t tid, bool can_update) {
  120 ThreadSP ThreadList::FindThreadByProtocolID(lldb::tid_t tid, bool can_update) {
  138 ThreadSP ThreadList::RemoveThreadByID(lldb::tid_t tid, bool can_update) {
  157 ThreadSP ThreadList::RemoveThreadByProtocolID(lldb::tid_t tid,
  660 bool ThreadList::SetSelectedThreadByID(lldb::tid_t tid, bool notify) {
  690 void ThreadList::NotifySelectedThreadChanged(lldb::tid_t tid) {
  718       const lldb::tid_t tid = (*rhs_pos)->GetID();
tools/lldb/source/Target/ThreadSpec.cpp
   27   lldb::tid_t tid = LLDB_INVALID_THREAD_ID;
   82   lldb::tid_t thread_id = thread.GetID();
tools/lldb/tools/lldb-vscode/JSONUtils.cpp
  766   const lldb::tid_t tid = thread.GetThreadID();
tools/lldb/tools/lldb-vscode/VSCode.h
   89   lldb::tid_t focus_tid;
   94   llvm::DenseSet<lldb::tid_t> thread_ids;
tools/lldb/tools/lldb-vscode/lldb-vscode.cpp
  134 void SendThreadExitedEvent(lldb::tid_t tid) {
  161       llvm::DenseSet<lldb::tid_t> old_thread_ids;
  170       lldb::tid_t first_tid_with_reason = LLDB_INVALID_THREAD_ID;
  174         const lldb::tid_t tid = thread.GetThreadID();
tools/lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp
   75   const lldb::tid_t tid = 0x47;
   95   const lldb::tid_t tid = 0x47;
  115   const lldb::tid_t tid = 0x47;
  141   const lldb::tid_t tid = 0x47;
  160   const lldb::tid_t tid = 0x47;
  405   lldb::tid_t thread_id = 0x23;
  425   lldb::tid_t thread_id = 0x23;
  457   lldb::tid_t thread_id = 0x23;
  489   lldb::tid_t thread_id = 0x23;
tools/lldb/unittests/tools/lldb-server/tests/MessageObjects.cpp
  288   lldb::tid_t Thread;
  306     lldb::tid_t Id;
tools/lldb/unittests/tools/lldb-server/tests/MessageObjects.h
  109   StopReplyStop(uint8_t Signal, lldb::tid_t ThreadId, llvm::StringRef Name,
  121   lldb::tid_t getThreadId() const { return ThreadId; }
  138   lldb::tid_t ThreadId;