From 6ce1be08803d2efed574241fca2d4e3789862e13 Mon Sep 17 00:00:00 2001 From: Ryan Houdek Date: Sat, 7 May 2022 23:43:14 -0700 Subject: [PATCH] InternalThreadState: Adds Relocations pointer to DebugData This will be used soon to pass relocation data to the JIT object cache. --- External/FEXCore/include/FEXCore/Debug/InternalThreadState.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/External/FEXCore/include/FEXCore/Debug/InternalThreadState.h b/External/FEXCore/include/FEXCore/Debug/InternalThreadState.h index c1fb31330..736d1cf6c 100644 --- a/External/FEXCore/include/FEXCore/Debug/InternalThreadState.h +++ b/External/FEXCore/include/FEXCore/Debug/InternalThreadState.h @@ -19,6 +19,10 @@ namespace FEXCore::Context { struct Context; } +namespace FEXCore::CPU { + union Relocation; +} + namespace FEXCore::Frontend { class Decoder; } @@ -48,6 +52,7 @@ namespace FEXCore::Core { struct DebugData { uint64_t HostCodeSize; ///< The size of the code generated in the host JIT std::vector Subblocks; + std::vector *Relocations; }; enum class SignalEvent {