mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 14:44:34 +00:00
add win32 fix.
This commit is contained in:
parent
9515a824fd
commit
4ebbd15894
@ -1459,6 +1459,10 @@ void Profiler::InstallCrashHandler()
|
|||||||
sigaction( SIGABRT, &crashHandler, &m_prevSignal.abrt );
|
sigaction( SIGABRT, &crashHandler, &m_prevSignal.abrt );
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined _WIN32 && !defined TRACY_UWP && !defined TRACY_NO_CRASH_HANDLER
|
||||||
|
m_exceptionHandler = AddVectoredExceptionHandler( 1, CrashFilter );
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef TRACY_NO_CRASH_HANDLER
|
#ifndef TRACY_NO_CRASH_HANDLER
|
||||||
m_crashHandlerInstalled = true;
|
m_crashHandlerInstalled = true;
|
||||||
#endif
|
#endif
|
||||||
@ -1523,7 +1527,6 @@ void Profiler::SpawnWorkerThreads()
|
|||||||
# ifdef TRACY_HAS_CALLSTACK
|
# ifdef TRACY_HAS_CALLSTACK
|
||||||
s_symbolThreadId = GetThreadId( s_symbolThread->Handle() );
|
s_symbolThreadId = GetThreadId( s_symbolThread->Handle() );
|
||||||
# endif
|
# endif
|
||||||
m_exceptionHandler = AddVectoredExceptionHandler( 1, CrashFilter );
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef TRACY_HAS_CALLSTACK
|
#ifdef TRACY_HAS_CALLSTACK
|
||||||
|
Loading…
Reference in New Issue
Block a user