0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-11-01 19:38:56 +00:00
Files
termux-packages/x11-packages/chromium-host-tools/cr-patches/1010-chromium-debug-build-stack_trace.patch
2025-09-06 12:26:49 +08:00

19 lines
452 B
Diff

--- a/base/debug/stack_trace_posix.cc
+++ b/base/debug/stack_trace_posix.cc
@@ -1068,12 +1068,14 @@
#endif
}
-#if defined(HAVE_BACKTRACE)
+#if !defined(__UCLIBC__) && !defined(_AIX)
void StackTrace::OutputToStreamWithPrefixImpl(
std::ostream* os,
cstring_view prefix_string) const {
+#if defined(HAVE_BACKTRACE)
StreamBacktraceOutputHandler handler(os);
ProcessBacktrace(addresses(), prefix_string, &handler);
+#endif
}
#endif