diff options
Diffstat (limited to 'lldb/source/Target/Thread.cpp')
-rw-r--r-- | lldb/source/Target/Thread.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lldb/source/Target/Thread.cpp b/lldb/source/Target/Thread.cpp index 1c13b3df631..7423249f36b 100644 --- a/lldb/source/Target/Thread.cpp +++ b/lldb/source/Target/Thread.cpp @@ -1015,28 +1015,28 @@ Thread::DumpThreadPlans (lldb_private::Stream *s) const } -Target * +TargetSP Thread::CalculateTarget () { return m_process.CalculateTarget(); } -Process * +ProcessSP Thread::CalculateProcess () { - return &m_process; + return m_process.shared_from_this(); } -Thread * +ThreadSP Thread::CalculateThread () { - return this; + return shared_from_this(); } -StackFrame * +StackFrameSP Thread::CalculateStackFrame () { - return NULL; + return StackFrameSP(); } void |