mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-24 01:31:46 +00:00
[wpiutil] StackTrace: Add ability to override default implementation (#3951)
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
|
||||
namespace wpi {
|
||||
|
||||
std::string GetStackTrace(int offset) {
|
||||
std::string GetStackTraceDefault(int offset) {
|
||||
void* stackTrace[128];
|
||||
int stackSize = backtrace(stackTrace, 128);
|
||||
char** mangledSymbols = backtrace_symbols(stackTrace, stackSize);
|
||||
|
||||
Reference in New Issue
Block a user