summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Language/ObjC/NSSet.cpp
diff options
context:
space:
mode:
authorAlex Langford <apl@fb.com>2019-06-10 20:53:23 +0000
committerAlex Langford <apl@fb.com>2019-06-10 20:53:23 +0000
commite823bbe8d1d47f60e23a45d1ea98324e57296c36 (patch)
treeb906da132d6ceb90298290924d639a3c873035b2 /lldb/source/Plugins/Language/ObjC/NSSet.cpp
parent4bf1c239908e900b4e37584c450f2f7207304a74 (diff)
downloadbcm5719-llvm-e823bbe8d1d47f60e23a45d1ea98324e57296c36.tar.gz
bcm5719-llvm-e823bbe8d1d47f60e23a45d1ea98324e57296c36.zip
[Target] Remove Process::GetObjCLanguageRuntime
Summary: In an effort to make Process more language agnostic, I removed GetCPPLanguageRuntime from Process. I'm following up now with an equivalent change for ObjC. Differential Revision: https://reviews.llvm.org/D63052 llvm-svn: 362981
Diffstat (limited to 'lldb/source/Plugins/Language/ObjC/NSSet.cpp')
-rw-r--r--lldb/source/Plugins/Language/ObjC/NSSet.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Plugins/Language/ObjC/NSSet.cpp b/lldb/source/Plugins/Language/ObjC/NSSet.cpp
index cb6f59acb6c..f201526deef 100644
--- a/lldb/source/Plugins/Language/ObjC/NSSet.cpp
+++ b/lldb/source/Plugins/Language/ObjC/NSSet.cpp
@@ -225,7 +225,7 @@ bool lldb_private::formatters::NSSetSummaryProvider(
if (!process_sp)
return false;
- ObjCLanguageRuntime *runtime = process_sp->GetObjCLanguageRuntime();
+ ObjCLanguageRuntime *runtime = ObjCLanguageRuntime::Get(*process_sp);
if (!runtime)
return false;
@@ -302,7 +302,7 @@ lldb_private::formatters::NSSetSyntheticFrontEndCreator(
lldb::ProcessSP process_sp(valobj_sp->GetProcessSP());
if (!process_sp)
return nullptr;
- ObjCLanguageRuntime *runtime = process_sp->GetObjCLanguageRuntime();
+ ObjCLanguageRuntime *runtime = ObjCLanguageRuntime::Get(*process_sp);
if (!runtime)
return nullptr;
OpenPOWER on IntegriCloud