[Lldb-commits] [lldb] r147908 - /lldb/trunk/source/Core/Module.cpp

Greg Clayton gclayton at apple.com
Tue Jan 10 17:59:18 PST 2012


Author: gclayton
Date: Tue Jan 10 19:59:18 2012
New Revision: 147908

URL: http://llvm.org/viewvc/llvm-project?rev=147908&view=rev
Log:
Fixed a missing space when reporting errors and warning through the module
and also print out the full path and architecture.


Modified:
    lldb/trunk/source/Core/Module.cpp

Modified: lldb/trunk/source/Core/Module.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Core/Module.cpp?rev=147908&r1=147907&r2=147908&view=diff
==============================================================================
--- lldb/trunk/source/Core/Module.cpp (original)
+++ lldb/trunk/source/Core/Module.cpp Tue Jan 10 19:59:18 2012
@@ -620,7 +620,7 @@
         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 @@
     {
         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 @@
     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);





More information about the lldb-commits mailing list