summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-base_debug_stack__trace.cc
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-base_debug_stack__trace.cc')
-rw-r--r--www/chromium/files/patch-base_debug_stack__trace.cc18
1 files changed, 9 insertions, 9 deletions
diff --git a/www/chromium/files/patch-base_debug_stack__trace.cc b/www/chromium/files/patch-base_debug_stack__trace.cc
index 729c3ad3e29a..2baef4126059 100644
--- a/www/chromium/files/patch-base_debug_stack__trace.cc
+++ b/www/chromium/files/patch-base_debug_stack__trace.cc
@@ -1,6 +1,6 @@
---- base/debug/stack_trace.cc.orig 2024-04-19 13:02:56 UTC
+--- base/debug/stack_trace.cc.orig 2024-06-17 12:56:06 UTC
+++ base/debug/stack_trace.cc
-@@ -247,7 +247,7 @@ bool StackTrace::WillSymbolizeToStreamForTesting() {
+@@ -254,7 +254,7 @@ bool StackTrace::WillSymbolizeToStreamForTesting() {
// Symbols are not expected to be reliable when gn args specifies
// symbol_level=0.
return false;
@@ -9,16 +9,16 @@
// StackTrace::OutputToStream() is not implemented under uclibc, nor AIX.
// See https://crbug.com/706728
return false;
-@@ -291,7 +291,7 @@ std::string StackTrace::ToString() const {
- }
- std::string StackTrace::ToStringWithPrefix(const char* prefix_string) const {
+@@ -316,7 +316,7 @@ std::string StackTrace::ToString() const {
+
+ 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)
- if (ShouldSuppressOutput()) {
- return "Backtrace suppressed.";
- }
-@@ -301,7 +301,7 @@ std::string StackTrace::ToStringWithPrefix(const char*
+ OutputToStreamWithPrefix(&stream, prefix_string);
+ #endif
+ return stream.str();
+@@ -340,7 +340,7 @@ bool StackTrace::ShouldSuppressOutput() {
}
std::ostream& operator<<(std::ostream& os, const StackTrace& s) {