summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2011-02-08 05:15:05 +0000
committerJim Ingham <jingham@apple.com>2011-02-08 05:15:05 +0000
commitcedb5820ff4908cf5f32fb5ab8b822e68bf8a39e (patch)
treeb36d8406c016d4a953c6257c1fb8b62bf1054e66
parent53239f00b5663b05f0e8f2fe47bf8604778ae00d (diff)
downloadbcm5719-llvm-cedb5820ff4908cf5f32fb5ab8b822e68bf8a39e.tar.gz
bcm5719-llvm-cedb5820ff4908cf5f32fb5ab8b822e68bf8a39e.zip
Add a GetName interface to the Listener for logging purposes.
llvm-svn: 125079
-rw-r--r--lldb/include/lldb/Core/Listener.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lldb/include/lldb/Core/Listener.h b/lldb/include/lldb/Core/Listener.h
index a47e1012239..2173768209b 100644
--- a/lldb/include/lldb/Core/Listener.h
+++ b/lldb/include/lldb/Core/Listener.h
@@ -46,6 +46,12 @@ public:
void
Clear ();
+ const char *
+ GetName ()
+ {
+ return m_name.c_str();
+ }
+
uint32_t
StartListeningForEvents (Broadcaster* broadcaster,
uint32_t event_mask);
OpenPOWER on IntegriCloud