[all-commits] [llvm/llvm-project] 1f112d: [JITLink] Notify memory managers on JITLinkDylib d...

Lang Hames via All-commits all-commits at lists.llvm.org
Sat Aug 8 20:41:29 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1f112d62e1fa2c4f1a04887abd72da1ed61cf791
      https://github.com/llvm/llvm-project/commit/1f112d62e1fa2c4f1a04887abd72da1ed61cf791
  Author: Lang Hames <lhames at gmail.com>
  Date:   2026-08-09 (Sun, 09 Aug 2026)

  Changed paths:
    M llvm/include/llvm/ExecutionEngine/JITLink/JITLinkDylib.h
    M llvm/include/llvm/ExecutionEngine/JITLink/JITLinkMemoryManager.h
    M llvm/lib/ExecutionEngine/JITLink/CMakeLists.txt
    A llvm/lib/ExecutionEngine/JITLink/JITLinkDylib.cpp
    M llvm/unittests/ExecutionEngine/JITLink/CMakeLists.txt
    A llvm/unittests/ExecutionEngine/JITLink/JITLinkDylibTest.cpp

  Log Message:
  -----------
  [JITLink] Notify memory managers on JITLinkDylib destruction (#214739)

Add JITLinkDylib::notifyOnDestruction so a JITLinkMemoryManager can
register to be told when a JITLinkDylib it served is being torn down,
giving it a chance to release resources held on the dylib's behalf (e.g.
reserved address ranges). Notification may be handled asynchronously:
once notifyDestroying is called, the JITLinkDylib is guaranteed not to
make further use of those resources.



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