diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2011-09-15 03:20:04 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2011-09-15 03:20:04 +0000 |
commit | 21b6f1188f9bef3a39a5281543498d451db040e6 (patch) | |
tree | 0a186e62cd126631bf79ab7d950004f9f475fe8c /llvm/lib/DebugInfo/DWARFDebugLine.cpp | |
parent | 123bfbbb736f318c983443172ed32857c3d52ce2 (diff) | |
download | bcm5719-llvm-21b6f1188f9bef3a39a5281543498d451db040e6.tar.gz bcm5719-llvm-21b6f1188f9bef3a39a5281543498d451db040e6.zip |
DWARF: Silence GCC -Wsign-compare warning.
llvm-svn: 139775
Diffstat (limited to 'llvm/lib/DebugInfo/DWARFDebugLine.cpp')
-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); |