Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(275)

Unified Diff: src/base/debug/stack_trace.cc

Issue 2333023002: Fix backtrace for solaris and musl C based linux environments as well (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/base/debug/stack_trace_posix.cc » ('j') | src/base/debug/stack_trace_posix.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/base/debug/stack_trace.cc
diff --git a/src/base/debug/stack_trace.cc b/src/base/debug/stack_trace.cc
index 0a7a3f9ab99f9fa5e6fb26313920e74a386cba44..dedf285bf31c2676818f5f5414bb071d79dacc0e 100644
--- a/src/base/debug/stack_trace.cc
+++ b/src/base/debug/stack_trace.cc
@@ -31,7 +31,10 @@ const void* const* StackTrace::Addresses(size_t* count) const {
std::string StackTrace::ToString() const {
std::stringstream stream;
+#if V8_LIBC_GLIBC || V8_LIBC_UCLIBC || V8_LIBC_MSVCRT || V8_LIBC_BSD || \
+ V8_OS_SOLARIS
OutputToStream(&stream);
+#endif
return stream.str();
}
« no previous file with comments | « no previous file | src/base/debug/stack_trace_posix.cc » ('j') | src/base/debug/stack_trace_posix.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698