From cf7e9a04856fbcf7e7f21e91f29c7a074bdd58df Mon Sep 17 00:00:00 2001 From: Greg Clayton Date: Wed, 10 Nov 2010 19:43:40 +0000 Subject: [PATCH] Don't keep appending to the current crash description with each formatted crash description call. llvm-svn: 118703 --- lldb/source/Host/macosx/Host.mm | 1 + 1 file changed, 1 insertion(+) diff --git a/lldb/source/Host/macosx/Host.mm b/lldb/source/Host/macosx/Host.mm index c4f393dd2980..b816fe18b171 100644 --- a/lldb/source/Host/macosx/Host.mm +++ b/lldb/source/Host/macosx/Host.mm @@ -554,6 +554,7 @@ Host::SetCrashDescriptionWithFormat (const char *format, ...) { 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();