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

Unified Diff: Source/wtf/Assertions.h

Issue 23494018: Add optional parameter to WTFReportBacktrace for stackframe count (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add comment explaining why alloca is being used Created 7 years, 3 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 | Source/wtf/Assertions.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/Assertions.h
diff --git a/Source/wtf/Assertions.h b/Source/wtf/Assertions.h
index abd3c143a6da9a19bf22b718fdcbc4d919d4dd5e..b2ed3e3b4f0312110c022bd5840bef4ee7d8a3da 100644
--- a/Source/wtf/Assertions.h
+++ b/Source/wtf/Assertions.h
@@ -116,7 +116,7 @@ WTF_EXPORT void WTFLogVerbose(const char* file, int line, const char* function,
WTF_EXPORT void WTFLogAlways(const char* format, ...) WTF_ATTRIBUTE_PRINTF(1, 2);
WTF_EXPORT void WTFGetBacktrace(void** stack, int* size);
-WTF_EXPORT void WTFReportBacktrace();
+WTF_EXPORT void WTFReportBacktrace(int framesToShow = 31);
WTF_EXPORT void WTFPrintBacktrace(void** stack, int size);
typedef void (*WTFCrashHookFunction)();
« no previous file with comments | « no previous file | Source/wtf/Assertions.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698