diff options
author | Alex Langford <apl@fb.com> | 2019-06-10 20:53:23 +0000 |
---|---|---|
committer | Alex Langford <apl@fb.com> | 2019-06-10 20:53:23 +0000 |
commit | ba5c5c17d4d8b8a9e61d32ed8479bef94061274b (patch) | |
tree | 6a6d10a41ba559c68ef2ca5535c14bc31e44f504 /source/Plugins/Language/ObjC/NSSet.cpp | |
parent | 36e40b8c40758928727b45080447c37032a0fa2c (diff) |
[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
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@362981 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'source/Plugins/Language/ObjC/NSSet.cpp')
-rw-r--r-- | source/Plugins/Language/ObjC/NSSet.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/Plugins/Language/ObjC/NSSet.cpp b/source/Plugins/Language/ObjC/NSSet.cpp index cb6f59acb..f201526de 100644 --- a/source/Plugins/Language/ObjC/NSSet.cpp +++ b/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; |