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 | 068d9a564b6010787992597f75e2065ceffb53ea (patch) | |
tree | 3c6c59848b0b89616f37417a21c638c7c871bdf3 /lib/DebugInfo | |
parent | 89aedba562243c7b60b24b5ffba55394d9c55a12 (diff) | |
download | external_llvm-068d9a564b6010787992597f75e2065ceffb53ea.zip external_llvm-068d9a564b6010787992597f75e2065ceffb53ea.tar.gz external_llvm-068d9a564b6010787992597f75e2065ceffb53ea.tar.bz2 |
DWARF: Silence GCC -Wsign-compare warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139775 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/DebugInfo')
-rw-r--r-- | lib/DebugInfo/DWARFDebugLine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/DebugInfo/DWARFDebugLine.cpp b/lib/DebugInfo/DWARFDebugLine.cpp index 9db86c3..d2ebc38 100644 --- a/lib/DebugInfo/DWARFDebugLine.cpp +++ b/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); |