summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2017-01-13 00:23:59 +0000
committerGreg Clayton <gclayton@apple.com>2017-01-13 00:23:59 +0000
commit7150343fbc12648f268cdf352b2aa616a4e771fc (patch)
treecba49b9c14208d15989747764437d84651cbbaf4 /llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp
parentc433de7c8b025b31159692913545cb8bcfa16731 (diff)
downloadbcm5719-llvm-7150343fbc12648f268cdf352b2aa616a4e771fc.tar.gz
bcm5719-llvm-7150343fbc12648f268cdf352b2aa616a4e771fc.zip
Fix buildbots.
llvm-svn: 291864
Diffstat (limited to 'llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp')
-rw-r--r--llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp b/llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp
index 02819fff17e..723d56a4330 100644
--- a/llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp
+++ b/llvm/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);
}
OpenPOWER on IntegriCloud