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

Unified Diff: base/debug/stack_trace.h

Issue 228753003: don't use glibc-specific execinfo.h on uclibc builds (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase on master again 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 | « no previous file | base/debug/stack_trace.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/debug/stack_trace.h
diff --git a/base/debug/stack_trace.h b/base/debug/stack_trace.h
index 78f886ae1d9df86956b2d2c7e8796e8b488caf55..e6887e605fa1aea9605e1c969b81438b887d05f6 100644
--- a/base/debug/stack_trace.h
+++ b/base/debug/stack_trace.h
@@ -64,11 +64,13 @@ class BASE_EXPORT StackTrace {
// number of elements in the returned array.
const void* const* Addresses(size_t* count) const;
+#if !defined(__UCLIBC__)
// Prints the stack trace to stderr.
void Print() const;
// Resolves backtrace to symbols and write to stream.
void OutputToStream(std::ostream* os) const;
+#endif
// Resolves backtrace to symbols and returns as string.
std::string ToString() const;
« no previous file with comments | « no previous file | base/debug/stack_trace.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698