diff --git a/src/base/debug/stack_trace_posix.cc b/src/base/debug/stack_trace_posix.cc index 308a11df29..3e93484c20 100644 --- a/src/base/debug/stack_trace_posix.cc +++ b/src/base/debug/stack_trace_posix.cc @@ -1084,6 +1084,10 @@ void StackTrace::OutputToStreamWithPrefixImpl( StreamBacktraceOutputHandler handler(os); ProcessBacktrace(addresses(), prefix_string, &handler); } +#else +void StackTrace::OutputToStreamWithPrefixImpl( + std::ostream*, cstring_view) const { +} #endif namespace internal {