aboutsummaryrefslogtreecommitdiff
path: root/devel/electron35/files/patch-base_debug_stack__trace.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron35/files/patch-base_debug_stack__trace.cc')
-rw-r--r--devel/electron35/files/patch-base_debug_stack__trace.cc39
1 files changed, 0 insertions, 39 deletions
diff --git a/devel/electron35/files/patch-base_debug_stack__trace.cc b/devel/electron35/files/patch-base_debug_stack__trace.cc
deleted file mode 100644
index bccc974079d9..000000000000
--- a/devel/electron35/files/patch-base_debug_stack__trace.cc
+++ /dev/null
@@ -1,39 +0,0 @@
---- base/debug/stack_trace.cc.orig 2025-03-24 20:50:14 UTC
-+++ base/debug/stack_trace.cc
-@@ -267,7 +267,7 @@ bool StackTrace::WillSymbolizeToStreamForTesting() {
- // Symbols are not expected to be reliable when gn args specifies
- // symbol_level=0.
- return false;
--#elif defined(__UCLIBC__) || defined(_AIX)
-+#elif defined(__UCLIBC__) || defined(_AIX) || BUILDFLAG(IS_BSD)
- // StackTrace::OutputToStream() is not implemented under uclibc, nor AIX.
- // See https://crbug.com/706728
- return false;
-@@ -320,7 +320,9 @@ void StackTrace::OutputToStreamWithPrefix(std::ostream
- }
- return;
- }
-+#if !BUILDFLAG(IS_BSD)
- OutputToStreamWithPrefixImpl(os, prefix_string);
-+#endif
- }
-
- std::string StackTrace::ToString() const {
-@@ -329,7 +331,7 @@ std::string StackTrace::ToStringWithPrefix(cstring_vie
-
- std::string StackTrace::ToStringWithPrefix(cstring_view prefix_string) const {
- std::stringstream stream;
--#if !defined(__UCLIBC__) && !defined(_AIX)
-+#if !defined(__UCLIBC__) && !defined(_AIX) && !BUILDFLAG(IS_BSD)
- OutputToStreamWithPrefix(&stream, prefix_string);
- #endif
- return stream.str();
-@@ -353,7 +355,7 @@ std::ostream& operator<<(std::ostream& os, const Stack
- }
-
- std::ostream& operator<<(std::ostream& os, const StackTrace& s) {
--#if !defined(__UCLIBC__) && !defined(_AIX)
-+#if !defined(__UCLIBC__) && !defined(_AIX) && !BUILDFLAG(IS_BSD)
- s.OutputToStream(&os);
- #else
- os << "StackTrace::OutputToStream not implemented.";