Remove an incorrect byte size calculation in DWARFASTParserClang

llvm-svn: 291349
This commit is contained in:
Tamas Berghammer 2017-01-07 16:39:02 +00:00
parent bb643ab5bc
commit 7850602f0a
1 changed files with 1 additions and 1 deletions

View File

@ -2647,7 +2647,7 @@ bool DWARFASTParserClang::ParseChildMembers(
// Get the parent byte size so we can verify any members will fit
const uint64_t parent_byte_size =
parent_die.GetAttributeValueAsUnsigned(DW_AT_byte_size, UINT64_MAX) * 8;
parent_die.GetAttributeValueAsUnsigned(DW_AT_byte_size, UINT64_MAX);
const uint64_t parent_bit_size =
parent_byte_size == UINT64_MAX ? UINT64_MAX : parent_byte_size * 8;