[all-commits] [llvm/llvm-project] deef49: [orc-rt] Add ResourceManager interface.
Lang Hames via All-commits
all-commits at lists.llvm.org
Wed Oct 8 17:59:07 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: deef49e4728030e393e301a6b970b0f2681b503b
https://github.com/llvm/llvm-project/commit/deef49e4728030e393e301a6b970b0f2681b503b
Author: Lang Hames <lhames at gmail.com>
Date: 2025-10-09 (Thu, 09 Oct 2025)
Changed paths:
M orc-rt/include/CMakeLists.txt
A orc-rt/include/orc-rt/ResourceManager.h
M orc-rt/lib/executor/CMakeLists.txt
A orc-rt/lib/executor/ResourceManager.cpp
Log Message:
-----------
[orc-rt] Add ResourceManager interface.
The ResourceManager interface can be used to implement ownership for resources
allocated to JIT'd code, e.g. memory and metadata registrations (frame info,
language runtime metadata, etc.).
Resources can be *deallocated*, meaning that they should be cleaned up (memory
released, registrations deregistered, etc.), or they can be *detached*, meaning
that cleanup should be performed automatically when the ResourceManager itself
is destroyed.
The intent is to allow JIT'd code to continue running after the
llvm::orc::ExecutionSession that produced it is disconnected / destroyed.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list