Don't keep appending to the current crash description with each formatted crash description call.

llvm-svn: 118703
This commit is contained in:
Greg Clayton 2010-11-10 19:43:40 +00:00
parent 6ee7d9aade
commit cf7e9a0485
1 changed files with 1 additions and 0 deletions

View File

@ -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();