summaryrefslogtreecommitdiffstats
path: root/lldb/source/Target/Target.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Target/Target.cpp')
-rw-r--r--lldb/source/Target/Target.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/lldb/source/Target/Target.cpp b/lldb/source/Target/Target.cpp
index c0aa7a51977..ce4777fea53 100644
--- a/lldb/source/Target/Target.cpp
+++ b/lldb/source/Target/Target.cpp
@@ -1286,28 +1286,28 @@ Target::GetSharedModule
}
-Target *
+TargetSP
Target::CalculateTarget ()
{
- return this;
+ return shared_from_this();
}
-Process *
+ProcessSP
Target::CalculateProcess ()
{
- return NULL;
+ return ProcessSP();
}
-Thread *
+ThreadSP
Target::CalculateThread ()
{
- return NULL;
+ return ThreadSP();
}
-StackFrame *
+StackFrameSP
Target::CalculateStackFrame ()
{
- return NULL;
+ return StackFrameSP();
}
void
OpenPOWER on IntegriCloud