From de45af63cc3b57cd4efa086aa38bf44a6474c4b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=AF=D1=81=D1=82=D1=80=D0=B5=D0=B1=D0=BA=D0=BE=D0=B2=20?= =?UTF-8?q?=D0=94=D0=BC=D0=B8=D1=82=D1=80=D0=B8=D0=B9=20=D0=98=D1=80=D0=B8?= =?UTF-8?q?=D0=BA=D0=BE=D0=B2=D0=B8=D1=87?= Date: Mon, 31 Jul 2023 11:40:12 +0700 Subject: [PATCH] Fix compilation for the case of using TRACY_NO_CALLSTACK --- public/client/TracyProfiler.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/public/client/TracyProfiler.cpp b/public/client/TracyProfiler.cpp index 26e64e6c..04692737 100644 --- a/public/client/TracyProfiler.cpp +++ b/public/client/TracyProfiler.cpp @@ -1072,7 +1072,9 @@ static void CrashHandler( int signal, siginfo_t* info, void* /*ucontext*/ ) } closedir( dp ); +#ifdef TRACY_HAS_CALLSTACK if( selfTid == s_symbolTid ) s_symbolThreadGone.store( true, std::memory_order_release ); +#endif TracyLfqPrepare( QueueType::Crash ); TracyLfqCommit;