[all-commits] [llvm/llvm-project] 2638fa: [ORC] Add cloneToContext: Clone Module to a given ...

Lang Hames via All-commits all-commits at lists.llvm.org
Thu Jul 3 05:05:03 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2638fa1be63c33407b779e959027e6dbeec6cb4f
      https://github.com/llvm/llvm-project/commit/2638fa1be63c33407b779e959027e6dbeec6cb4f
  Author: Lang Hames <lhames at gmail.com>
  Date:   2025-07-03 (Thu, 03 Jul 2025)

  Changed paths:
    M llvm/include/llvm/ExecutionEngine/Orc/ThreadSafeModule.h
    M llvm/lib/ExecutionEngine/Orc/ThreadSafeModule.cpp
    M llvm/unittests/ExecutionEngine/Orc/ThreadSafeModuleTest.cpp

  Log Message:
  -----------
  [ORC] Add cloneToContext: Clone Module to a given ThreadSafeContext (#146852)

This is a generalization of the existing cloneToNewContext operation:
rather than cloning the given module into a new ThreadSafeContext it
clones it into any given ThreadSafeContext. The given ThreadSafeContext
is locked to ensure that the cloning operation is safe.



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