[Lldb-commits] [lldb] r291349 - Remove an incorrect byte size calculation in DWARFASTParserClang
Tamas Berghammer via lldb-commits
lldb-commits at lists.llvm.org
Sat Jan 7 08:39:02 PST 2017
Author: tberghammer
Date: Sat Jan 7 10:39:02 2017
New Revision: 291349
URL: http://llvm.org/viewvc/llvm-project?rev=291349&view=rev
Log:
Remove an incorrect byte size calculation in DWARFASTParserClang
Modified:
lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
Modified: lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp?rev=291349&r1=291348&r2=291349&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp (original)
+++ lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp Sat Jan 7 10:39:02 2017
@@ -2647,7 +2647,7 @@ bool DWARFASTParserClang::ParseChildMemb
// 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;
More information about the lldb-commits
mailing list