[all-commits] [llvm/llvm-project] f710b0: [ORC] Fail early in ExecutionSession::registerJITD...

Lang Hames via All-commits all-commits at lists.llvm.org
Wed Nov 27 20:32:22 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f710b042336d93fd1080124d3ec889702b77a730
      https://github.com/llvm/llvm-project/commit/f710b042336d93fd1080124d3ec889702b77a730
  Author: Lang Hames <lhames at gmail.com>
  Date:   2024-11-28 (Thu, 28 Nov 2024)

  Changed paths:
    M llvm/lib/ExecutionEngine/Orc/Core.cpp

  Log Message:
  -----------
  [ORC] Fail early in ExecutionSession::registerJITDispatchHandlers.

Check that we're not reusing any handler tag addresses before installing any
handlers. This ensures that either all of the handlers are installed*, or none
of them are, simplifying error recovery.

* Ignoring handlers whose tags couldn't be resolved at all: these were never
installed.



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