diff options
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/lib/DebugInfo/DWARFDebugLine.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/DebugInfo/DWARFDebugLine.cpp b/llvm/lib/DebugInfo/DWARFDebugLine.cpp index 9db86c33fb5..d2ebc384d90 100644 --- a/llvm/lib/DebugInfo/DWARFDebugLine.cpp +++ b/llvm/lib/DebugInfo/DWARFDebugLine.cpp @@ -394,7 +394,7 @@ DWARFDebugLine::parseStatementTable(DataExtractor debug_line_data,          // of such opcodes because they are specified in the prologue          // as a multiple of LEB128 operands for each opcode.          { -          assert(opcode - 1 < prologue->StandardOpcodeLengths.size()); +          assert(opcode - 1U < prologue->StandardOpcodeLengths.size());            uint8_t opcode_length = prologue->StandardOpcodeLengths[opcode - 1];            for (uint8_t i=0; i<opcode_length; ++i)              debug_line_data.getULEB128(offset_ptr);  | 

