[all-commits] [llvm/llvm-project] 96e7fc: [orc-rt] Rename "ResourceManager" to "Service". NF...
Lang Hames via All-commits
all-commits at lists.llvm.org
Sat Mar 14 20:38:10 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 96e7fc2c9a4f6e82482ce928f85712a30a94442b
https://github.com/llvm/llvm-project/commit/96e7fc2c9a4f6e82482ce928f85712a30a94442b
Author: Lang Hames <lhames at gmail.com>
Date: 2026-03-15 (Sun, 15 Mar 2026)
Changed paths:
M orc-rt/docs/Design.md
M orc-rt/include/CMakeLists.txt
R orc-rt/include/orc-rt/ResourceManager.h
A orc-rt/include/orc-rt/Service.h
M orc-rt/include/orc-rt/Session.h
M orc-rt/include/orc-rt/SimpleNativeMemoryMap.h
M orc-rt/lib/executor/CMakeLists.txt
R orc-rt/lib/executor/ResourceManager.cpp
A orc-rt/lib/executor/Service.cpp
M orc-rt/lib/executor/Session.cpp
M orc-rt/lib/executor/SimpleNativeMemoryMap.cpp
M orc-rt/unittests/SessionTest.cpp
Log Message:
-----------
[orc-rt] Rename "ResourceManager" to "Service". NFCI. (#186639)
The name "Service" better reflects the general purpose of this class: It
provides *something* (often resource management) to the Session, is
owned by the Session, and receives notifications from the Session when
the controller detaches / is detached, and when the Session is shut
down.
An example of a non-resource-managing Service (to be added in an
upcoming patch) is a detach / shutdown notification service: Clients can
add this service to register arbitrary callbacks to be run on detach /
shutdown. The advantage of this over the current Session detach /
shutdown callback system is that clients can control both the order of
the callbacks, and their order relative to notification of other
services.
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