[Lldb-commits] [lldb] r236362 - Fix an issue where the UTF dumper was ignoring the direction to generate uncapped dumps

Enrico Granata egranata at apple.com
Fri May 1 15:57:38 PDT 2015


Author: enrico
Date: Fri May  1 17:57:38 2015
New Revision: 236362

URL: http://llvm.org/viewvc/llvm-project?rev=236362&view=rev
Log:
Fix an issue where the UTF dumper was ignoring the direction to generate uncapped dumps

Modified:
    lldb/trunk/source/DataFormatters/StringPrinter.cpp

Modified: lldb/trunk/source/DataFormatters/StringPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/DataFormatters/StringPrinter.cpp?rev=236362&r1=236361&r2=236362&view=diff
==============================================================================
--- lldb/trunk/source/DataFormatters/StringPrinter.cpp (original)
+++ lldb/trunk/source/DataFormatters/StringPrinter.cpp Fri May  1 17:57:38 2015
@@ -555,7 +555,7 @@ ReadUTFBufferAndDumpToStream (const Read
         sourceSize = process_sp->GetTarget().GetMaximumSizeOfStringSummary();
         needs_zero_terminator = true;
     }
-    else
+    else if (!options.GetIgnoreMaxLength())
         sourceSize = std::min(sourceSize,process_sp->GetTarget().GetMaximumSizeOfStringSummary());
 
     const int bufferSPSize = sourceSize * type_width;





More information about the lldb-commits mailing list