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/ClangExpressionDeclMap.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/ClangExpressionDeclMap.cpp')
| -rw-r--r-- | lldb/source/Expression/ClangExpressionDeclMap.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/lldb/source/Expression/ClangExpressionDeclMap.cpp b/lldb/source/Expression/ClangExpressionDeclMap.cpp index aa45992fe48..d528d380ae0 100644 --- a/lldb/source/Expression/ClangExpressionDeclMap.cpp +++ b/lldb/source/Expression/ClangExpressionDeclMap.cpp @@ -470,7 +470,7 @@ ClangExpressionDeclMap::GetSymbolAddress SymbolContextList sc_list; - m_parser_vars->m_exe_ctx->target->GetImages().FindSymbolsWithNameAndType(name, lldb::eSymbolTypeAny, sc_list); + m_parser_vars->m_exe_ctx->target->GetImages().FindSymbolsWithNameAndType(name, eSymbolTypeAny, sc_list); if (!sc_list.GetSize()) return false; @@ -598,7 +598,7 @@ ClangExpressionDeclMap::GetObjectPointer return false; } - lldb::RegisterInfo *register_info = location_value->GetRegisterInfo(); + RegisterInfo *register_info = location_value->GetRegisterInfo(); if (!register_info) { @@ -990,7 +990,7 @@ ClangExpressionDeclMap::DoMaterializeOnePersistentVariable var_sp->GetTypeFromUser().GetOpaqueQualType(), var_sp->GetName(), mem, - lldb::eAddressTypeLoad, + eAddressTypeLoad, pvar_byte_size)); } @@ -1000,7 +1000,7 @@ ClangExpressionDeclMap::DoMaterializeOnePersistentVariable return false; } - if (var_sp->m_live_sp->GetValue().GetValueAddressType() != lldb::eAddressTypeLoad) + if (var_sp->m_live_sp->GetValue().GetValueAddressType() != eAddressTypeLoad) { err.SetErrorStringWithFormat("The address of the memory area for %s is in an incorrect format", var_sp->GetName().GetCString()); return false; @@ -1084,7 +1084,7 @@ ClangExpressionDeclMap::DoMaterializeOnePersistentVariable var_sp->GetTypeFromUser().GetOpaqueQualType(), var_sp->GetName(), mem, - lldb::eAddressTypeLoad, + eAddressTypeLoad, pvar_byte_size)); // Clear the flag if the variable will never be deallocated. @@ -1221,7 +1221,7 @@ ClangExpressionDeclMap::DoMaterializeOneVariable lldb::addr_t mem; // The address of a spare memory area aused to hold the variable. - lldb::RegisterInfo *register_info = location_value->GetRegisterInfo(); + RegisterInfo *register_info = location_value->GetRegisterInfo(); if (!register_info) { @@ -1250,7 +1250,7 @@ ClangExpressionDeclMap::DoMaterializeOneVariable return false; } - if (expr_var->m_live_sp->GetValue().GetValueAddressType() != lldb::eAddressTypeLoad) + if (expr_var->m_live_sp->GetValue().GetValueAddressType() != eAddressTypeLoad) { err.SetErrorStringWithFormat("The address of the memory area for %s is in an incorrect format", name.GetCString()); return false; @@ -1348,7 +1348,7 @@ ClangExpressionDeclMap::DoMaterializeOneVariable type.GetOpaqueQualType(), name, mem, - lldb::eAddressTypeLoad, + eAddressTypeLoad, value_byte_size)); // Now write the location of the area into the struct. @@ -1432,7 +1432,7 @@ ClangExpressionDeclMap::DoMaterializeOneRegister bool dematerialize, ExecutionContext &exe_ctx, RegisterContext ®_ctx, - const lldb::RegisterInfo ®_info, + const RegisterInfo ®_info, lldb::addr_t addr, Error &err ) @@ -1762,7 +1762,7 @@ ClangExpressionDeclMap::GetDecls (NameSearchContext &context, const ConstString if (m_parser_vars->m_exe_ctx->GetRegisterContext()) { - const lldb::RegisterInfo *reg_info(m_parser_vars->m_exe_ctx->GetRegisterContext()->GetRegisterInfoByName(reg_name)); + const RegisterInfo *reg_info(m_parser_vars->m_exe_ctx->GetRegisterContext()->GetRegisterInfoByName(reg_name)); if (reg_info) AddOneRegister(context, reg_info); |

