diff options
Diffstat (limited to 'lldb/source/Plugins/Process/Utility/ThreadMemory.h')
-rw-r--r-- | lldb/source/Plugins/Process/Utility/ThreadMemory.h | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/lldb/source/Plugins/Process/Utility/ThreadMemory.h b/lldb/source/Plugins/Process/Utility/ThreadMemory.h index 96b40a08143..c1603d4a7cb 100644 --- a/lldb/source/Plugins/Process/Utility/ThreadMemory.h +++ b/lldb/source/Plugins/Process/Utility/ThreadMemory.h @@ -21,7 +21,12 @@ public: lldb::tid_t tid, const lldb::ValueObjectSP &thread_info_valobj_sp); - virtual + ThreadMemory (const lldb::ProcessSP &process_sp, + lldb::tid_t tid, + const char *name, + const char *queue); + + virtual ~ThreadMemory(); //------------------------------------------------------------------ @@ -39,6 +44,18 @@ public: virtual lldb::StopInfoSP GetPrivateStopReason (); + virtual const char * + GetName () + { + return m_name.c_str(); + } + + virtual const char * + GetQueueName () + { + return m_queue.c_str(); + } + virtual bool WillResume (lldb::StateType resume_state); @@ -53,7 +70,8 @@ protected: // For ThreadMemory and subclasses //------------------------------------------------------------------ lldb::ValueObjectSP m_thread_info_valobj_sp; - + std::string m_name; + std::string m_queue; private: //------------------------------------------------------------------ // For ThreadMemory only |