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

Unified Diff: Source/wtf/Assertions.h

Issue 337653002: Oilpan: GC_TRACING: Improve object path dump (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Backtrace Created 6 years, 6 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
Index: Source/wtf/Assertions.h
diff --git a/Source/wtf/Assertions.h b/Source/wtf/Assertions.h
index ca91dd2bcf039897f93153a6b7e186ac617cf999..0d4802ffcb4c4cc4117fcadb194a0927d165a173 100644
--- a/Source/wtf/Assertions.h
+++ b/Source/wtf/Assertions.h
@@ -120,6 +120,23 @@ WTF_EXPORT void WTFInstallReportBacktraceOnCrashHook();
#ifdef __cplusplus
}
+
+namespace WTF {
+
+class WTF_EXPORT FrameToNameScope {
+public:
+ FrameToNameScope(void*);
haraken 2014/06/16 01:15:40 Add explicit.
tkent 2014/06/16 02:34:47 Done.
+ ~FrameToNameScope();
+ const char* nullableName() { return m_name; }
+
+private:
+ const char* m_name;
+ char* m_cxaDemangled;
+};
+
+} // namespace WTF
+
+using WTF::FrameToNameScope;
#endif
/* IMMEDIATE_CRASH() - Like CRASH() below but crashes in the fastest, simplest possible way with no attempt at logging. */

Powered by Google App Engine
This is Rietveld 408576698