From: Greg Clayton Date: Fri, 13 Jan 2017 00:23:59 +0000 (+0000) Subject: Fix buildbots. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=486f40b89e81a8d2f12db987a93f88309d17a62b;p=llvm Fix buildbots. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@291864 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp b/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp index 02819fff17e..723d56a4330 100644 --- a/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp +++ b/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp @@ -1309,11 +1309,11 @@ TEST(DWARFDebugInfo, TestAttributeIterators) { ASSERT_NE(E, ++I); EXPECT_EQ(I->Attr, DW_AT_declaration); - EXPECT_EQ(1ull, I->Value.getAsUnsignedConstant()); + EXPECT_EQ(1ull, *I->Value.getAsUnsignedConstant()); ASSERT_NE(E, ++I); EXPECT_EQ(I->Attr, DW_AT_low_pc); - EXPECT_EQ(CULowPC, I->Value.getAsAddress()); + EXPECT_EQ(CULowPC, *I->Value.getAsAddress()); EXPECT_EQ(E, ++I); }