[all-commits] [llvm/llvm-project] 6e5c97: [orc-rt] Hoist run-alloc-actions functions, add er...

Lang Hames via All-commits all-commits at lists.llvm.org
Mon Jul 13 20:16:01 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6e5c97d417d1ec16c095aba6630995406dde1d87
      https://github.com/llvm/llvm-project/commit/6e5c97d417d1ec16c095aba6630995406dde1d87
  Author: Lang Hames <lhames at gmail.com>
  Date:   2026-07-14 (Tue, 14 Jul 2026)

  Changed paths:
    M orc-rt/include/orc-rt/AllocAction.h
    R orc-rt/lib/executor/AllocAction.cpp
    M orc-rt/lib/executor/CMakeLists.txt
    M orc-rt/lib/executor/SimpleNativeMemoryMap.cpp
    M orc-rt/test/unit/AllocActionTest.cpp
    M orc-rt/test/unit/CommonTestUtils.h

  Log Message:
  -----------
  [orc-rt] Hoist run-alloc-actions functions, add error reporting. (#209356)

Hoist runFinalizeActions and runDeallocActions into AllocAction.h and
turn them into function templates with a ReportErrorFn argument that
enables error reporting. This is used to report errors from dealloc
actions.

Update SimpleNativeMemoryMap to direct such errors to the Session via
ReportErrorsViaSession.

Add unit tests covering the new error-reporting paths.



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