From 8037fa4ee916fa20b3c63cbf531f4ee7e1c76138 Mon Sep 17 00:00:00 2001 From: emaste Date: Fri, 3 Jul 2015 16:57:06 +0000 Subject: Import LLDB as of upstream SVN 241361 (git 612c075f) --- source/Core/DataExtractor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/Core/DataExtractor.cpp') diff --git a/source/Core/DataExtractor.cpp b/source/Core/DataExtractor.cpp index 6e1d630..b4b43ed 100644 --- a/source/Core/DataExtractor.cpp +++ b/source/Core/DataExtractor.cpp @@ -1710,7 +1710,7 @@ DataExtractor::Dump (Stream *s, { size_t complex_int_byte_size = item_byte_size / 2; - if (complex_int_byte_size <= 8) + if (complex_int_byte_size > 0 && complex_int_byte_size <= 8) { s->Printf("%" PRIu64, GetMaxU64Bitfield(&offset, complex_int_byte_size, 0, 0)); s->Printf(" + %" PRIu64 "i", GetMaxU64Bitfield(&offset, complex_int_byte_size, 0, 0)); -- cgit v1.1