Merge pull request #11792 from lioncash/trace

Common: Move CodeTrace.cpp/.h into Core
This commit is contained in:
Léo Lam 2023-04-25 01:04:36 +01:00 committed by GitHub
commit e5f7522711
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 8 additions and 8 deletions

View File

@ -31,8 +31,6 @@ add_library(common
Crypto/ec.h Crypto/ec.h
Crypto/SHA1.cpp Crypto/SHA1.cpp
Crypto/SHA1.h Crypto/SHA1.h
Debug/CodeTrace.cpp
Debug/CodeTrace.h
Debug/MemoryPatches.cpp Debug/MemoryPatches.cpp
Debug/MemoryPatches.h Debug/MemoryPatches.h
Debug/Threads.h Debug/Threads.h

View File

@ -59,6 +59,8 @@ add_library(core
Core.h Core.h
CoreTiming.cpp CoreTiming.cpp
CoreTiming.h CoreTiming.h
Debugger/CodeTrace.cpp
Debugger/CodeTrace.h
Debugger/Debugger_SymbolMap.cpp Debugger/Debugger_SymbolMap.cpp
Debugger/Debugger_SymbolMap.h Debugger/Debugger_SymbolMap.h
Debugger/Dump.cpp Debugger/Dump.cpp

View File

@ -1,7 +1,7 @@
// Copyright 2022 Dolphin Emulator Project // Copyright 2022 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later // SPDX-License-Identifier: GPL-2.0-or-later
#include "Common/Debug/CodeTrace.h" #include "Core/Debugger/CodeTrace.h"
#include <algorithm> #include <algorithm>
#include <chrono> #include <chrono>

View File

@ -36,7 +36,6 @@
<ClInclude Include="Common\Crypto\bn.h" /> <ClInclude Include="Common\Crypto\bn.h" />
<ClInclude Include="Common\Crypto\ec.h" /> <ClInclude Include="Common\Crypto\ec.h" />
<ClInclude Include="Common\Crypto\SHA1.h" /> <ClInclude Include="Common\Crypto\SHA1.h" />
<ClInclude Include="Common\Debug\CodeTrace.h" />
<ClInclude Include="Common\Debug\MemoryPatches.h" /> <ClInclude Include="Common\Debug\MemoryPatches.h" />
<ClInclude Include="Common\Debug\Threads.h" /> <ClInclude Include="Common\Debug\Threads.h" />
<ClInclude Include="Common\Debug\Watches.h" /> <ClInclude Include="Common\Debug\Watches.h" />
@ -191,6 +190,7 @@
<ClInclude Include="Core\ConfigManager.h" /> <ClInclude Include="Core\ConfigManager.h" />
<ClInclude Include="Core\Core.h" /> <ClInclude Include="Core\Core.h" />
<ClInclude Include="Core\CoreTiming.h" /> <ClInclude Include="Core\CoreTiming.h" />
<ClInclude Include="Core\Debugger\CodeTrace.h" />
<ClInclude Include="Core\Debugger\Debugger_SymbolMap.h" /> <ClInclude Include="Core\Debugger\Debugger_SymbolMap.h" />
<ClInclude Include="Core\Debugger\Dump.h" /> <ClInclude Include="Core\Debugger\Dump.h" />
<ClInclude Include="Core\Debugger\GCELF.h" /> <ClInclude Include="Core\Debugger\GCELF.h" />
@ -749,7 +749,6 @@
<ClCompile Include="Common\Crypto\bn.cpp" /> <ClCompile Include="Common\Crypto\bn.cpp" />
<ClCompile Include="Common\Crypto\ec.cpp" /> <ClCompile Include="Common\Crypto\ec.cpp" />
<ClCompile Include="Common\Crypto\SHA1.cpp" /> <ClCompile Include="Common\Crypto\SHA1.cpp" />
<ClCompile Include="Common\Debug\CodeTrace.cpp" />
<ClCompile Include="Common\Debug\MemoryPatches.cpp" /> <ClCompile Include="Common\Debug\MemoryPatches.cpp" />
<ClCompile Include="Common\Debug\Watches.cpp" /> <ClCompile Include="Common\Debug\Watches.cpp" />
<ClCompile Include="Common\DynamicLibrary.cpp" /> <ClCompile Include="Common\DynamicLibrary.cpp" />
@ -825,6 +824,7 @@
<ClCompile Include="Core\ConfigManager.cpp" /> <ClCompile Include="Core\ConfigManager.cpp" />
<ClCompile Include="Core\Core.cpp" /> <ClCompile Include="Core\Core.cpp" />
<ClCompile Include="Core\CoreTiming.cpp" /> <ClCompile Include="Core\CoreTiming.cpp" />
<ClCompile Include="Core\Debugger\CodeTrace.cpp" />
<ClCompile Include="Core\Debugger\Debugger_SymbolMap.cpp" /> <ClCompile Include="Core\Debugger\Debugger_SymbolMap.cpp" />
<ClCompile Include="Core\Debugger\Dump.cpp" /> <ClCompile Include="Core\Debugger\Dump.cpp" />
<ClCompile Include="Core\Debugger\OSThread.cpp" /> <ClCompile Include="Core\Debugger\OSThread.cpp" />

View File

@ -24,10 +24,10 @@
#include <QWheelEvent> #include <QWheelEvent>
#include "Common/Assert.h" #include "Common/Assert.h"
#include "Common/Debug/CodeTrace.h"
#include "Common/GekkoDisassembler.h" #include "Common/GekkoDisassembler.h"
#include "Common/StringUtil.h" #include "Common/StringUtil.h"
#include "Core/Core.h" #include "Core/Core.h"
#include "Core/Debugger/CodeTrace.h"
#include "Core/Debugger/PPCDebugInterface.h" #include "Core/Debugger/PPCDebugInterface.h"
#include "Core/PowerPC/MMU.h" #include "Core/PowerPC/MMU.h"
#include "Core/PowerPC/PPCAnalyst.h" #include "Core/PowerPC/PPCAnalyst.h"

View File

@ -8,7 +8,7 @@
#include <QTableWidget> #include <QTableWidget>
#include "Common/CommonTypes.h" #include "Common/CommonTypes.h"
#include "Common/Debug/CodeTrace.h" #include "Core/Debugger/CodeTrace.h"
class QKeyEvent; class QKeyEvent;
class QMouseEvent; class QMouseEvent;

View File

@ -12,8 +12,8 @@
#include <QTableWidget> #include <QTableWidget>
#include <QVBoxLayout> #include <QVBoxLayout>
#include "Common/Debug/CodeTrace.h"
#include "Core/Core.h" #include "Core/Core.h"
#include "Core/Debugger/CodeTrace.h"
#include "Core/HW/ProcessorInterface.h" #include "Core/HW/ProcessorInterface.h"
#include "Core/PowerPC/PowerPC.h" #include "Core/PowerPC/PowerPC.h"
#include "Core/System.h" #include "Core/System.h"