diff options
Diffstat (limited to 'lldb/source/Core/DataExtractor.cpp')
-rw-r--r-- | lldb/source/Core/DataExtractor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Core/DataExtractor.cpp b/lldb/source/Core/DataExtractor.cpp index 4eb4d26ef7d..d869aaef669 100644 --- a/lldb/source/Core/DataExtractor.cpp +++ b/lldb/source/Core/DataExtractor.cpp @@ -1232,9 +1232,9 @@ DataExtractor::GetULEB128 (uint32_t *offset_ptr) const bytecount++; byte = *src++; result |= (byte & 0x7f) << shift; - shift += 7; if ((byte & 0x80) == 0) break; + shift += 7; } *offset_ptr += bytecount; |