forked from OSchip/llvm-project
Fix an issue where the UTF dumper was ignoring the direction to generate uncapped dumps
llvm-svn: 236362
This commit is contained in:
parent
25723948c0
commit
b0e8a55d4d
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue