summaryrefslogtreecommitdiffstats
path: root/lldb/source/Expression/IRExecutionUnit.cpp
diff options
context:
space:
mode:
authorSean Callanan <scallanan@apple.com>2013-04-15 17:12:47 +0000
committerSean Callanan <scallanan@apple.com>2013-04-15 17:12:47 +0000
commitb024d878220326f50e17222452548ccbe20651f6 (patch)
treeb944a1fd541b9ea17c1f27b98bdee991106c79a8 /lldb/source/Expression/IRExecutionUnit.cpp
parent05976798dc62e2f22c811579b215984421dab30e (diff)
downloadbcm5719-llvm-b024d878220326f50e17222452548ccbe20651f6.tar.gz
bcm5719-llvm-b024d878220326f50e17222452548ccbe20651f6.zip
Audited the existing Materializer code to ensure
that it works in the absence of a process. Codepaths in the Materializer now use the best execution context scope available to them. llvm-svn: 179539
Diffstat (limited to 'lldb/source/Expression/IRExecutionUnit.cpp')
-rw-r--r--lldb/source/Expression/IRExecutionUnit.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Expression/IRExecutionUnit.cpp b/lldb/source/Expression/IRExecutionUnit.cpp
index 0b61a9a2542..0f7be347a1e 100644
--- a/lldb/source/Expression/IRExecutionUnit.cpp
+++ b/lldb/source/Expression/IRExecutionUnit.cpp
@@ -27,9 +27,9 @@ using namespace lldb_private;
IRExecutionUnit::IRExecutionUnit (std::auto_ptr<llvm::Module> &module_ap,
ConstString &name,
- lldb::ProcessSP process_sp,
+ const lldb::TargetSP &target_sp,
std::vector<std::string> &cpu_features) :
- IRMemoryMap(process_sp),
+ IRMemoryMap(target_sp),
m_module_ap(module_ap),
m_module(m_module_ap.get()),
m_cpu_features(cpu_features),
OpenPOWER on IntegriCloud