summaryrefslogtreecommitdiff
path: root/indra/llcommon
diff options
context:
space:
mode:
authorRye Mutt <rye@alchemyviewer.org>2024-08-22 00:43:50 -0400
committerGitHub <noreply@github.com>2024-08-22 07:43:50 +0300
commit8fef55b3b22678729d7dbd07933c0600ec7f4db8 (patch)
tree589449022a83692313ca92becacbd47fa588cc93 /indra/llcommon
parent0e59ed204fdf84c5323837e5c91cfa7da0a9e89b (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