From 486f40b89e81a8d2f12db987a93f88309d17a62b Mon Sep 17 00:00:00 2001 From: Greg Clayton Date: Fri, 13 Jan 2017 00:23:59 +0000 Subject: [PATCH] Fix buildbots. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@291864 91177308-0d34-0410-b5e6-96231b3b80d8 --- unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } -- 2.50.1