1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

s_symbolTid is only available if crash handler is there.

This commit is contained in:
Bartosz Taudul 2022-10-12 19:56:46 +02:00
parent a235dca7ea
commit 8ca4bc761d
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -3257,7 +3257,7 @@ void Profiler::HandleSymbolQueueItem( const SymbolQueueItem& si )
void Profiler::SymbolWorker()
{
#ifdef __linux__
#ifdef __linux__ && !defined TRACY_NO_CRASH_HANDLER
s_symbolTid = syscall( SYS_gettid );
#endif