summaryrefslogtreecommitdiff
path: root/indra/llcommon
diff options
context:
space:
mode:
authorRye Mutt <rye@alchemyviewer.org>2024-08-22 00:43:50 -0400
committerBrad Linden <brad@lindenlab.com>2024-08-26 16:32:22 -0700
commitef916bd3ae39fb6fd718428aa2a695bbea891940 (patch)
tree77c2d5ffb3f43f5049ced20f9d4d65d4d4b09a85 /indra/llcommon
parente5fd6854aedb620825ffcd079c5bb3aa1c90b134 (diff)
Remove or suppress left over debug messages in hot paths (#2392)
Diffstat (limited to 'indra/llcommon')
-rw-r--r--indra/llcommon/llcallstack.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llcommon/llcallstack.h b/indra/llcommon/llcallstack.h
index ad10a9dbf7..33f2b507b8 100644
--- a/indra/llcommon/llcallstack.h
+++ b/indra/llcommon/llcallstack.h
@@ -79,9 +79,13 @@ struct LLContextStatus
LL_COMMON_API std::ostream& operator<<(std::ostream& s, const LLContextStatus& context_status);
+#ifndef LL_RELEASE_FOR_DOWNLOAD
#define dumpStack(tag) \
LL_DEBUGS(tag) << "STACK:\n" \
<< "====================\n" \
<< LLCallStack() \
<< "====================" \
<< LL_ENDL;
+#else
+#define dumpStack(tag)
+#endif