diff options
author | Greg Clayton <gclayton@apple.com> | 2010-09-14 23:36:40 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2010-09-14 23:36:40 +0000 |
commit | f5e56de0809eec71d97f4cc5905f8bd0a4415a50 (patch) | |
tree | 5c006894db84ba365b2371957a092dd51dd0ee9f /lldb/source/Expression/ClangExpressionDeclMap.cpp | |
parent | 5f2311dc29c5182b3b5dc07fc5d01ac25eeec877 (diff) | |
download | bcm5719-llvm-f5e56de0809eec71d97f4cc5905f8bd0a4415a50.tar.gz bcm5719-llvm-f5e56de0809eec71d97f4cc5905f8bd0a4415a50.zip |
Moved the section load list up into the target so we can use the target
to symbolicate things without the need for a valid process subclass.
llvm-svn: 113895
Diffstat (limited to 'lldb/source/Expression/ClangExpressionDeclMap.cpp')
-rw-r--r-- | lldb/source/Expression/ClangExpressionDeclMap.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lldb/source/Expression/ClangExpressionDeclMap.cpp b/lldb/source/Expression/ClangExpressionDeclMap.cpp index 3846a7f7392..f685dd66da4 100644 --- a/lldb/source/Expression/ClangExpressionDeclMap.cpp +++ b/lldb/source/Expression/ClangExpressionDeclMap.cpp @@ -279,7 +279,7 @@ ClangExpressionDeclMap::GetFunctionAddress (const char *name, else return false; - ptr = fun_address->GetLoadAddress(m_exe_ctx->process); + ptr = fun_address->GetLoadAddress(m_exe_ctx->target); return true; } @@ -886,7 +886,7 @@ ClangExpressionDeclMap::GetVariableValue(ExecutionContext &exe_ctx, { SymbolContext var_sc; var->CalculateSymbolContext (&var_sc); - loclist_base_load_addr = var_sc.function->GetAddressRange().GetBaseAddress().GetLoadAddress (exe_ctx.process); + loclist_base_load_addr = var_sc.function->GetAddressRange().GetBaseAddress().GetLoadAddress (exe_ctx.target); } Error err; @@ -929,7 +929,7 @@ ClangExpressionDeclMap::GetVariableValue(ExecutionContext &exe_ctx, Address so_addr(var_location->GetScalar().ULongLong(), object_file->GetSectionList()); - lldb::addr_t load_addr = so_addr.GetLoadAddress(m_exe_ctx->process); + lldb::addr_t load_addr = so_addr.GetLoadAddress(m_exe_ctx->target); var_location->GetScalar() = load_addr; var_location->SetValueType(Value::eValueTypeLoadAddress); @@ -1062,7 +1062,7 @@ ClangExpressionDeclMap::AddOneFunction(NameSearchContext &context, return; } - lldb::addr_t load_addr = fun_address->GetLoadAddress(m_exe_ctx->process); + lldb::addr_t load_addr = fun_address->GetLoadAddress(m_exe_ctx->target); fun_location->SetValueType(Value::eValueTypeLoadAddress); fun_location->GetScalar() = load_addr; |