From 96d2730a7b490d909450c20e5ae13964cf7a42ed Mon Sep 17 00:00:00 2001 From: Sean Callanan Date: Thu, 11 Apr 2013 00:09:05 +0000 Subject: Added a Materializer class that contains information about each variable that needs to be materialized for an expression to work. The next step is to migrate all materialization code from ClangExpressionDeclMap to Materializer, and to use it for variable materialization. llvm-svn: 179245 --- lldb/source/Expression/ClangUtilityFunction.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lldb/source/Expression/ClangUtilityFunction.cpp') diff --git a/lldb/source/Expression/ClangUtilityFunction.cpp b/lldb/source/Expression/ClangUtilityFunction.cpp index 61b0702dfd3..3fcc2490725 100644 --- a/lldb/source/Expression/ClangUtilityFunction.cpp +++ b/lldb/source/Expression/ClangUtilityFunction.cpp @@ -102,7 +102,7 @@ ClangUtilityFunction::Install (Stream &error_stream, m_expr_decl_map.reset(new ClangExpressionDeclMap(keep_result_in_memory, exe_ctx)); - if (!m_expr_decl_map->WillParse(exe_ctx)) + if (!m_expr_decl_map->WillParse(exe_ctx, NULL)) { error_stream.PutCString ("error: current process state is unsuitable for expression parsing\n"); return false; -- cgit v1.2.3