1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00

[DWARF] DWARFDebugLineTest: fix a few more signed/unsigned mismatch warnings

llvm-svn: 331982
This commit is contained in:
Roman Lebedev 2018-05-10 14:16:37 +00:00
parent 15bbb802e9
commit b605417ad6

View File

@ -245,7 +245,7 @@ TEST_P(DebugLineParameterisedFixture, GetOrParseLineTableValidTable) {
EXPECT_TRUE(IssueMessage.empty());
const DWARFDebugLine::LineTable *Expected = *ExpectedLineTable;
checkDefaultPrologue(Version, Format, Expected->Prologue, 16);
EXPECT_EQ(Expected->Sequences.size(), 1);
EXPECT_EQ(Expected->Sequences.size(), 1u);
uint64_t SecondOffset =
Expected->Prologue.sizeofTotalLength() + Expected->Prologue.TotalLength;
@ -459,9 +459,9 @@ TEST_F(DebugLineBasicFixture, CallbackUsedForUnterminatedSequence) {
EXPECT_EQ(IssueMessage,
"last sequence in debug line table is not terminated!");
ASSERT_TRUE(ExpectedLineTable.operator bool());
EXPECT_EQ((*ExpectedLineTable)->Rows.size(), 6);
EXPECT_EQ((*ExpectedLineTable)->Rows.size(), 6u);
// The unterminated sequence is not added to the sequence list.
EXPECT_EQ((*ExpectedLineTable)->Sequences.size(), 1);
EXPECT_EQ((*ExpectedLineTable)->Sequences.size(), 1u);
}
TEST_F(DebugLineBasicFixture, ParserParsesCorrectly) {