Chromium Code Reviews| 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; |