summaryrefslogtreecommitdiff
path: root/indra/llcommon/llcallstack.h
diff options
context:
space:
mode:
authorAndreyL ProductEngine <alihatskiy@productengine.com>2018-11-14 23:03:31 +0200
committerAndreyL ProductEngine <alihatskiy@productengine.com>2018-11-14 23:03:31 +0200
commit8cac4f7b135a126c096b4eb96e618aeccad1b030 (patch)
tree636957925b67cad4bb3c7e7f7af382492b3e0452 /indra/llcommon/llcallstack.h
parent31be136d4056e02cbf5c377f3544235debb7376b (diff)
parent9839a68c5a0ceba42cbe2745b4c7ef279e32813f (diff)
Merged in lindenlab/viewer-lynx
Diffstat (limited to 'indra/llcommon/llcallstack.h')
-rw-r--r--indra/llcommon/llcallstack.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/llcommon/llcallstack.h b/indra/llcommon/llcallstack.h
index 1f7a7689d7..5acf04a49f 100644
--- a/indra/llcommon/llcallstack.h
+++ b/indra/llcommon/llcallstack.h
@@ -78,3 +78,10 @@ struct LLContextStatus
};
LL_COMMON_API std::ostream& operator<<(std::ostream& s, const LLContextStatus& context_status);
+
+#define dumpStack(tag) \
+ if (debugLoggingEnabled(tag)) \
+ { \
+ LLCallStack cs; \
+ LL_DEBUGS(tag) << "STACK:\n" << "====================\n" << cs << "====================" << LL_ENDL; \
+ }