Change SBThread::GetExtendedBacktrace to

SBThread::GetExtendedBacktraceThread to make it more clear what is
being returned.

llvm-svn: 194531
This commit is contained in:
Jason Molenda
2013-11-12 23:33:32 +00:00
parent 6cd1b9aec4
commit 008c45f1a1
7 changed files with 9 additions and 10 deletions

View File

@@ -433,7 +433,6 @@ SBThread::SetThread (const ThreadSP& lldb_object_sp)
m_opaque_sp->SetThreadSP (lldb_object_sp);
}
lldb::tid_t
SBThread::GetThreadID () const
{
@@ -1283,7 +1282,7 @@ SBThread::GetDescription (SBStream &description) const
}
SBThread
SBThread::GetExtendedBacktrace (const char *type)
SBThread::GetExtendedBacktraceThread (const char *type)
{
Log *log(lldb_private::GetLogIfAllCategoriesSet (LIBLLDB_LOG_API));
Mutex::Locker api_locker;
@@ -1305,7 +1304,7 @@ SBThread::GetExtendedBacktrace (const char *type)
SystemRuntime *runtime = process->GetSystemRuntime();
if (runtime)
{
ThreadSP new_thread_sp (runtime->GetExtendedBacktrace (real_thread, type_const));
ThreadSP new_thread_sp (runtime->GetExtendedBacktraceThread (real_thread, type_const));
// Save this in the Process' ExtendedThreadList so a strong pointer retains the
// object.
process->GetExtendedThreadList().AddThread (new_thread_sp);