summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTamas Berghammer <tberghammer@google.com>2017-01-07 16:39:02 +0000
committerTamas Berghammer <tberghammer@google.com>2017-01-07 16:39:02 +0000
commit7850602f0a7504bc2abc9a1dcb76e8dc6c5dd5ad (patch)
tree1febc965845b2735cf1f25b4a0d7c84b34231a24
parentbb643ab5bc0450fb54d883bb2fc8c56184da2084 (diff)
downloadbcm5719-llvm-7850602f0a7504bc2abc9a1dcb76e8dc6c5dd5ad.tar.gz
bcm5719-llvm-7850602f0a7504bc2abc9a1dcb76e8dc6c5dd5ad.zip
Remove an incorrect byte size calculation in DWARFASTParserClang
llvm-svn: 291349
-rw-r--r--lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp b/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
index 554b71a36c4..c064d61d71d 100644
--- a/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
+++ b/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
@@ -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;
OpenPOWER on IntegriCloud