diff options
author | James Henderson <james.henderson@sony.com> | 2020-02-14 13:39:41 +0000 |
---|---|---|
committer | James Henderson <james.henderson@sony.com> | 2020-02-14 13:40:44 +0000 |
commit | a55dec7d64ef128a03deae7dd9bc1ed97cd123b4 (patch) | |
tree | 0c059db07e7e7185175f92c1ac6d2d39c08d327a /llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp | |
parent | 0a0e0afaa0249a07b5d1609c433e991c8d982a73 (diff) | |
download | llvm-a55dec7d64ef128a03deae7dd9bc1ed97cd123b4.zip llvm-a55dec7d64ef128a03deae7dd9bc1ed97cd123b4.tar.gz llvm-a55dec7d64ef128a03deae7dd9bc1ed97cd123b4.tar.bz2 |
[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/
Diffstat (limited to 'llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp')
-rw-r--r-- | llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp b/llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp index 0552b5a..a622c84 100644 --- a/llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp +++ b/llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp @@ -670,7 +670,7 @@ TEST_F(DebugLineBasicFixture, ASSERT_EQ((*ExpectedLineTable)->Rows.size(), 3u); EXPECT_EQ((*ExpectedLineTable)->Sequences.size(), 1u); // Show that the set address opcode is ignored in this case. - EXPECT_EQ((*ExpectedLineTable)->Rows[0].Address.Address, 0); + EXPECT_EQ((*ExpectedLineTable)->Rows[0].Address.Address, 0u); } TEST_F(DebugLineBasicFixture, ErrorForAddressSizeGreaterThanByteSize) { @@ -731,7 +731,7 @@ TEST_F(DebugLineBasicFixture, ErrorForUnsupportedAddressSizeDefinedInHeader) { ASSERT_EQ((*ExpectedLineTable)->Rows.size(), 3u); EXPECT_EQ((*ExpectedLineTable)->Sequences.size(), 1u); // Show that the set address opcode is ignored in this case. - EXPECT_EQ((*ExpectedLineTable)->Rows[0].Address.Address, 0); + EXPECT_EQ((*ExpectedLineTable)->Rows[0].Address.Address, 0u); } TEST_F(DebugLineBasicFixture, CallbackUsedForUnterminatedSequence) { |