musl: base: Fix stack trace printing

This commit is contained in:
klzgrad 2024-10-07 14:46:36 +08:00
parent a3c70df741
commit 601d8431e8

View File

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