musl: base: Fix stack trace printing

This commit is contained in:
klzgrad 2024-10-07 14:46:36 +08:00
parent d5c9fe6a41
commit fe227680cc

View File

@ -1078,6 +1078,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 {