Index: base/debug/stack_trace.h |
diff --git a/base/debug/stack_trace.h b/base/debug/stack_trace.h |
index ba1937fe5e6f1702e2b0a177727d99997b3cf3d8..4c9b73e87d61bca3db0965dda59bc46ca162d857 100644 |
--- a/base/debug/stack_trace.h |
+++ b/base/debug/stack_trace.h |
@@ -45,6 +45,11 @@ namespace debug { |
// done in official builds because it has security implications). |
BASE_EXPORT bool EnableInProcessStackDumping(); |
+// Returns end of the stack, or 0 if we couldn't get it. |
+#if HAVE_TRACE_STACK_FRAME_POINTERS |
+BASE_EXPORT uintptr_t GetStackEnd(); |
+#endif |
+ |
// A stacktrace can be helpful in debugging. For example, you can include a |
// stacktrace member in a object (probably around #ifndef NDEBUG) so that you |
// can later see where the given object was created from. |