mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 07:15:35 +08:00
refs #540 Performance tweak for getStackTrace on Windows.
This commit is contained in:
@@ -60,7 +60,7 @@ namespace BlackMisc
|
||||
SymFromAddr(process, reinterpret_cast<quintptr>(stack[i]), nullptr, &symbol.info);
|
||||
SymGetLineFromAddr64(process, reinterpret_cast<quintptr>(stack[i]), &displacement, &line);
|
||||
|
||||
result.push_back(QString(symbol.info.Name) + " line " + QString::number(line.LineNumber));
|
||||
result.push_back(QLatin1String(symbol.info.Name) % " line " % QString::number(line.LineNumber));
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user