[all-commits] [llvm/llvm-project] 0bf85d: [ORC] Add ThreadSafeModule::takingModuleDo for con...

lhames via All-commits all-commits at lists.llvm.org
Mon Jan 2 17:38:49 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0bf85d7d8129339ac66ac8d94a7a4d636508fe1a
      https://github.com/llvm/llvm-project/commit/0bf85d7d8129339ac66ac8d94a7a4d636508fe1a
  Author: Lang Hames <lhames at gmail.com>
  Date:   2023-01-02 (Mon, 02 Jan 2023)

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

  Log Message:
  -----------
  [ORC] Add ThreadSafeModule::takingModuleDo for consuming operations on TSMs.

ThreadSafeModule::takingModuleDo passes ownership of the contained llvm::Module
into the callback, allowing ThreadSafeModules to be used with consuming
operations like Linker::link.




More information about the All-commits mailing list