[llvm] r291864 - Fix buildbots.
Greg Clayton via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 12 16:23:59 PST 2017
Author: gclayton
Date: Thu Jan 12 18:23:59 2017
New Revision: 291864
URL: http://llvm.org/viewvc/llvm-project?rev=291864&view=rev
Log:
Fix buildbots.
Modified:
llvm/trunk/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp
Modified: llvm/trunk/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp?rev=291864&r1=291863&r2=291864&view=diff
==============================================================================
--- llvm/trunk/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp (original)
+++ llvm/trunk/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp Thu Jan 12 18:23:59 2017
@@ -1309,11 +1309,11 @@ TEST(DWARFDebugInfo, TestAttributeIterat
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);
}
More information about the llvm-commits
mailing list