[wpiutil] StackTrace: Add ability to override default implementation (#3951)

This commit is contained in:
Peter Johnson
2022-01-21 17:22:41 -08:00
committed by GitHub
parent 78d0bcf49d
commit a467392cbd
4 changed files with 34 additions and 2 deletions

View File

@@ -32,7 +32,7 @@ void StackTraceWalker::OnOutput(LPCTSTR szText) {
namespace wpi {
std::string GetStackTrace(int offset) {
std::string GetStackTraceDefault(int offset) {
// TODO: implement offset
std::string output;
StackTraceWalker walker(output);