summaryrefslogtreecommitdiffstats
path: root/lldb/source/Expression/ClangUtilityFunction.cpp
diff options
context:
space:
mode:
authorSean Callanan <scallanan@apple.com>2011-10-29 01:58:46 +0000
committerSean Callanan <scallanan@apple.com>2011-10-29 01:58:46 +0000
commit1ee44b741de506da92adaf82ef6f2c039f930978 (patch)
tree6032bba89c11c5ef007395c3b4ed00b2c312993d /lldb/source/Expression/ClangUtilityFunction.cpp
parent61200b31db2f6ce6fb295bd891a13b7e2cac3e7f (diff)
downloadbcm5719-llvm-1ee44b741de506da92adaf82ef6f2c039f930978.tar.gz
bcm5719-llvm-1ee44b741de506da92adaf82ef6f2c039f930978.zip
I moved the responsibility for interacting with the
AST importer on completing namespace mappings from ClangExpressionDeclMap to ClangASTSource. ClangASTSource now contains a TargetSP which it uses to lookup namespaces in all of a target's modules. I will use the TargetSP in the future to look up globals. llvm-svn: 143275
Diffstat (limited to 'lldb/source/Expression/ClangUtilityFunction.cpp')
-rw-r--r--lldb/source/Expression/ClangUtilityFunction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Expression/ClangUtilityFunction.cpp b/lldb/source/Expression/ClangUtilityFunction.cpp
index 6f31d4ce26f..7220be8ae6b 100644
--- a/lldb/source/Expression/ClangUtilityFunction.cpp
+++ b/lldb/source/Expression/ClangUtilityFunction.cpp
@@ -99,7 +99,7 @@ ClangUtilityFunction::Install (Stream &error_stream,
bool keep_result_in_memory = false;
- m_expr_decl_map.reset(new ClangExpressionDeclMap(keep_result_in_memory));
+ m_expr_decl_map.reset(new ClangExpressionDeclMap(keep_result_in_memory, exe_ctx));
m_data_allocator.reset(new ProcessDataAllocator(*process));
OpenPOWER on IntegriCloud