summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/POSIX/POSIXThread.h
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Plugins/Process/POSIX/POSIXThread.h')
-rw-r--r--lldb/source/Plugins/Process/POSIX/POSIXThread.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Process/POSIX/POSIXThread.h b/lldb/source/Plugins/Process/POSIX/POSIXThread.h
index d0c081fcf4f..59b02a75f06 100644
--- a/lldb/source/Plugins/Process/POSIX/POSIXThread.h
+++ b/lldb/source/Plugins/Process/POSIX/POSIXThread.h
@@ -13,6 +13,7 @@
// C Includes
// C++ Includes
#include <memory>
+#include <string>
// Other libraries and framework includes
#include "lldb/Target/Thread.h"
@@ -46,6 +47,12 @@ public:
const char *
GetInfo();
+ void
+ SetName (const char *name);
+
+ const char *
+ GetName ();
+
virtual lldb::RegisterContextSP
GetRegisterContext();
@@ -100,6 +107,8 @@ private:
lldb::BreakpointSiteSP m_breakpoint;
+ std::string m_thread_name;
+
ProcessMonitor &
GetMonitor();
OpenPOWER on IntegriCloud