musl: base: Fix stack trace printing

This commit is contained in:
klzgrad 2024-10-07 14:46:36 +08:00
parent db01dc480e
commit 4f3e62ea6a

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 {