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

Unified Diff: base/debug/stack_trace.cc

Issue 226623008: don't use glibc-specific execinfo.h on uclibc builds (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ifdef out Print and OutputToStream in uClibc builds Created 6 years, 8 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 | « base/debug/stack_trace.h ('k') | base/debug/stack_trace_posix.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/debug/stack_trace.cc
diff --git a/base/debug/stack_trace.cc b/base/debug/stack_trace.cc
index 6fab183503462802baf98f9d6b60260ff8960d6b..ce9e9ad550090b70cf525f3d040d8482e11fb36e 100644
--- a/base/debug/stack_trace.cc
+++ b/base/debug/stack_trace.cc
@@ -33,7 +33,9 @@ const void *const *StackTrace::Addresses(size_t* count) const {
std::string StackTrace::ToString() const {
std::stringstream stream;
+#if !defined(__UCLIBC__)
OutputToStream(&stream);
+#endif
return stream.str();
}
« no previous file with comments | « base/debug/stack_trace.h ('k') | base/debug/stack_trace_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698