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

@@ -1278,7 +1278,7 @@ SBProcess::GetExtendedBacktraceTypeAtIndex (uint32_t idx)
if (process_sp && process_sp->GetSystemRuntime())
{
SystemRuntime *runtime = process_sp->GetSystemRuntime();
std::vector<ConstString> names = runtime->GetExtendedBacktraceTypes();
const std::vector<ConstString> &names = runtime->GetExtendedBacktraceTypes();
if (idx < names.size())
{
return names[idx].AsCString();