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

Unified Diff: Source/wtf/InstanceCounter.h

Issue 1307743008: Warn about extractTypeNameFromFunctionName usage (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/InstanceCounter.h
diff --git a/Source/wtf/InstanceCounter.h b/Source/wtf/InstanceCounter.h
index 7b359ab374c6c6813d83cc341c62c06bcf33c3a4..a0b4d10be46754ada8c9fe31c03b1ef168377c15 100644
--- a/Source/wtf/InstanceCounter.h
+++ b/Source/wtf/InstanceCounter.h
@@ -34,6 +34,9 @@ namespace WTF {
class String;
WTF_EXPORT String dumpRefCountedInstanceCounts();
+// Warning: Using extractTypeNameFromFunctionName bloats binary size.
tkent 2015/09/01 01:36:15 Can we warp the function with ENABLE(ASSERT) || EN
+// This function should be only used for debug and profiling purposes,
+// and should be never enabled on release builds.
WTF_EXPORT String extractTypeNameFromFunctionName(const char* funcName);
template<typename T>
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698