diff options
| author | Greg Clayton <gclayton@apple.com> | 2011-03-24 21:19:54 +0000 |
|---|---|---|
| committer | Greg Clayton <gclayton@apple.com> | 2011-03-24 21:19:54 +0000 |
| commit | e0d378b3340c67c774b0e27593347d9c521fe86f (patch) | |
| tree | 0e9feb6c8b3e8bd3179da4bc14a571fa97edd45d /lldb/source/Expression/DWARFExpression.cpp | |
| parent | dd9eb21c3fbbd9ffc5dc9a3598c452460b8e3c55 (diff) | |
| download | bcm5719-llvm-e0d378b3340c67c774b0e27593347d9c521fe86f.tar.gz bcm5719-llvm-e0d378b3340c67c774b0e27593347d9c521fe86f.zip | |
Fixed the LLDB build so that we can have private types, private enums and
public types and public enums. This was done to keep the SWIG stuff from
parsing all sorts of enums and types that weren't needed, and allows us to
abstract our API better.
llvm-svn: 128239
Diffstat (limited to 'lldb/source/Expression/DWARFExpression.cpp')
| -rw-r--r-- | lldb/source/Expression/DWARFExpression.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/source/Expression/DWARFExpression.cpp b/lldb/source/Expression/DWARFExpression.cpp index 2b7832e77d3..09d66fdefa8 100644 --- a/lldb/source/Expression/DWARFExpression.cpp +++ b/lldb/source/Expression/DWARFExpression.cpp @@ -588,8 +588,8 @@ DWARFExpression::GetDescription (Stream *s, lldb::DescriptionLevel level, addr_t } else { - if (m_data.GetAddressByteSize() == 4 && begin_addr_offset == 0xFFFFFFFFull || - m_data.GetAddressByteSize() == 8 && begin_addr_offset == 0xFFFFFFFFFFFFFFFFull) + if ((m_data.GetAddressByteSize() == 4 && (begin_addr_offset == UINT32_MAX)) || + (m_data.GetAddressByteSize() == 8 && (begin_addr_offset == UINT64_MAX))) { curr_base_addr = end_addr_offset + location_list_base_addr; // We have a new base address @@ -2388,7 +2388,7 @@ DWARFExpression::Evaluate case Value::eValueTypeLoadAddress: case Value::eValueTypeHostAddress: { - lldb::AddressType address_type = (value_type == Value::eValueTypeLoadAddress ? eAddressTypeLoad : eAddressTypeHost); + AddressType address_type = (value_type == Value::eValueTypeLoadAddress ? eAddressTypeLoad : eAddressTypeHost); lldb::addr_t addr = stack.back().GetScalar().ULongLong(LLDB_INVALID_ADDRESS); if (!ClangASTType::WriteToMemory (ast_context, clang_type, |

