forked from OSchip/llvm-project
Remove an incorrect byte size calculation in DWARFASTParserClang
llvm-svn: 291349
This commit is contained in:
parent
bb643ab5bc
commit
7850602f0a
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue