[Lldb-commits] [lldb] r118703 - /lldb/trunk/source/Host/macosx/Host.mm

Greg Clayton gclayton at apple.com
Wed Nov 10 11:43:41 PST 2010


Author: gclayton
Date: Wed Nov 10 13:43:40 2010
New Revision: 118703

URL: http://llvm.org/viewvc/llvm-project?rev=118703&view=rev
Log:
Don't keep appending to the current crash description with each formatted crash description call.

Modified:
    lldb/trunk/source/Host/macosx/Host.mm

Modified: lldb/trunk/source/Host/macosx/Host.mm
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Host/macosx/Host.mm?rev=118703&r1=118702&r2=118703&view=diff
==============================================================================
--- lldb/trunk/source/Host/macosx/Host.mm (original)
+++ lldb/trunk/source/Host/macosx/Host.mm Wed Nov 10 13:43:40 2010
@@ -554,6 +554,7 @@
     {
         va_list args;
         va_start (args, format);
+        g_crash_description.GetString().clear();
         g_crash_description.PrintfVarArg(format, args);
         va_end (args);
         __crashreporter_info__ = g_crash_description.GetData();





More information about the lldb-commits mailing list