diff options
author | Enrico Granata <egranata@apple.com> | 2015-05-01 22:57:38 +0000 |
---|---|---|
committer | Enrico Granata <egranata@apple.com> | 2015-05-01 22:57:38 +0000 |
commit | b0e8a55d4df80b9e1b8009c32dd9d960a181a15d (patch) | |
tree | 14054d293db861815d264da80c6131c576cbd9c9 /lldb/source/DataFormatters | |
parent | 25723948c0bc5a3fa3af4b94726e5d89be45a67e (diff) | |
download | bcm5719-llvm-b0e8a55d4df80b9e1b8009c32dd9d960a181a15d.tar.gz bcm5719-llvm-b0e8a55d4df80b9e1b8009c32dd9d960a181a15d.zip |
Fix an issue where the UTF dumper was ignoring the direction to generate uncapped dumps
llvm-svn: 236362
Diffstat (limited to 'lldb/source/DataFormatters')
-rw-r--r-- | lldb/source/DataFormatters/StringPrinter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/DataFormatters/StringPrinter.cpp b/lldb/source/DataFormatters/StringPrinter.cpp index 3af5931ad71..1c23a461f8c 100644 --- a/lldb/source/DataFormatters/StringPrinter.cpp +++ b/lldb/source/DataFormatters/StringPrinter.cpp @@ -555,7 +555,7 @@ ReadUTFBufferAndDumpToStream (const ReadStringAndDumpToStreamOptions& options, 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; |