Move crashhandler implementation to tier0

This commit is contained in:
Kawe Mazidjatari 2023-01-31 22:13:40 +01:00
parent 281addc68e
commit 34f69a5b1e
11 changed files with 28 additions and 28 deletions

View File

@ -2,6 +2,7 @@
#include "core/r5dev.h"
#include "core/init.h"
#include "core/logdef.h"
#include "tier0/crashhandler.h"
/*****************************************************************************/
#ifndef DEDICATED
#include "windows/id3dx.h"
@ -11,7 +12,6 @@
#include "windows/system.h"
#include "mathlib/mathlib.h"
#include "launcher/launcher.h"
#include "public/utility/crashhandler.h"
//#############################################################################
// INITIALIZATION

View File

@ -5,9 +5,9 @@
// $NoKeywords: $
//===========================================================================//
#include "core/stdafx.h"
#include "tier0/crashhandler.h"
#include "tier0/commandline.h"
#include "tier1/strtools.h"
#include "public/utility/crashhandler.h"
#include "launcher/launcher.h"
int HWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd)

View File

@ -4,8 +4,8 @@
//
//===========================================================================//
#include "core/stdafx.h"
#include "tier0/crashhandler.h"
#include "tier1/cvar.h"
#include "public/utility/crashhandler.h"
#include "vpc/keyvalues.h"
#include "rtech/rtech_utils.h"
#include "engine/cmodel_bsp.h"

View File

@ -6,8 +6,8 @@
#include "core/stdafx.h"
#include "core/logdef.h"
#include "tier0/cpu.h"
#include "tier0/crashhandler.h"
#include "public/utility/binstream.h"
#include "public/utility/crashhandler.h"
//-----------------------------------------------------------------------------
// Purpose:

View File

@ -110,7 +110,6 @@
<ClCompile Include="..\public\dt_recv.cpp" />
<ClCompile Include="..\public\networkvar.cpp" />
<ClCompile Include="..\public\utility\binstream.cpp" />
<ClCompile Include="..\public\utility\crashhandler.cpp" />
<ClCompile Include="..\public\utility\memaddr.cpp" />
<ClCompile Include="..\public\utility\module.cpp" />
<ClCompile Include="..\public\utility\sigcache.cpp" />
@ -129,6 +128,7 @@
<ClCompile Include="..\tier0\commandline.cpp" />
<ClCompile Include="..\tier0\cpu.cpp" />
<ClCompile Include="..\tier0\cputopology.cpp" />
<ClCompile Include="..\tier0\crashhandler.cpp" />
<ClCompile Include="..\tier0\dbg.cpp" />
<ClCompile Include="..\tier0\fasttimer.cpp" />
<ClCompile Include="..\tier0\frametask.cpp" />
@ -346,7 +346,6 @@
<ClInclude Include="..\core\resource.h" />
<ClInclude Include="..\public\trace.h" />
<ClInclude Include="..\public\utility\binstream.h" />
<ClInclude Include="..\public\utility\crashhandler.h" />
<ClInclude Include="..\public\utility\memaddr.h" />
<ClInclude Include="..\public\utility\module.h" />
<ClInclude Include="..\public\utility\sigcache.h" />
@ -549,6 +548,7 @@
<ClInclude Include="..\tier0\commonmacros.h" />
<ClInclude Include="..\tier0\cpu.h" />
<ClInclude Include="..\tier0\cputopology.h" />
<ClInclude Include="..\tier0\crashhandler.h" />
<ClInclude Include="..\tier0\dbg.h" />
<ClInclude Include="..\tier0\dbgflag.h" />
<ClInclude Include="..\tier0\fasttimer.h" />

View File

@ -651,9 +651,6 @@
<ClCompile Include="..\public\utility\vtable.cpp">
<Filter>sdk\public\utility</Filter>
</ClCompile>
<ClCompile Include="..\public\utility\crashhandler.cpp">
<Filter>sdk\public\utility</Filter>
</ClCompile>
<ClCompile Include="..\game\shared\collisionproperty.cpp">
<Filter>sdk\game\shared</Filter>
</ClCompile>
@ -681,6 +678,9 @@
<ClCompile Include="..\public\appframework\IAppSystemGroup.cpp">
<Filter>sdk\public\appframework</Filter>
</ClCompile>
<ClCompile Include="..\tier0\crashhandler.cpp">
<Filter>sdk\tier0</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\client\cdll_engine_int.h">
@ -1904,9 +1904,6 @@
<ClInclude Include="..\public\utility\vtable.h">
<Filter>sdk\public\utility</Filter>
</ClInclude>
<ClInclude Include="..\public\utility\crashhandler.h">
<Filter>sdk\public\utility</Filter>
</ClInclude>
<ClInclude Include="..\public\eiface.h">
<Filter>sdk\public</Filter>
</ClInclude>
@ -1994,6 +1991,9 @@
<ClInclude Include="..\public\appframework\IAppSystem.h">
<Filter>sdk\public\appframework</Filter>
</ClInclude>
<ClInclude Include="..\tier0\crashhandler.h">
<Filter>sdk\tier0</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<Image Include="..\shared\resource\lockedserver.png">

View File

@ -279,7 +279,6 @@
<ClInclude Include="..\public\studio.h" />
<ClInclude Include="..\public\trace.h" />
<ClInclude Include="..\public\utility\binstream.h" />
<ClInclude Include="..\public\utility\crashhandler.h" />
<ClInclude Include="..\public\utility\memaddr.h" />
<ClInclude Include="..\public\utility\module.h" />
<ClInclude Include="..\public\utility\sigcache.h" />
@ -472,6 +471,7 @@
<ClInclude Include="..\tier0\commonmacros.h" />
<ClInclude Include="..\tier0\cpu.h" />
<ClInclude Include="..\tier0\cputopology.h" />
<ClInclude Include="..\tier0\crashhandler.h" />
<ClInclude Include="..\tier0\dbg.h" />
<ClInclude Include="..\tier0\dbgflag.h" />
<ClInclude Include="..\tier0\fasttimer.h" />
@ -613,7 +613,6 @@
<ClCompile Include="..\public\datamap.cpp" />
<ClCompile Include="..\public\networkvar.cpp" />
<ClCompile Include="..\public\utility\binstream.cpp" />
<ClCompile Include="..\public\utility\crashhandler.cpp" />
<ClCompile Include="..\public\utility\memaddr.cpp" />
<ClCompile Include="..\public\utility\module.cpp" />
<ClCompile Include="..\public\utility\sigcache.cpp" />
@ -632,6 +631,7 @@
<ClCompile Include="..\tier0\commandline.cpp" />
<ClCompile Include="..\tier0\cpu.cpp" />
<ClCompile Include="..\tier0\cputopology.cpp" />
<ClCompile Include="..\tier0\crashhandler.cpp" />
<ClCompile Include="..\tier0\dbg.cpp" />
<ClCompile Include="..\tier0\fasttimer.cpp" />
<ClCompile Include="..\tier0\frametask.cpp" />

View File

@ -1263,9 +1263,6 @@
<ClInclude Include="..\public\utility\vtable.h">
<Filter>sdk\public\utility</Filter>
</ClInclude>
<ClInclude Include="..\public\utility\crashhandler.h">
<Filter>sdk\public\utility</Filter>
</ClInclude>
<ClInclude Include="..\public\eiface.h">
<Filter>sdk\public</Filter>
</ClInclude>
@ -1386,6 +1383,9 @@
<ClInclude Include="..\public\appframework\IAppSystem.h">
<Filter>sdk\public\appframework</Filter>
</ClInclude>
<ClInclude Include="..\tier0\crashhandler.h">
<Filter>sdk\tier0</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\common\opcodes.cpp">
@ -1721,9 +1721,6 @@
<ClCompile Include="..\public\utility\vtable.cpp">
<Filter>sdk\public\utility</Filter>
</ClCompile>
<ClCompile Include="..\public\utility\crashhandler.cpp">
<Filter>sdk\public\utility</Filter>
</ClCompile>
<ClCompile Include="..\game\shared\collisionproperty.cpp">
<Filter>sdk\game\shared</Filter>
</ClCompile>
@ -1772,6 +1769,9 @@
<ClCompile Include="..\public\appframework\IAppSystemGroup.cpp">
<Filter>sdk\public\appframework</Filter>
</ClCompile>
<ClCompile Include="..\tier0\crashhandler.cpp">
<Filter>sdk\tier0</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<None Include="..\Dedicated.def" />

View File

@ -127,7 +127,6 @@
<ClCompile Include="..\public\dt_recv.cpp" />
<ClCompile Include="..\public\networkvar.cpp" />
<ClCompile Include="..\public\utility\binstream.cpp" />
<ClCompile Include="..\public\utility\crashhandler.cpp" />
<ClCompile Include="..\public\utility\memaddr.cpp" />
<ClCompile Include="..\public\utility\module.cpp" />
<ClCompile Include="..\public\utility\sigcache.cpp" />
@ -148,6 +147,7 @@
<ClCompile Include="..\tier0\commandline.cpp" />
<ClCompile Include="..\tier0\cpu.cpp" />
<ClCompile Include="..\tier0\cputopology.cpp" />
<ClCompile Include="..\tier0\crashhandler.cpp" />
<ClCompile Include="..\tier0\dbg.cpp" />
<ClCompile Include="..\tier0\fasttimer.cpp" />
<ClCompile Include="..\tier0\frametask.cpp" />
@ -400,7 +400,6 @@
<ClInclude Include="..\core\resource.h" />
<ClInclude Include="..\public\trace.h" />
<ClInclude Include="..\public\utility\binstream.h" />
<ClInclude Include="..\public\utility\crashhandler.h" />
<ClInclude Include="..\public\utility\memaddr.h" />
<ClInclude Include="..\public\utility\module.h" />
<ClInclude Include="..\public\utility\sigcache.h" />
@ -604,6 +603,7 @@
<ClInclude Include="..\tier0\commonmacros.h" />
<ClInclude Include="..\tier0\cpu.h" />
<ClInclude Include="..\tier0\cputopology.h" />
<ClInclude Include="..\tier0\crashhandler.h" />
<ClInclude Include="..\tier0\dbg.h" />
<ClInclude Include="..\tier0\dbgflag.h" />
<ClInclude Include="..\tier0\fasttimer.h" />

View File

@ -693,9 +693,6 @@
<ClCompile Include="..\public\utility\vtable.cpp">
<Filter>sdk\public\utility</Filter>
</ClCompile>
<ClCompile Include="..\public\utility\crashhandler.cpp">
<Filter>sdk\public\utility</Filter>
</ClCompile>
<ClCompile Include="..\game\server\networkproperty.cpp">
<Filter>sdk\game\server</Filter>
</ClCompile>
@ -747,6 +744,9 @@
<ClCompile Include="..\public\appframework\IAppSystemGroup.cpp">
<Filter>sdk\public\appframework</Filter>
</ClCompile>
<ClCompile Include="..\tier0\crashhandler.cpp">
<Filter>sdk\tier0</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\client\cdll_engine_int.h">
@ -2030,9 +2030,6 @@
<ClInclude Include="..\public\utility\vtable.h">
<Filter>sdk\public\utility</Filter>
</ClInclude>
<ClInclude Include="..\public\utility\crashhandler.h">
<Filter>sdk\public\utility</Filter>
</ClInclude>
<ClInclude Include="..\public\eiface.h">
<Filter>sdk\public</Filter>
</ClInclude>
@ -2165,6 +2162,9 @@
<ClInclude Include="..\public\appframework\IAppSystem.h">
<Filter>sdk\public\appframework</Filter>
</ClInclude>
<ClInclude Include="..\tier0\crashhandler.h">
<Filter>sdk\tier0</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<Image Include="..\shared\resource\lockedserver.png">