[Lldb-commits] [lldb] r125079 - /lldb/trunk/include/lldb/Core/Listener.h
Jim Ingham
jingham at apple.com
Mon Feb 7 21:15:05 PST 2011
Author: jingham
Date: Mon Feb 7 23:15:05 2011
New Revision: 125079
URL: http://llvm.org/viewvc/llvm-project?rev=125079&view=rev
Log:
Add a GetName interface to the Listener for logging purposes.
Modified:
lldb/trunk/include/lldb/Core/Listener.h
Modified: lldb/trunk/include/lldb/Core/Listener.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Core/Listener.h?rev=125079&r1=125078&r2=125079&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Core/Listener.h (original)
+++ lldb/trunk/include/lldb/Core/Listener.h Mon Feb 7 23:15:05 2011
@@ -46,6 +46,12 @@
void
Clear ();
+ const char *
+ GetName ()
+ {
+ return m_name.c_str();
+ }
+
uint32_t
StartListeningForEvents (Broadcaster* broadcaster,
uint32_t event_mask);
More information about the lldb-commits
mailing list