Skip to content

Commit a55dec7

Browse files
committed
[test][DebugInfo] Fix signed/unsigned comparison problem in test
This caused build bot failures: http://lab.llvm.org:8011/builders/ppc64le-lld-multistage-test/builds/8568/
1 parent 0a0e0af commit a55dec7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,7 @@ TEST_F(DebugLineBasicFixture,
670670
ASSERT_EQ((*ExpectedLineTable)->Rows.size(), 3u);
671671
EXPECT_EQ((*ExpectedLineTable)->Sequences.size(), 1u);
672672
// Show that the set address opcode is ignored in this case.
673-
EXPECT_EQ((*ExpectedLineTable)->Rows[0].Address.Address, 0);
673+
EXPECT_EQ((*ExpectedLineTable)->Rows[0].Address.Address, 0u);
674674
}
675675

676676
TEST_F(DebugLineBasicFixture, ErrorForAddressSizeGreaterThanByteSize) {
@@ -731,7 +731,7 @@ TEST_F(DebugLineBasicFixture, ErrorForUnsupportedAddressSizeDefinedInHeader) {
731731
ASSERT_EQ((*ExpectedLineTable)->Rows.size(), 3u);
732732
EXPECT_EQ((*ExpectedLineTable)->Sequences.size(), 1u);
733733
// Show that the set address opcode is ignored in this case.
734-
EXPECT_EQ((*ExpectedLineTable)->Rows[0].Address.Address, 0);
734+
EXPECT_EQ((*ExpectedLineTable)->Rows[0].Address.Address, 0u);
735735
}
736736

737737
TEST_F(DebugLineBasicFixture, CallbackUsedForUnterminatedSequence) {

0 commit comments

Comments
 (0)