forked from OSchip/llvm-project
Don't keep appending to the current crash description with each formatted crash description call.
llvm-svn: 118703
This commit is contained in:
parent
6ee7d9aade
commit
cf7e9a0485
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue