forked from OSchip/llvm-project
Fixed a missing space when reporting errors and warning through the module
and also print out the full path and architecture. llvm-svn: 147908
This commit is contained in:
parent
e9f97704ea
commit
8b35334e0c
|
@ -620,7 +620,7 @@ Module::ReportError (const char *format, ...)
|
|||
StreamString strm;
|
||||
strm.PutCString("error: ");
|
||||
GetDescription(&strm, lldb::eDescriptionLevelBrief);
|
||||
|
||||
strm.PutChar (' ');
|
||||
va_list args;
|
||||
va_start (args, format);
|
||||
strm.PrintfVarArg(format, args);
|
||||
|
@ -675,7 +675,8 @@ Module::ReportWarning (const char *format, ...)
|
|||
{
|
||||
StreamString strm;
|
||||
strm.PutCString("warning: ");
|
||||
GetDescription(&strm, lldb::eDescriptionLevelBrief);
|
||||
GetDescription(&strm, lldb::eDescriptionLevelFull);
|
||||
strm.PutChar (' ');
|
||||
|
||||
va_list args;
|
||||
va_start (args, format);
|
||||
|
@ -699,7 +700,7 @@ Module::LogMessage (Log *log, const char *format, ...)
|
|||
if (log)
|
||||
{
|
||||
StreamString log_message;
|
||||
GetDescription(&log_message, lldb::eDescriptionLevelBrief);
|
||||
GetDescription(&log_message, lldb::eDescriptionLevelFull);
|
||||
log_message.PutCString (": ");
|
||||
va_list args;
|
||||
va_start (args, format);
|
||||
|
|
Loading…
Reference in New Issue