diff options
author | Greg Clayton <gclayton@apple.com> | 2012-08-24 05:45:15 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2012-08-24 05:45:15 +0000 |
commit | 435ce13937537261e92578c2a1d476c465666b99 (patch) | |
tree | 24e48d2db905d45069272baee689027f3126a12e /lldb/source/Plugins/Process/Utility/ThreadMemory.h | |
parent | 98e00797cdaf5f7e3c77378a2cb7993b0adfedee (diff) | |
download | bcm5719-llvm-435ce13937537261e92578c2a1d476c465666b99.tar.gz bcm5719-llvm-435ce13937537261e92578c2a1d476c465666b99.zip |
The OS plug-in can now get data from a python script that implements the protocol.
llvm-svn: 162540
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 |