summaryrefslogtreecommitdiffstats
path: root/lldb/source/Expression/IRForTarget.cpp
diff options
context:
space:
mode:
authorSean Callanan <scallanan@apple.com>2013-04-16 23:49:09 +0000
committerSean Callanan <scallanan@apple.com>2013-04-16 23:49:09 +0000
commit179b54852b574fd651385fa90e01701616598d1d (patch)
tree88fadba469e9e89143b5bb2673e1bff3ddc0744c /lldb/source/Expression/IRForTarget.cpp
parent14b1bae5ee36f3b5590e301c03d0362016015de0 (diff)
downloadbcm5719-llvm-179b54852b574fd651385fa90e01701616598d1d.tar.gz
bcm5719-llvm-179b54852b574fd651385fa90e01701616598d1d.zip
Modified the IRInterpreter to take an IRMemoryMap.
It doesn't use it yet; the next step is to make it use the IRMemoryMap instead of its own conjured-up Memory class. llvm-svn: 179650
Diffstat (limited to 'lldb/source/Expression/IRForTarget.cpp')
-rw-r--r--lldb/source/Expression/IRForTarget.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/source/Expression/IRForTarget.cpp b/lldb/source/Expression/IRForTarget.cpp
index fbbdd610ab2..54b5942c7a1 100644
--- a/lldb/source/Expression/IRForTarget.cpp
+++ b/lldb/source/Expression/IRForTarget.cpp
@@ -76,6 +76,7 @@ IRForTarget::IRForTarget (lldb_private::ClangExpressionDeclMap *decl_map,
m_module(NULL),
m_decl_map(decl_map),
m_data_allocator(execution_unit),
+ m_memory_map(execution_unit),
m_CFStringCreateWithBytes(NULL),
m_sel_registerName(NULL),
m_const_result(const_result),
@@ -2806,6 +2807,7 @@ IRForTarget::runOnModule (Module &llvm_module)
if (m_decl_map && m_execution_policy != lldb_private::eExecutionPolicyAlways)
{
IRInterpreter interpreter (*m_decl_map,
+ m_memory_map,
m_error_stream);
interpreter.maybeRunOnFunction(m_const_result, m_result_name, m_result_type, *function, llvm_module, m_interpreter_error);
OpenPOWER on IntegriCloud