mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-25 04:39:44 +00:00
DWARF: Silence GCC -Wsign-compare warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139775 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
89aedba562
commit
068d9a564b
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user