[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
diff --git a/lldb/source/API/SBTarget.cpp b/lldb/source/API/SBTarget.cpp
index 56d2581..0a408e7 100644
--- a/lldb/source/API/SBTarget.cpp
+++ b/lldb/source/API/SBTarget.cpp
@@ -1854,7 +1854,7 @@
if (process_sp) {
ObjCLanguageRuntime *objc_language_runtime =
- process_sp->GetObjCLanguageRuntime();
+ ObjCLanguageRuntime::Get(*process_sp);
if (objc_language_runtime) {
DeclVendor *objc_decl_vendor = objc_language_runtime->GetDeclVendor();
@@ -1924,7 +1924,7 @@
if (process_sp) {
ObjCLanguageRuntime *objc_language_runtime =
- process_sp->GetObjCLanguageRuntime();
+ ObjCLanguageRuntime::Get(*process_sp);
if (objc_language_runtime) {
DeclVendor *objc_decl_vendor = objc_language_runtime->GetDeclVendor();