JIT: Let DiskCache patch ValidateCode guest CRC

So we can cache blocks with FullSMCTracking finally.
This commit is contained in:
Pierre-Loup A. Griffais committed 2026-09-14 21:51:59 -07:00
1 parent 82510eb452
commit 5efc3212d2
11 files changed
+68 -30

No files matched your search

+2 -1
View File
@@ -986,7 +986,8 @@ namespace DiskCache {
}
case CPU::RelocationTypes::RELOC_GUEST_PATCHABLE_DATA_MOVE:
case CPU::RelocationTypes::RELOC_GUEST_PATCHABLE_RIP_MOVE:
case CPU::RelocationTypes::RELOC_GUEST_PATCHABLE_RIP_LITERAL: {
case CPU::RelocationTypes::RELOC_GUEST_PATCHABLE_RIP_LITERAL:
case CPU::RelocationTypes::RELOC_GUEST_PATCHABLE_CRC_MOVE: {
// same data for all, relative vs. not and register vs. literal will depend on type on apply
BlobSmallRelocation SmallReloc = {};
SmallReloc.Offset = Reloc.Header.Offset;