summaryrefslogtreecommitdiffstats
path: root/lldb/source/Expression/IRDynamicChecks.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Expression/IRDynamicChecks.cpp')
-rw-r--r--lldb/source/Expression/IRDynamicChecks.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/lldb/source/Expression/IRDynamicChecks.cpp b/lldb/source/Expression/IRDynamicChecks.cpp
index 22624eaf613..2af5e5ebedd 100644
--- a/lldb/source/Expression/IRDynamicChecks.cpp
+++ b/lldb/source/Expression/IRDynamicChecks.cpp
@@ -56,9 +56,11 @@ DynamicCheckerFunctions::Install(Stream &error_stream,
if (!m_valid_pointer_check->Install(error_stream, exe_ctx))
return false;
- if (exe_ctx.process)
+ Process *process = exe_ctx.GetProcessPtr();
+
+ if (process)
{
- ObjCLanguageRuntime *objc_language_runtime = exe_ctx.process->GetObjCLanguageRuntime();
+ ObjCLanguageRuntime *objc_language_runtime = process->GetObjCLanguageRuntime();
if (objc_language_runtime)
{
OpenPOWER on IntegriCloud