Core: Do named region async code object cache usage

This commit is contained in:
Ryan Houdek committed 2022-05-14 18:02:43 -07:00
1 parent 13f3c6e75a
commit c3ac72a01e
1 file changed
+8
+8
View File
@@ -1180,6 +1180,10 @@ namespace FEXCore::Context {
if (DebugServer) {
DebugServer->AlertLibrariesChanged();
}
if (CodeObjectCacheService) {
CodeObjectCacheService->AsyncAddNamedRegionJob(Base, Size, Offset, filename);
}
}
void Context::RemoveNamedRegion(uintptr_t Base, uintptr_t Size) {
@@ -1187,6 +1191,10 @@ namespace FEXCore::Context {
if (DebugServer) {
DebugServer->AlertLibrariesChanged();
}
if (CodeObjectCacheService) {
CodeObjectCacheService->AsyncRemoveNamedRegionJob(Base, Size);
}
}
void ConfigureAOTGen(FEXCore::Core::InternalThreadState *Thread, std::set<uint64_t> *ExternalBranches, uint64_t SectionMaxAddress) {