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

Unified Diff: src/platform.h

Issue 11577019: V8_Fatal now prints C++ stack trace in debug mode. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed comments Created 8 years 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 | « src/isolate.cc ('k') | src/platform-linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/platform.h
diff --git a/src/platform.h b/src/platform.h
index 6f75ca83d5014e82715d1eb76de3a7e09b7449dc..a1036c4fb71d7c4039925b720c1f13711e962912 100644
--- a/src/platform.h
+++ b/src/platform.h
@@ -245,6 +245,9 @@ class OS {
// Debug break.
static void DebugBreak();
+ // Dump C++ current stack trace (only functional on Linux).
+ static void DumpBacktrace();
+
// Walk the stack.
static const int kStackWalkError = -1;
static const int kStackWalkMaxNameLen = 256;
« no previous file with comments | « src/isolate.cc ('k') | src/platform-linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698