[Lldb-commits] [lldb] r133629 - /lldb/trunk/source/Target/ThreadPlanTracer.cpp

Jim Ingham jingham at apple.com
Wed Jun 22 11:23:52 PDT 2011


Author: jingham
Date: Wed Jun 22 13:23:52 2011
New Revision: 133629

URL: http://llvm.org/viewvc/llvm-project?rev=133629&view=rev
Log:
Reverting switch to the AsyncOutputStream for the Thread Trace Logger.  This change caused the logger to crash.  Presumably we're printing at a time the debugger isn't ready to print.

Modified:
    lldb/trunk/source/Target/ThreadPlanTracer.cpp

Modified: lldb/trunk/source/Target/ThreadPlanTracer.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Target/ThreadPlanTracer.cpp?rev=133629&r1=133628&r2=133629&view=diff
==============================================================================
--- lldb/trunk/source/Target/ThreadPlanTracer.cpp (original)
+++ lldb/trunk/source/Target/ThreadPlanTracer.cpp Wed Jun 22 13:23:52 2011
@@ -55,7 +55,7 @@
     if (m_stream_sp.get())
         return m_stream_sp.get();
     else
-        return m_thread.GetProcess().GetTarget().GetDebugger().GetAsyncOutputStream().get();
+        return &m_thread.GetProcess().GetTarget().GetDebugger().GetOutputStream();
 }
 
 void 





More information about the lldb-commits mailing list