DIEHash: Include the trailing zero byte after the children of a DIE

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192836 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
David Blaikie
2013-10-16 20:29:06 +00:00
parent e6b1095e31
commit 75ee00021d
2 changed files with 4 additions and 1 deletions

View File

@@ -23,6 +23,6 @@ TEST(DIEHashData1Test, DIEHash) {
DIEInteger Size(4);
Die.addValue(dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, &Size);
uint64_t MD5Res = Hash.computeTypeSignature(&Die);
ASSERT_EQ(MD5Res, 0x540e9ff30ade3e4aULL);
ASSERT_EQ(MD5Res, 0x4F68EF1039F8D2BULL);
}
}