summaryrefslogtreecommitdiffstats
path: root/lldb/source/API/SBTarget.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/API/SBTarget.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/API/SBTarget.cpp')
-rw-r--r--lldb/source/API/SBTarget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/API/SBTarget.cpp b/lldb/source/API/SBTarget.cpp
index 56d258187ea..0a408e7037b 100644
--- a/lldb/source/API/SBTarget.cpp
+++ b/lldb/source/API/SBTarget.cpp
@@ -1854,7 +1854,7 @@ lldb::SBType SBTarget::FindFirstType(const char *typename_cstr) {
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 @@ lldb::SBTypeList SBTarget::FindTypes(const char *typename_cstr) {
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();
OpenPOWER on IntegriCloud