Change SBThread::GetExtendedBacktrace to
SBThread::GetExtendedBacktraceThread to make it more clear what is being returned. llvm-svn: 194531
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user