[Lldb-commits] [lldb] [lldb] Remove Listener::SetShadow (PR #97555)

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Mon Jul 8 01:34:32 PDT 2024


================
@@ -18,13 +18,10 @@
 using namespace lldb;
 using namespace lldb_private;
 
-Listener::Listener(const char *name)
-    : m_name(name), m_broadcasters(), m_broadcasters_mutex(), m_events(),
-      m_events_mutex(), m_is_shadow() {
+Listener::Listener(const char *name) : m_name(name) {
   Log *log = GetLog(LLDBLog::Object);
-  if (log != nullptr)
-    LLDB_LOGF(log, "%p Listener::Listener('%s')", static_cast<void *>(this),
-              m_name.c_str());
+  LLDB_LOGF(log, "%p Listener::Listener('%s')", static_cast<void *>(this),
+            m_name.c_str());
----------------
labath wrote:

Done. I though about it myself, but I had to stop with the drive-by changes somewhere.

https://github.com/llvm/llvm-project/pull/97555


More information about the lldb-commits mailing list