summaryrefslogtreecommitdiffstats
path: root/lldb/source/DataFormatters
diff options
context:
space:
mode:
authorEnrico Granata <egranata@apple.com>2015-05-01 22:57:38 +0000
committerEnrico Granata <egranata@apple.com>2015-05-01 22:57:38 +0000
commitb0e8a55d4df80b9e1b8009c32dd9d960a181a15d (patch)
tree14054d293db861815d264da80c6131c576cbd9c9 /lldb/source/DataFormatters
parent25723948c0bc5a3fa3af4b94726e5d89be45a67e (diff)
downloadbcm5719-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.cpp2
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;
OpenPOWER on IntegriCloud