summaryrefslogtreecommitdiffstats
path: root/lldb/source/Expression/DWARFExpression.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2013-03-14 18:31:44 +0000
committerGreg Clayton <gclayton@apple.com>2013-03-14 18:31:44 +0000
commitfaac1118702d8fa7bbd639d23a2c9f79e4db2f0c (patch)
treeac277bdce3db205dab200956a7a23f09fdf9899f /lldb/source/Expression/DWARFExpression.cpp
parent29a0da3551afa5cc9c172c7057d255eae8df0e83 (diff)
downloadbcm5719-llvm-faac1118702d8fa7bbd639d23a2c9f79e4db2f0c.tar.gz
bcm5719-llvm-faac1118702d8fa7bbd639d23a2c9f79e4db2f0c.zip
<rdar://problem/13421412>
Many "byte size" members and variables were using a mixture of uint32_t and size_t. Switching over to using uint64_t everywhere. llvm-svn: 177091
Diffstat (limited to 'lldb/source/Expression/DWARFExpression.cpp')
-rw-r--r--lldb/source/Expression/DWARFExpression.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Expression/DWARFExpression.cpp b/lldb/source/Expression/DWARFExpression.cpp
index a6950d6a5dc..82d40af1562 100644
--- a/lldb/source/Expression/DWARFExpression.cpp
+++ b/lldb/source/Expression/DWARFExpression.cpp
@@ -2794,7 +2794,7 @@ DWARFExpression::Evaluate
addr_t source_addr = (addr_t)tmp.GetScalar().ULongLong();
addr_t target_addr = (addr_t)stack.back().GetScalar().ULongLong();
- size_t byte_size = (ClangASTType::GetClangTypeBitWidth(ast_context, clang_type) + 7) / 8;
+ const uint64_t byte_size = ClangASTType::GetTypeByteSize(ast_context, clang_type);
switch (source_value_type)
{
OpenPOWER on IntegriCloud