musl: base: Fix stack trace printing

This commit is contained in:
klzgrad
2024-10-07 14:46:36 +08:00
parent ed03d63416
commit 64c2d0f88f

View File

@@ -1089,6 +1089,10 @@ void StackTrace::OutputToStreamWithPrefixImpl(
StreamBacktraceOutputHandler handler(os);
ProcessBacktrace(addresses(), prefix_string, &handler);
}
#else
void StackTrace::OutputToStreamWithPrefixImpl(
std::ostream*, cstring_view) const {
}
#endif
namespace internal {